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. .OCX file, activeX control question

.OCX file, activeX control question

Scheduled Pinned Locked Moved C / C++ / MFC
csscomtutorialquestion
5 Posts 4 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. Thank you very much! Sincerely, Anjum Gupta.

    C L S A 4 Replies 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. Thank you very much! Sincerely, Anjum Gupta.

      C Offline
      C Offline
      Carlos Antollini
      wrote on last edited by
      #2

      Use the Depened app, that is in your VS instalation... That app will help you with the librarys that you need for install your application.... Only you need to check if you have all the librarys, and the correct versions.... Best Reagards... Carlos Antollini. Sonork ID 100.10529 cantollini

      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. Thank you very much! Sincerely, Anjum Gupta.

        L Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #3

        ummmmm i think carlos means depends.exe


        "... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away"
        sonork: 100.18128   8028finder.com

        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. Thank you very much! Sincerely, Anjum Gupta.

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

          There are two issues.. 1)If u just want ur Exe to run in other computers then its just enought if u register ur OCX file in the corresponding system.U can do it by Regsvr32.exe .But this is manual thing and u have to always do it by copying that OCX file and registering it. 2)The most elgant way of doing is to include this file (OCX) in the installion or setup file and u can run the setup.. If u face further problem do ask..... cheers, Super ------------------------------------------ Too much of good is bad,mix some evil in it

          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. Thank you very much! Sincerely, Anjum Gupta.

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

            Hello, Thanks for all the useful responses. I had one more question about .OCX files. You mentioned that I could update the registry manually .. or include it in the setup 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! Anjum.

            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