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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

distribute ocx on network

Status
Not open for further replies.

easyit

Programmer
Aug 22, 2003
443
NL
Hi,

Is there a method to distribute OCX files on a network DB? Somehow it isn't registerd in the shared DB, but only on my PC, and I don't want to install it manually on each PC.

Anybody with an idea?

Maarten
 
Hi,

This may not be the most elegant method. We did this by adding temporary commands to the logon script.

eg.

copy f:\ocx\Comdlg32.ocx c:\winnt\system32\Comdlg32.ocx

regsvr32 c:\winnt\system32\Comdlg32.ocx /s

this way the ocx was copied and registered when people next logged on.

As I say, there are probably better ways but this worked for us.



There are two ways to write error-free programs; only the third one works.
 
..
GHolden,

That should work, but I don't have acces to logon scripts. I've found a way though, using Microsoft Knowledge Base Article - 173091 (HOWTO: Programmatically Register and Unregister .OCX Files
) it works also.

Thanx anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top