ActiveX control without IE warnings

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: ActiveX control without IE warnings

  1. #1
    Join Date
    May 2005

    ActiveX control without IE warnings

    I'm sure this has probably been answered before, but I couldnt find it. I'm a "noob" with VB6, but I only need to do something seemingly simple. I just need a control to use in my web-based application.

    I've created my control, it works, BUt not without IE popping up warnings about it. I have to turn off the security stuff in IE so it wont complain about the control being used in an unsafe way. All I need to do is pass a few things to it in a <param> (a session ID, and another ID for data access). It will then retreive the data from the site using the two ID's and then write a data file.

    I have a certificate and have signed the control, so when it installs it comes up with my name and everything, but it still complains about it whenever the control is used.

    Its driving me crazy and its the one thing stopping me from going forward with my application (IE, selling it and making money)..

    Please somebody help!

  2. #2
    Join Date
    Dec 2003
    Is your control set up as "safe for scripting". I believe there are a couple of ways to do this. One is through the Package and Deployment Wizard when creating the .cab installation file (which generates registry entries on the client when installed). The other is programmatically by implementing the IObjectSafety interface:

    How To Implement IObjectSafety in Visual Basic Controls
    Microsoft MVP (Visual Basic)

  3. #3
    Join Date
    May 2005
    yeah, I checked off the two options when using the deployment wizard, didnt work.

    I'm also having trouble getting the control to work at all under windows 2000, but it works in XP, which doesnt make sense.

    I will try the IObjectSafety thing...

  4. #4
    Join Date
    May 2005
    I just wanted to confirm that the directions in the link posted above worked perfectly...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center