Click to See Complete Forum and Search --> : Registering OCX files
DavidRidgway
Dec 6th, 1999, 02:06 AM
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???????
johnpc
Dec 6th, 1999, 02:40 AM
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.
DavidRidgway
Dec 6th, 1999, 02:57 AM
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?
------------------
jim
Dec 6th, 1999, 03:08 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.