CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    How To Regster an existing OCX file?

    Thanks in advance....

    Lev


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: How To Regster an existing OCX file?

    OCX's can be registered using regsvr32.exe (which is located in the windows\system directory (or system32 on WIN98+ or NT)
    Syntax is (typed in a dos box)
    regsvr32 myocx.ocx

    If all goes well, you should get a message something like:
    Dll registration successfull

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    Re: How To Regster an existing OCX file?

    Ok...
    But is there anyway to do it with InstallShiled, could it be that you have worked with it and know how to do it?
    I know there is an option there to register self-registering dll's. are all dll's and ocx's are self registered??

    Lev



  4. #4
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: How To Regster an existing OCX file?

    Haven't worked with InstallShield, but I would think that it should do it for you, I know Package and Deployment wizard does. Try consulting the help files of InstallShield, or visit their website. I'm sure this is a very common problem.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured