954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Component "comdlg32.ocx" missing

Hi guys,

I Make a simple program with VB6, it's OK if i'm running in windows xp or server, but in vista i'm get error message :

"Component 'comdlg32.ocx' or one its dependencies not correctly registered: a file missing or invalid"

Any body have solutions for this problem, because i want my program running in vista for any computer.

Thanks for help.

ochien
Newbie Poster
13 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

Do you use any function?

http://msdn.microsoft.com/en-us/library/aa383688(VS.85).aspx

List of all functions it may be not accessible on vista. And try adding that dll to that computer.

Teropod
Light Poster
36 posts since Jul 2008
Reputation Points: 10
Solved Threads: 6
 

you need to copy that componet to your system foolder and register that with windows using REGSVR32.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

I thing the problem that because i'm using common control dialog and this is not work in vista, do you have solution for change common control with another ocx and not problem if running in vista.

thans for help before :)

Do you use any function?

http://msdn.microsoft.com/en-us/library/aa383688(VS.85).aspx

List of all functions it may be not accessible on vista. And try adding that dll to that computer.

ochien
Newbie Poster
13 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

Try UN registering the ocx, then immediately re-register it.

This fixed most of my problems with Vista. It's a Vista registration issue, not your code.

Henry Schubel
Light Poster
42 posts since Feb 2007
Reputation Points: 15
Solved Threads: 3
 

If you do not want to bother about copying and registering the comdlg32.ocx file (for which you might need administrator rights anyway), tell the developer of the software to check out following project, that shows how you can use the common dialog box (open and save) without using the ocx file and thus without need of registering it. It uses the comdlg32.dll directly with APIs, which is installed already on windows!
http://www.ws-software.co.cc/TComdlgAPIEng.html

Waldemar
Newbie Poster
1 post since Jun 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You