VB to register an Active - X control
Hi
Assuming it is mscal.ocx, Then copy it to the windows\system or
windows\system32 dir as required.
FileCopy "mscal.ocx", "C:\windows\system"
FileCopy "mscal.ocx", "C:\windows\system32"
then use shell to register it.
Shell ("regsvr32.exe mscal.ocx")
HTH
Ken M
|