Skip to content

Planet-Source-Code/design7-software-register-a-dll-with-only-3-lines__1-38508

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Register a DLL with only 3 lines!

Description

Register your DLLs with only 3 lines of code, simple and effective.

Please vote and leave your comments.

More Info

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

Source Code

'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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published