Original thread: thread705-616421
I have the following that finds out if there are other users in an access database:
Private Declare Function adh_apiLDBUser_GetUsers Lib "L:\DATA\RETAIL\DATASERV\CENTRAL\MSLDBUSR.DLL" _
Alias "LDBUser_GetUsers" (strUserBuffer() As String, _
ByVal strFilename As String, ByVal lngOptions As Long) As Integer
Const adh_apiAllLDBUsers = &H1
Const adh_apiLDBLoggedUsers = &H2
Const adh_apiLDBCorruptUsers = &H4
Const adh_apiLDBUserCount = &H8
I want to Not have to Declare the path ("L:\DATA\RETAIL\DATASERV\CENTRAL\MSLDBUSR.DLL", but rather declare the current path where the db is located.
I want to pass the Lib Call as a paramater, is that possible?
thankyou
Randall Vollen
National City Bank Corp.
I have the following that finds out if there are other users in an access database:
Private Declare Function adh_apiLDBUser_GetUsers Lib "L:\DATA\RETAIL\DATASERV\CENTRAL\MSLDBUSR.DLL" _
Alias "LDBUser_GetUsers" (strUserBuffer() As String, _
ByVal strFilename As String, ByVal lngOptions As Long) As Integer
Const adh_apiAllLDBUsers = &H1
Const adh_apiLDBLoggedUsers = &H2
Const adh_apiLDBCorruptUsers = &H4
Const adh_apiLDBUserCount = &H8
I want to Not have to Declare the path ("L:\DATA\RETAIL\DATASERV\CENTRAL\MSLDBUSR.DLL", but rather declare the current path where the db is located.
I want to pass the Lib Call as a paramater, is that possible?
thankyou
Randall Vollen
National City Bank Corp.