Search Tools Links Login

Register a DLL with only 3 lines!


Visual Basic 6, or VB Classic

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

Original Author: Design7 Software

Code

'Set the directory of your DLL
dllpath="C:Windowsmydll.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)

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 104 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.