Hi

I'm pretty sure there's been discussions about this issue before, but I haven't found a clear answer yet
I have a vb6 exe that uses some ocx control (namely MSWINSCK.OCX, others too)
it won't work on vista because the ocx isn't registered
I can overcome this issue by running cmd.exe as administrator and re-registering the component
something like
regsvr32 /u /s mswinsck.ocx
regsvr32 /s mswinsck.ocx
I can also create a .bat file with these commands, works well as long as I run it as admin
that's my problem
the app is sold to clients and it's a shame to ask them to first install the application, then ask them to run a .bat file by right clicking on it and selecting "run as administrator"
it's just too much manual operations for the price they pay

is there a way to programmatically bypass that "run as admin" problem and register the components automatically ?