How would I go about calling regsvr32.exe to register an OCX from within another Vb application?
Printable View
How would I go about calling regsvr32.exe to register an OCX from within another Vb application?
u r question is not so clear ... not to me...but anyway here is something that might help if u have trouble registering OCX
http://support.microsoft.com/support.../Q181/8/54.ASP
look for a file in this page called vbc.exe
download it and run it ... it should work .
You can use Shell function:
Shell "regsvr32 MyControl.ocx", vbHide
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819
Duh ... I shoulda thought of shelling it out. Thanks though :)
Or use this: http://codeguru.developer.com/vb/articles/1771.shtml