Register ocx

A

Albert Krüger

Hello

I want to write code in dotnet which register an ocx (I don't want to use
this ocx in dotnet). Exist a class in dotnet for this or have someone an
example to do this?

Thanks
Albert Krüger
 
T

Tim

You could do it the fast and nasty way - format a command string with
regsvr32.exe <ocxfilename> and execute that. It would be prudent to find out
if regsvr32 uses exitcodes to indicate success / failure.
 
A

Albert Krüger

The solution from Mattias is the best for me because I must write a tool
under dotnet which handles a program and his ocx's ( written in vb6)

Thanks
Albert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top