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

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?

What browser are you using? To what is your security level set?

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.

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.

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.

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…

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.

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.