Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ActiveX/COM registration problem.

ActiveX/COM registration problem.

Scheduled Pinned Locked Moved C / C++ / MFC
comhelphtmlsecurityannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 2371
    wrote on last edited by
    #1

    Hi, I had make a CAB file which contains two files NYPDesk.dll (a deskband working perfect) nyp.inf my nyp.inf contains: ===========x============ [Version] ; This section is required for compatibility on both Windows 95 and Windows NT. Signature="$CHICAGO$" AdvancedInf=2.0 [Setup Hooks] hook1=hook1 [hook1] ; run=%EXTRACT_DIR%\setup.exe --activex run=c:\windows\system\regsvr32 %EXTRACT_DIR%\myBands.dll ==========x============= I had used tag in the html page. Look like below Problem: After opening the html, IE5 displays the error message "Your current security setting prohibit running ActiveX controls on this page As a result, the page may not display correctly" I had enabled all the ActiveX contorl in the Options. but the problem still exist Actually, This is my first experience to install the components via IE. Please provide some good solutions. TIA Regards, SaRose

    A 1 Reply Last reply
    0
    • U User 2371

      Hi, I had make a CAB file which contains two files NYPDesk.dll (a deskband working perfect) nyp.inf my nyp.inf contains: ===========x============ [Version] ; This section is required for compatibility on both Windows 95 and Windows NT. Signature="$CHICAGO$" AdvancedInf=2.0 [Setup Hooks] hook1=hook1 [hook1] ; run=%EXTRACT_DIR%\setup.exe --activex run=c:\windows\system\regsvr32 %EXTRACT_DIR%\myBands.dll ==========x============= I had used tag in the html page. Look like below Problem: After opening the html, IE5 displays the error message "Your current security setting prohibit running ActiveX controls on this page As a result, the page may not display correctly" I had enabled all the ActiveX contorl in the Options. but the problem still exist Actually, This is my first experience to install the components via IE. Please provide some good solutions. TIA Regards, SaRose

      A Offline
      A Offline
      Alex Gorev
      wrote on last edited by
      #2

      Hi! You must make your control safe for scripting and initializing using the IObjectSafety interface. If you did not do that it can cause problems... Check the MSDN article "Internet First Steps: Upgrading an Existing ActiveX Control" for more details. Regards, Alex Gorev, Dundas Software.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups