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. Registering an .OCX file manually and through setup program

Registering an .OCX file manually and through setup program

Scheduled Pinned Locked Moved C / C++ / MFC
c++csscomwindows-admintutorial
3 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.
  • A Offline
    A Offline
    a3gupta
    wrote on last edited by
    #1

    Hello, I am using MS Flex Grid, an ActiveX control in one of my dialog boxes in my dialog based application. The OCX file for the ActiveX control is MSFLXGRD.OCX. The program works fine on my computer but doesn't work on other computers and terminates right before it gets to the dialog box with flex grid on it. Please guide me as to how I should include the OCX file in the program so that it would work on any machine. From the earlier posts it was mentioned that I could update the registry manually .. or include it in the setup file for the .ocx file. Unfortunately I don't have much experience with win registry. Could anyone please tell me how do I register the OCX file manually in registry ... and how do I go about including it in my setup program. I am making a setup program using Installshield for VC++ 6.0. If you know I will also appreciate if you could direct me to some website where I can find info about adding OCX files into the registry manually and using the setup program and doing it automatically. Thanks! Sincerely, Anjum.

    S 1 Reply Last reply
    0
    • A a3gupta

      Hello, I am using MS Flex Grid, an ActiveX control in one of my dialog boxes in my dialog based application. The OCX file for the ActiveX control is MSFLXGRD.OCX. The program works fine on my computer but doesn't work on other computers and terminates right before it gets to the dialog box with flex grid on it. Please guide me as to how I should include the OCX file in the program so that it would work on any machine. From the earlier posts it was mentioned that I could update the registry manually .. or include it in the setup file for the .ocx file. Unfortunately I don't have much experience with win registry. Could anyone please tell me how do I register the OCX file manually in registry ... and how do I go about including it in my setup program. I am making a setup program using Installshield for VC++ 6.0. If you know I will also appreciate if you could direct me to some website where I can find info about adding OCX files into the registry manually and using the setup program and doing it automatically. Thanks! Sincerely, Anjum.

      S Offline
      S Offline
      super
      wrote on last edited by
      #2

      Ok First I ll explain how it can be done Manually. Just copy the Ocx file in the system or any directory.Then go to that directory via Command prompt.Then type the command c:>Regsvr32 MSFlxgrid.OCX Then ur ocx file will get registerd in the system...Its simple.. If ur using Visula install shield then Put this Ocx file and make them selfRegisted in option. Thats all :) cheers, Super ------------------------------------------ Too much of good is bad,mix some evil in it

      A 1 Reply Last reply
      0
      • S super

        Ok First I ll explain how it can be done Manually. Just copy the Ocx file in the system or any directory.Then go to that directory via Command prompt.Then type the command c:>Regsvr32 MSFlxgrid.OCX Then ur ocx file will get registerd in the system...Its simple.. If ur using Visula install shield then Put this Ocx file and make them selfRegisted in option. Thats all :) cheers, Super ------------------------------------------ Too much of good is bad,mix some evil in it

        A Offline
        A Offline
        a3gupta
        wrote on last edited by
        #3

        Thanks for all the wonderful responses .. This is all the information I needed!

        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