請問元件註冊程式該呼叫哪個API函數?
Shell "regsvr32 c:\winnt\system32\scrrun.dll" 試試看 但API我就不知了
http://vb.infoserv.com.tw/apiVB/api.html [R](8) RegSetKeyValueEx
可參考底下的 API Private Declare Function DLLSelfRegister Lib "vb6stkit.dll" (ByVal lpDllName As String) As Integer Private Declare Function RegisterTLB Lib "vb6stkit.dll" (ByVal lpDllName As String) As Integer 或是 Private Declare Function DllRegisterServer Lib "C:\xxx.ocx" () As Long