Results 1 to 4 of 4

Thread: Registering OCX files

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Halifax, NS Canada
    Posts
    30

    Post

    While installing a VB program I get the error message:

    "Cannot load or register CRYSTL32.OCX"

    At the end of the installation I get the message:

    "Setup was completed successfully"

    HOWEVER

    When accessing the program, I get the error message:

    "Error # 31037"
    "Error Loading From File"

    I have tried registering the OCX file using the Regsvr32 command from the Start/Run option but that does not correct the problem

    Can anyone help me please???????



  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Posts
    239

    Post

    Did you make the setup program and are trying to transfer to another machine? If so
    did you add the file to the setup list. If you received this program from another source
    check to see if the ocx is listed in the setup list, it should be, next check the version number against the ocx on the machine you are trying to transfer to against the version listed in the VB IDE, use explorer to get the files date.
    Finally try unregistering the ocx and then re-registering it.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Halifax, NS Canada
    Posts
    30

    Post

    Thank you John.......however

    I did create setup files and the OCX files are there. I have tried to replace them with other versions and it still does not work. I even upgraded to a newer version of Regxvr32.
    I can't even uninstall and reinstall it. The command I am using to uninstall is:

    Regxvr32 C:\Windows\System\crystl32.ocx /u

    Is this the correct syntax?




    ------------------

  4. #4
    Junior Member
    Join Date
    Jun 1999
    Location
    Papillion, NE, USA
    Posts
    21

    Post

    Try the following:

    Search for copies of Crystl32.OCA on the target system's drive. Delete any found and then retry registering the OCX.

    ------------------------

    If this fails then Install DCOM onto the target machine and retry the install.

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