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. Windows API
  4. Problem With ActiveX Control

Problem With ActiveX Control

Scheduled Pinned Locked Moved Windows API
comhelpc++dotnetvisual-studio
2 Posts 2 Posters 2 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.
  • A Offline
    A Offline
    Adeel688
    wrote on last edited by
    #1

    I have created an MFC ActiveX Control through the wizard. In the 2nd Step of the wizard I have enabled the checkbox saying “Available in Insert Object Dialog”, so that I can use my control in Microsoft Office Application like MS Word, Excel, PowerPoint etc using Insert Objects. I am using property sheet to change the text contents of my control. For that I followed the steps mentioned the MSDN Example CIRC. http://msdn2.microsoft.com/en-us/library/c6hzbzz6(VS.80).aspx My control features the following characteristics. • Changing the painting behavior of an ActiveX control • Adding stock properties • Adding custom properties • Responding to mouse events • Adding custom events • Using text and fonts • Implementing ActiveX control property pages • Using simple data binding for control properties But at present I am stuck up problems. 1. Using property sheet I can update the text contents in ActiveX test container. But it doesn’t get updated in Word, and other Office Applications. In fact its not even recognizing any of the event fired by the user (like changing the color on mouse click, key press etc) in any of the office application. 2. I am using this control for assigning digital signatures to a document. For that I am using X509 libraries. But these libraries use Common Language Runtime (/CLR) Support. And if I enable CLR from the project settings, the control crashes while loading on the Office application, ultimately crashing the entire document.

    V 1 Reply Last reply
    0
    • A Adeel688

      I have created an MFC ActiveX Control through the wizard. In the 2nd Step of the wizard I have enabled the checkbox saying “Available in Insert Object Dialog”, so that I can use my control in Microsoft Office Application like MS Word, Excel, PowerPoint etc using Insert Objects. I am using property sheet to change the text contents of my control. For that I followed the steps mentioned the MSDN Example CIRC. http://msdn2.microsoft.com/en-us/library/c6hzbzz6(VS.80).aspx My control features the following characteristics. • Changing the painting behavior of an ActiveX control • Adding stock properties • Adding custom properties • Responding to mouse events • Adding custom events • Using text and fonts • Implementing ActiveX control property pages • Using simple data binding for control properties But at present I am stuck up problems. 1. Using property sheet I can update the text contents in ActiveX test container. But it doesn’t get updated in Word, and other Office Applications. In fact its not even recognizing any of the event fired by the user (like changing the color on mouse click, key press etc) in any of the office application. 2. I am using this control for assigning digital signatures to a document. For that I am using X509 libraries. But these libraries use Common Language Runtime (/CLR) Support. And if I enable CLR from the project settings, the control crashes while loading on the Office application, ultimately crashing the entire document.

      V Offline
      V Offline
      Vega02
      wrote on last edited by
      #2

      This is the Windows Vista forum. If you route your question to the appropriate forum, you're much more likely to get a response. :)

      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