The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2003, 01:20 PM
tdn tdn is offline
Guest
 
Join Date: Feb 2000
Programming question: ActiveX documents

This question may go unanswered, as it seems that very few programmers do this, but...

According to this site, I should be able to create an ActiveX document in VB, run it, then open the resultant .VBD file in a browser. When I try, I keep getting a dialog box that asks me if I want to download the file. I say yes. Then nothing happens. How come?

At the end of the article it says

Quote:
Problem 4:

A dialog box with the following messages appear in Internet Explorer:

Opening file <ActiveX Document>.VBD

What would you like to do with this file?

Open it or Save it to disk.


Resolution 4:

This error occurs because the Visual Basic 5.0 Run-time Library (MSVBVM50.DLL) is not installed. This will most likely occur if the Internet Explorer safety level is set to High. Set the Internet Explorer safety level to Medium or None.
Tried it. Didn't help. On my PC I can open other VBD files I see on the web. But my own won't open on my PC, another PC, or a Mac.

Anyone else ever have this problem? Should I just post this to the Pit instead?
Reply With Quote
Advertisements  
  #2  
Old 05-07-2003, 01:28 PM
UrbanChic UrbanChic is offline
Guest
 
Join Date: Nov 2000
What browser are you using? To what is your security level set?
Reply With Quote
  #3  
Old 05-07-2003, 01:30 PM
UrbanChic UrbanChic is offline
Guest
 
Join Date: Nov 2000
Whoops, I hit submit too soon!

What are you ActiveX options set to in Security?
Reply With Quote
  #4  
Old 05-07-2003, 01:34 PM
tdn tdn is offline
Guest
 
Join Date: Feb 2000
Re: Whoops, I hit submit too soon!

Quote:
Originally posted by JuanitaTech
What are you ActiveX options set to in Security?
I set everything to the least secure and most ActiveX friendly settings possible. I don't think this is the issue, as I can open ActiveX components that were created by others.

My browser is IE 5.5.
Reply With Quote
  #5  
Old 05-07-2003, 01:44 PM
UrbanChic UrbanChic is offline
Guest
 
Join Date: Nov 2000
Can anyone else open your .vbd files? Can you try opening one on another machine? If you're able to open one on another machine, you can at least determine the problem's machine specific.
Reply With Quote
  #6  
Old 05-07-2003, 01:54 PM
tdn tdn is offline
Guest
 
Join Date: Feb 2000
Quote:
Originally posted by JuanitaTech
Can anyone else open your .vbd files? Can you try opening one on another machine? If you're able to open one on another machine, you can at least determine the problem's machine specific.
No. Like I said in the OP, I tried it on a couple of PCs and a Mac. (This was after doing the package deployment stuff.) So I think it must have something to do with the construction of the file itself. To answer your next question, yes, I uninstalled and reinstalled VB, making sure that all components installed correctly.
Reply With Quote
  #7  
Old 05-07-2003, 02:17 PM
UrbanChic UrbanChic is offline
Guest
 
Join Date: Nov 2000
Sorry, tdn, I see I missed the 'on another pc' part.

Hey, no fair answering my next question!!!

Do you, in IE, get a message in the status bar after it 'downloads'?

Isn't there a log created to tell you what failed and why? Lemme check...

Here, view this article.
Reply With Quote
  #8  
Old 05-07-2003, 04:07 PM
tdn tdn is offline
Guest
 
Join Date: Feb 2000
Quote:
Originally posted by JuanitaTech
Do you, in IE, get a message in the status bar after it 'downloads'?

Isn't there a log created to tell you what failed and why? Lemme check...

Here, view this article.
Great link, thanks! I bookmarked that page.

But it did me no good -- nothing was logged, and no IE message. I'm sure this means something fairly significant, but I have no idea what that would be. Hrmmm...
Reply With Quote
  #9  
Old 05-08-2003, 09:11 AM
UrbanChic UrbanChic is offline
Guest
 
Join Date: Nov 2000
Have you made any headway with this, tdn? Maybe some other programmers can chime in this morning...
Reply With Quote
  #10  
Old 05-08-2003, 11:22 AM
tdn tdn is offline
Guest
 
Join Date: Feb 2000
Quote:
Originally posted by JuanitaTech
Have you made any headway with this, tdn? Maybe some other programmers can chime in this morning...
Thanks for the thought and the bump.

No, no luck yet.
Reply With Quote
  #11  
Old 05-08-2003, 01:12 PM
Nanoda Nanoda is offline
Charter Member
 
Join Date: Apr 2002
Location: Edmonton
Posts: 3,668
I'm another programmer, but all I can say is that following the instructions didn't work for me either. OTOH, I'm ok, but not a real expert in VB, and my knowledge of ActiveX specifically doesn't extend much beyond "Don't run the damned things!".

The failure mode was almost exactly what tdn described. It wants to download it, I click on "open from this page", but it downloads, then opens in Visual Studio.

I wasn't able to get my "security settings" to stay at low, but they were on Medium, which should have worked anyways. I'll see about creating some simple html container, but I doubt it will work.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.