Results 1 to 6 of 6

Thread: [RESOLVED] Stop activeX running in Internet Explorer

  1. #1

    Thread Starter
    Junior Member Ov3rload's Avatar
    Join Date
    Oct 2009
    Location
    New Zealand
    Posts
    30

    Resolved [RESOLVED] Stop activeX running in Internet Explorer

    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 ?

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Stop activeX running in Internet Explorer

    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.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3

    Thread Starter
    Junior Member Ov3rload's Avatar
    Join Date
    Oct 2009
    Location
    New Zealand
    Posts
    30

    Re: Stop activeX running in Internet Explorer

    Yes, I think so
    If this helps here is the web tutorial I used -
    HTML Code:
    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.

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Stop activeX running in Internet Explorer

    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.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Stop activeX running in Internet Explorer

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6

    Thread Starter
    Junior Member Ov3rload's Avatar
    Join Date
    Oct 2009
    Location
    New Zealand
    Posts
    30

    Re: Stop activeX running in Internet Explorer

    Thanks techgnome! I tryed your "Set As Default Project" idea and that fixed it!
    Also thanks LaVolpe for helping.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width