Solved

cmdlg32.ocx

Posted on 1999-01-01
3
369 Views
Last Modified: 2008-02-20
I am having a problem with the cmdlg32.ocx being out of date when other people try to run my program that was made in VB6 enterprize
0
Comment
Question by:ViperX
  • 2
3 Comments
 
LVL 1

Expert Comment

by:agrillage
ID: 1453616
Make sure that you distribute the cmdlg32.ocx with your application. Are you using the setup wizard? If so make sure that the file is included in the list.
0
 

Author Comment

by:ViperX
ID: 1453617
I put my project.exe + the comdlg32.ocx in a zip file
Then I have them extract it and move the comdlg32.ocx to the windows\system director.
On some computers it works, but on most it wont work. And it had worked on win95 and win98 operating systems.
0
 
LVL 1

Accepted Solution

by:
agrillage earned 50 total points
ID: 1453618
Copying the .ocx file is not enough. It must be registered on the machine. From the start menu, choose RUN, then enter the following:

regsvr32 comdlg32.ocx

Then try again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now