Register your DLLs with only 3 lines of code, simple and effective.
Please vote and leave your comments.
Submitted On | |
By | Design7 Software |
Level | Beginner |
User Rating | 4.0 (12 globes from 3 users) |
Compatibility | VB 4.0 (32-bit), VB 5.0, VB 6.0 |
Category | Windows System Services |
World | Visual Basic |
Archive File |
'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)