by bugor (5 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 22nd November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Dynamic DLL/OCX Registration
API Declarations
Call RegComponent(sExePath & "\Report.dll", " /u /s")
Call RegComponent(sExePath & "\Report.dll", " /s")
Call RegComponent(sExePath & "\Mscal.ocx", " /u /s") ''unregister
Call RegComponent(sExePath & "\Mscal.ocx", " /s") ''register, "/s"
silent switch mode
String)
Shell ("Regsvr32 " & ComName & sRegister)
End Sub