cabgef
cabgef

Reputation: 1398

VB6 application requiring comdlg32.ocx, running on windows server 2008

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?

Upvotes: 1

Views: 10191

Answers (3)

Waldemar
Waldemar

Reputation: 11

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

Upvotes: 1

Justin
Justin

Reputation: 86729

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.

Upvotes: 2

jac
jac

Reputation: 9726

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

Upvotes: 1

Related Questions