Visual Basic Classic
--
Questions
--
Followers
Top Experts
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
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Start/Run / Type: regsvr C:\windows\system32\cmdlg3
Where C:\windows\system32\cmdlg3
Regsvr32 C:\windows\system32\cmdlg3
Regsvr32 C:\windows\system32\cmdlg3
responds with:
LoadLibrary(“C:\windows\sy
Where do I get the file?
mike






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
http://support.microsoft.com/kb/q192461/
http://www.ascentive.com/support/new/support_dll.phtml?dllname=COMDLG32.OCX
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
MORE INFORMATION
The following file is available for download from the Microsoft Download Center:
Download the VBRun60.exe package now. (http://download.microsoft.com/download/vb60pro/install/6/win98me/en-us/vbrun60.exe)
Release Date: September 18, 2000
Didn't do it. I still get the same error...

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
"Please use the following URL to download a 5.66 MB (5,935,720 bytes) Ascentive Library Installer.
http://www.ascentive.com/support/new/libraryfiles.exe
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
did it. I need yet to try the application.
mike






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Visual Basic Classic
--
Questions
--
Followers
Top Experts
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.