Click to See Complete Forum and Search --> : How do I check the Registry : Programmetically


aktiwari
January 10th, 2000, 05:07 AM
Dear Gang,

How do I check whether an ".ocx/.dll/.exe" file is registered or not. And if it is not registered then how do i register it programmetically.

Regards,
Ashish

Lothar Haensler
January 10th, 2000, 06:17 AM
to programmatically register an OCX or DLL you can use the DLLSelfRegister-API in VB6stkit.dll;
to register an EXE, execute the EXE passing a commandline switch /REGSERVER.