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

Com object Question

Status
Not open for further replies.

Longia

Programmer
Dec 8, 2000
23
US
Can anybody tell me how to register com object programatically in VB. I just want to take Com object from CD and resgister it programatically.
 
hi there

u can use vb shell function like this

shell "regsvr32 /s dllName"

/s switch cause regsvr32 to work in silent mode i.e. not showing any dialog box.
there is a caveat in this method. ur app is dependent on the presence of regsvr32.exe on clients machine. (usually it is present in windows\system or windows\system32 directory)

hope this will work

ComputerJin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top