I use Regit.exe to register DLLs and OCXs. I launch it using a Shell statement.
See
http://support.microsoft.com/default.aspx?scid=kb;en-us;198038>Hi everybody,
>
>How may I write codes in VB that register an ocx file. I would like to creat an exe file which registers the ocx on the windows.
>
>Thank you,
>Ali
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com