ActiveX: MS Common Dialog not available/licensed

J

Jean

I am trying to add an ActiveX Control to a Form in
Microsoft Access. The control is the Microsoft Common
Dialog Control, version 6.0.
(Please excuse me if this is an FAQ, I have yet to find
it, and sorry but it looks like hardly anyone is on the
access.activex forum)

When I try to add it, it fails and I get something like
the following:
----------------------------------------------------
"You do not have the required license to use this ActiveX
control.
You have either tried to open a form that contains an OLE-
object or ActiveX control, or you have tried to create an
ActiveX element.
The license you can acquire from the firm who produces the
ActiveX control."
----------------------------------------------------

I do not understand why I get this message, because surely
this control
comes from Microsoft, and I have MS Office installed on my
PC. The comdlg32.ocx is under system 32, and the control
is in the registry editor under ...SOFTWARE/Classes. Is
this
normal?

Please could somebody give me some tips. Thanks!
 
D

Douglas J. Steele

If the reason you're trying to use the Common Dialog control is for the
standard Windows File Open/File Save dialog, scrap it and use the API calls
instead. That's far less problematic. There's complete code at
http://www.mvps.org/access/api/api0001.htm at "The Access Web", courtesy of
Ken Getz.
 
J

Jean

Thanks Doug, it works great!
-----Original Message-----
If the reason you're trying to use the Common Dialog control is for the
standard Windows File Open/File Save dialog, scrap it and use the API calls
instead. That's far less problematic. There's complete code at
http://www.mvps.org/access/api/api0001.htm at "The Access Web", courtesy of
Ken Getz.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)





.
 

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