Below I have the api to register a dll
Public Declare Function RegMyServerObject Lib _
"C:\RM3\RM3.DLL" _
Alias "DllRegisterServer"() As Long
how can I change it so that the path is app.path ?
Thanks
Ian
Printable View
Below I have the api to register a dll
Public Declare Function RegMyServerObject Lib _
"C:\RM3\RM3.DLL" _
Alias "DllRegisterServer"() As Long
how can I change it so that the path is app.path ?
Thanks
Ian
VB Code:
Public Declare Function RegMyServerObject Lib _ "RM3.DLL" _ Alias "DllRegisterServer"() As Long
HTH,
D.
Cheers Merrion, I did try that, but as I was being completley stupid and didn't have the dll in the same folder as my app, it didn't work :o :D , it does now
Ta Muchly
Ian
*Drags Ian out by the hair and back into chit chat - "You don't belong in here m8 - this is for programmers"
Hmmmph!