Thanks Leon for responding
I checked again, Its not there.
I still am receiving the same error "component comdlg32.ocx or one of its dependencies not correctly registered:A file is missing or invalid"
please help,
nubee
Main Topics
Browse All TopicsHello all,
I am working on a already developed visual basic program. That program resides on a shared drive. My boss was using that from long back. Recently it was not working, I fixed it and its working in my computer. My boss asked me to give permissions to another perrson to access the same program. Unfortunately she is not able to open the .exe file
1. The one who is receiving this error has no VB6.0 loaded in her computer. I searched for comdlg32.ocx component in her computer its not there.
2. The one who is able to open the .exe also did not have VB6.0 loaded in her computer, but she has comdlg32.ocx component.
My question is to what application does comdlg32.ocx related. If its related with VB how come its present in the computer where VB is not there?
My guess is, there was a setup.exe file for the old VB project in the shared driver, my boss run that and the other one didnot.
Do I have to create another setup.exe for the updated project and its ok if I ask her run the old setup.exe? will this help solving the problem?
please guide me and help me disappear that error.
Thank you,
nubee
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.
Download or copy COMDLG32.OCX.
This file should be located in the WINDOWS\SYSTEM directory on your C: drive (for Windows NT and 2000: \WINNT\system32).
Using your mouse, click on the "Start" button and then click on "Run".
According to your Operating System, type the following command to register this library file:
Windows 95, 98, or Me:
regsvr32 \windows\system\COMDLG32.O
Windows NT or 2000:
regsvr32 \WINNT\system32\COMDLG32.O
Windows XP:
regsvr32 \windows\system32\COMDLG32
You should see a message saying "DllRegisterServer ... succeeded"
If you are getting an error telling you that the file is missing, then you are not typing the command in correctly. You will need to type it in *exactly* as as shown above for your operating system.
Leon
Business Accounts
Answer for Membership
by: leonstrykerPosted on 2004-07-01 at 12:01:57ID: 11450497
comdlg32.ocx is the common dialog control. This is the dialog box which pops up then you are looking for a file. it should be on her computer. Please check again.
Leon