Solved

cmdlg32.ocx

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

830 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