Solved

cmdlg32.ocx

Posted on 1999-01-01
3
398 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
[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
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

705 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