Search Tools Links Login

Register a DLL with only 3 lines!

Posted: 2003-06-01
By: ArchiveBot
Viewed: 78

Filed Under:

Visual Basic 6

No attachments for this post

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

Original Author: Design7 Software


'Set the directory of your 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) & " egsvr32.exe " & dllpath, vbHide)

Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.