Solved

Failed to Load Control Common Dialog

Posted on 2001-09-11
6
1,327 Views
Last Modified: 2012-06-21
I'm using VB 6.0.  When I execute Visual Studio, I get the following error message:

failed to load control common dialog comdlg32.ocx, file may be outdated.

The file is located in c:\windows\system

How do I update the file if I don't have the original installation disk?
0
Comment
Question by:cnealy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:dekeldate
ID: 6475499
0
 
LVL 1

Author Comment

by:cnealy
ID: 6475543
What is this for?
0
 
LVL 1

Accepted Solution

by:
dekeldate earned 50 total points
ID: 6475555
This should download a cab file containing the latest comdlg32.ocx that shipped with VB6.

Open the cab file using a zip type program such as winzip.

Extract the files into c:\windows\system

register comdlg32.ocx using
regsvr32.exe c:\windows\system\comdlg32.ocx

You should now have the latest comdlg32.ocx installed on your machine

Hope this works.:o)


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:glass_cookie
ID: 6475579
Hi!

Another alternative wwould be to run some setup.exe which is deployed using the deployment wizard (from a friend?) to package an app (any app.  An empty one using comdlg32.ocx, VB 6) would do.

That's it!

glass cookie : )
0
 
LVL 1

Author Comment

by:cnealy
ID: 6477088
Perfect instructions!  It worked.  Thank you!
0
 
LVL 1

Expert Comment

by:dekeldate
ID: 6478896
Glad to be of help
Thank you!

dekeldate :o)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question