Solved

cmdlg32.ocx

Posted on 1999-01-01
3
376 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA color chart bars 12 85
MS SQL store procedure to calculate and return result 6 57
Child Form in front 4 46
VB6 ListBox Question 4 42
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

775 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