Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Failed to Load Control Common Dialog

Posted on 2001-09-11
6
Medium Priority
?
1,366 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 200 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

722 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