Click to See Complete Forum and Search --> : [RESOLVED] Stop activeX running in Internet Explorer
Ov3rload
Oct 12th, 2009, 03:16 AM
Hi
I have tried to make an activeX control from a book tutorial and a web tutorial, but every time I try to run a program (.EXE) with the control in it, it opens in Internet Explorer ???
Does anyone know what I'm doing wrong or how I can stop this ? :confused:
LaVolpe
Oct 12th, 2009, 01:49 PM
Welcome to the forums.
Hmmm, so when the control is not compiled and added to a project in design view, when you run the project from VB does this occur too?
What does the control do? What other controls did you add to that usercontrol? More details would be very helpful.
Ov3rload
Oct 12th, 2009, 02:23 PM
Yes, I think so
If this helps here is the web tutorial I used - http://www.developer.com/net/vb/article.php/10926_1539541_1/ActiveX-Control-Tutorial---Part-1.htm. I followed it word for word.
Thanks for replying.
LaVolpe
Oct 12th, 2009, 02:54 PM
Sorry that doesn't help me. You may not want to share your project, but if you don't mind, can you at least post your .ctl file?
And describe exactly when IE pops up... Does it show simply by running your app or do you have to do something in your app before it shows up. If you do have to do something, post what that "something" is.
techgnome
Oct 12th, 2009, 03:42 PM
if the activex control is part of another project, check your start up object property (PRoject menu, properties) ... odds are the activex control is set as the start up object. It realyl should be the form of the project. ... if it's part of a project group, then you need to right click the project you want to start up as the main app, and select the "Set As Default Project" ....
-tg
Ov3rload
Oct 12th, 2009, 10:02 PM
Thanks techgnome! I tryed your "Set As Default Project" idea and that fixed it!
Also thanks LaVolpe for helping. :)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.