?
Solved

cmdlg32.ocx

Posted on 1999-01-01
3
Medium Priority
?
412 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 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
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…
Suggested Courses
Course of the Month9 days, 5 hours left to enroll

765 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