Unable to Instantiate MSComDlg.CommonDialog Control

A

Alex Glass

I am trying to use the CommonDialog control but every time I try and insert
the ActiveX control onto a form I get a message saying I dont have a license
to use the control. Since this is a publicly available control by created
by microsoft why should I need a license? I have also tried to create the
control via CreateObject() but receive an error stating "ActiveX component
could not create object". There are two files:
C:\windows\system\comdlg32.ocx and C:\windows\system\comdlg32.dll which i
have tried registering and unregistering to try and get this to work.
Neither helped, I also downloaded different versions of the files and got
nowhere. I am able to create other objects using different progId's but I
cant create this one.

Any ideas how I can get around this licensing problem?
 
D

Douglas J. Steele

The link you gave is far superior to using the Common Dialog control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top