Registering ocx files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vdraceil
    New Member
    • Jul 2007
    • 236

    Registering ocx files

    I'm using an up-down control in my project..I've created an exe of it,placed the necessary ocx in its app.path.The exe runs fine in Windows XP,but Win Vista produces an error "OCX not registered properly"..
    How do i register an ocx file properly?
  • EYE4U
    Banned
    New Member
    • Oct 2008
    • 76

    #2
    Just copy and paste your OCX file in system32 folder.
    I have tried one more thing that if the ocx file is placed in app directory along .vbp file vb6 automatically register the ocx.

    And if you want to register ocx programatically u need some code... Do you?

    Regards
    ARUZ

    Comment

    • vdraceil
      New Member
      • Jul 2007
      • 236

      #3
      VB6 automatically registers the ocx in Win Xp and not in Win Vista.
      I tried pasting it in system folder of Win Vista,but still i get 'OCX not registered properly'.

      Comment

      • EYE4U
        Banned
        New Member
        • Oct 2008
        • 76

        #4
        Do you want some example vb code by which you can register your ocxs?

        Comment

        • vdraceil
          New Member
          • Jul 2007
          • 236

          #5
          thanks..i think that might help..

          Comment

          Working...