Solved

Failed to Load Control Common Dialog

Posted on 2001-09-11
6
1,303 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 102
Add a task in Outlook from access 11 39
fso.FolderExists("\\server\HiddenFolder$") 4 66
how to Classify of email (pdf attachments) 7 36
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

809 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