My bad,
Regsvr32 C:\windows\system32\cmdlg3
Main Topics
Browse All TopicsRun-time error ‘339’:
Component ‘cmdlg32.ocx’ or one of its dependencies not correctly registered: a file is missing or invalid
While back, I developed an application in VB 6.0.
Now, trying it in a new laptop, I get this error. Upon clicking OK, it exits the application.
A detailed instruction to remedy this problem is appreciated.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi, You need to download the VB6 Runtime files, this should fix the problem
http://support.microsoft.c
Download comdlg32.ocx from here:
http://www.ascentive.com/s
The file is called COMDLG32.OCX not cmdlg32
Then copy that file to your windows directory
Then execute this:
Regsvr32 COMDLG32.OCX
Also if you want to be sure it will work make another copy of file and call it CMDLG32.ocx as you said and execute Regsvr32 for that too
at http://support.microsoft.c
MORE INFORMATION
The following file is available for download from the Microsoft Download Center:
Download the VBRun60.exe package now. (http://download.microsoft
Release Date: September 18, 2000
Didn't do it. I still get the same error...
Also, at http://www.ascentive.com/s
"Please use the following URL to download a 5.66 MB (5,935,720 bytes) Ascentive Library Installer.
http://www.ascentive.com/s
Right click on the above link and select "Save target as..."
Didn't work. I may be rushing a bit and making some sort of mistake. This is because I have to attend something urgent.
I apologize for it. I will get back to this question late this afternoon.
Regards,
Mike
Business Accounts
Answer for Membership
by: egl1044Posted on 2005-11-03 at 08:18:56ID: 15217905
Hi, You need to make sure that cmdlg32.ocx is registered on the system
2.ocx
2.ocx is the location to the file.
Start/Run / Type: regsvr C:\windows\system32\cmdlg3
Where C:\windows\system32\cmdlg3