Solved

Failed to Load Control Common Dialog

Posted on 2001-09-11
6
1,347 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month4 days, 22 hours left to enroll

635 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