I am trying to make a setup program for my Access application that I have created. I need to register a dll file. How do I do that in Visual Basic 6? I
Private Declare Function RegisterTestDLL Lib "Test.Dll" _
Alias "DllRegisterServer" () As Long
[green]'and then function call[/green]
Dim regTest as Long
regTest = RegisterTestDll()
as long as your dll file is in the same folder as your vb6 program, just replace "Test.Dll" with the name of your dll. Otherwise, you can use ChDrive and ChDir to get to the directory. =]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.