|
-
Apr 3rd, 2005, 02:54 PM
#1
Thread Starter
Frenzied Member
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.
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
Last edited by sciguyryan; Apr 4th, 2005 at 03:40 PM.
-
Apr 3rd, 2005, 03:24 PM
#2
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.
-
Apr 3rd, 2005, 03:30 PM
#3
Thread Starter
Frenzied Member
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
-
Apr 3rd, 2005, 07:49 PM
#4
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
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Apr 4th, 2005, 03:39 PM
#5
Thread Starter
Frenzied Member
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
-
May 8th, 2008, 08:04 PM
#6
Member
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?!
-
May 12th, 2008, 01:24 PM
#7
Re: OCX Runtime Error (372) Help...
Are there diffferent versions of the same OCX on the machine?
-
May 12th, 2008, 02:30 PM
#8
Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|