Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-Time app using Comdlg32.ocx

Status
Not open for further replies.

Beantree

Programmer
Feb 27, 2001
95
US
I've developed a Access 2002 runtime application which uses the Common dialog controls. When I install this on a machine without the full version of Access 2002, the Common Dialog control doesn't work. I get the error message, "ActiveX component cannot create object".

If I install on a machine with full Acess 2002 it works fine.

I assume that the installation program is not overwritting the existing Comdlg32.ocx and .dll files already on the machines from prior office versions, and that the Access 2002 application can't use the earlier versions correctly.

Please help.
 
Beantree,
You may need to register that ocx:
In Start button, do RUN, then type:
Regsvr32 comdlg32.ocx

You should get the 'succeeded' message, if not, check the path of this file, and you may need to qualify the full path in the regsvr32 statement.
--Jim
 
The installation program does register the OCX files, if it installs them. I believe it isn't bothering to install them at all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top