CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 1999
    Posts
    3

    Registering OCX controls

    When creating a VB app using any control, such as Sheridan combobox, how do create an exe and have it run on another computer. I know you can package and create an install, but how to just compile and create an exe, then copy and place the controls .OCX in the destination PC's windows\system folder. When running the app, it tells me that some of the controls .OCX are not properly registered. How to do that 'registering', I thought it happened automaticaly.
    Any help is welcome,
    Thanks,

    Patrick



  2. #2
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: Registering OCX controls

    You can either register the controls by creating an install program (preferred) or by running regsvr32 on the control.


  3. #3
    Join Date
    Nov 1999
    Posts
    3

    Re: Registering OCX controls

    Just to get a better grip on what I'm doing, I would like to understand and be able to do it without the VB setup method.

    I have tried to register the control's OCX file using the following method :
    REGSRV32 SSDW3BO.OCX
    I keep receiving the following error msg :
    Load library("C:\Windows\System\SSDW3BO.OCX") failed.
    GetLastError returns : 0x0000001f.

    I think that according the Sheridan documents, I have copied all needed files, but I can be wrong.

    Thanks for help,

    Patrick


  4. #4
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: Registering OCX controls

    It might have something to do with licensing of the control.


  5. #5
    Guest

    Re: Registering OCX controls

    I have the same problem with another OCX, infact I receive the same message.
    The SETUP create an unistall file in the same directory of the application. See it!
    I think that the problem is in S.O. W95. Infact, I have installed my applicatiI on on a PC with a Winndows95 FAT16, while the control used for my application is for a FAT32. I don't know if is this the real problem, but i reinstall Windows for FAT32. Tell me about at [email protected]
    Felice


  6. #6
    Guest

    Re: Registering OCX controls

    I have the same problem with another OCX, infact I receive the same message.
    The SETUP create an unistall file in the same directory of the application. See it!
    I think that the problem is in S.O. W95. Infact, I have installed my applicatiI on a PC with a Winndows95 FAT16, while the control used for my application is for a FAT32. I don't know if is this the real problem, but I reinstall Windows for FAT32. Tell me about at [email protected]
    Felice


  7. #7
    Join Date
    May 2000
    Posts
    14

    Re: Registering OCX controls

    u ppl are not specifying the right path where the dll or ocx file lies


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