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
  1. Home
  2. General Programming
  3. C#
  4. How to import ActiveX control in the form? [modified]

How to import ActiveX control in the form? [modified]

Scheduled Pinned Locked Moved C#
csharpcomhelpvisual-studiotutorial
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
    uresh hanmugam
    wrote on last edited by
    #1

    Hi all, I'm developing a document processing project using microsoft office document imaging 11.0(MODI) library for OCR in C#. MODI have an activeX control that is microsoft office document imaging viewer control. If we have to install the MS office 2003,we can use MODI and their activeX control as references from the COM component dialog. The adove all are working fine in my project,which is converted from visual studio 2003 to visual studio 2005.But,when i create a new project in visual studio 2005, and try to add the MODI viewer control in the form,it will thrown the error like "Failed to import the activeX control.Please ensure it is properly registered". I dont know what i did wrong. Now I'm using visual studio 2005. So, please anyone help me regarding to this. Thanks in advance. -- modified at 3:30 Wednesday 20th June, 2007

    M 1 Reply Last reply
    0
    • U uresh hanmugam

      Hi all, I'm developing a document processing project using microsoft office document imaging 11.0(MODI) library for OCR in C#. MODI have an activeX control that is microsoft office document imaging viewer control. If we have to install the MS office 2003,we can use MODI and their activeX control as references from the COM component dialog. The adove all are working fine in my project,which is converted from visual studio 2003 to visual studio 2005.But,when i create a new project in visual studio 2005, and try to add the MODI viewer control in the form,it will thrown the error like "Failed to import the activeX control.Please ensure it is properly registered". I dont know what i did wrong. Now I'm using visual studio 2005. So, please anyone help me regarding to this. Thanks in advance. -- modified at 3:30 Wednesday 20th June, 2007

      M Offline
      M Offline
      Mali Perica
      wrote on last edited by
      #2

      Have you tried the following: 1) Register ActiveX control with "regsvr32 name_of_activex_file.dll" from Command Prompt (without quotes, of course). 2) Remove all references from your project that are pointing to mentioned ActiveX control. 3) Choose Add reference, select COM tab page, and find and add MODI control from the list.

      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