Question

I have a legacy vb6 application that needs to run on a server 2008 machine. I have been unable to get comdlg32.ocx to register, which the application depends on. Any suggestions?

Was it helpful?

Solution

Hmm, does this link help you at all?

My only other suggestion is that often dependency walker is useful in these sorts of situations, in particular if you are running this vb6 application on a 64 bit OS then pay attention to whether or not comdlg32.ocx has all of its dependencies present as 32 bit libraries.

OTHER TIPS

The obvious, but are you running Regsvr32 as an Admin?

If you do not want to bother about copying and registering the comdlg32.ocx file (for which you might need administrator rights anyway), 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.soft-hummingbird.com/Tutorial_VB_ComdlgAPI.php?lang=en

The File Backupper is a nice peace of software, that uses exactly this:
http://www.soft-hummingbird.com/File_Backupper.php?lang=en

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top