OCX Runtime Error (372) Help...
Hello all,
I have written a program and with it I have included the required OCX files (In the same directory as the EXE file) and I an getting an error saying that the application has failed to load the required OCX file.
Is there something I have to do to get these files to load, the fill message is written below.
Quote:
Failed to load control 'CommonDialog' from COMDLG32.OCX. Your version of COMDLG32.OCX may be outdated. Make sure you are using the version of the control that was supplied with this application.
Thanks for the help,
RyanJ
Re: OCX Runtime Error (372) Help...
Why don't you use an installation program? It will install all necessary files for you. You can use the Package and Deployment Wizard which is included with VB, or you could download INNO which is free.
Re: OCX Runtime Error (372) Help...
If that is nessisary then that is what I will have to do but I was hoping to make the application one that does not need to be installed.
Do you have any idea what could be wrong?
Thanks for the help,
RyanJ
Re: OCX Runtime Error (372) Help...
An OCX has to be registered in order to work. Have you used REGSVR32.exe?
http://www.vbforums.com/showthread.p...=10+easy+steps
Re: OCX Runtime Error (372) Help...
I guess the only answer I can give is OOOOPs!
It seems that I did infact forget to register the OCX's for use - hard to believe such a simple mistake could cause such a problem.
Thanks for the help,
RyanJ
Re: OCX Runtime Error (372) Help...
Im having the same problem. I had my friend register the ocx, and its still telling him its outdated. And its an ocx I made?!
Re: OCX Runtime Error (372) Help...
Are there diffferent versions of the same OCX on the machine?
Re: OCX Runtime Error (372) Help...
I just found out how to fix it. I got this .exe from a friend called libfiles.exe or something. And they run it on their machine and then the program works fine. I'm not sure what exactly it does.