Advertisement
4_2005-2006 Windows System Services #163879

Register a DLL with only 3 lines!

Register your DLLs with only 3 lines of code, simple and effective. Please vote and leave your comments.

AI

KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Quellcode
original-source
'Set the directory of your DLL
dllpath="C:\Windows\mydll.dll"
'Call the FileSystemObject for
'retrieving the Windows Folder
Set fso=CreateObject("Scripting.FileSystemObject")
'Call the Reg DLL Server in the Windows dir
'and pass the DLL path as a parameter
Shell(fso.GetSpecialFolder(0) & "\regsvr32.exe " & dllpath, vbHide)
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine