Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with declaring an API Call

Status
Not open for further replies.

hwkranger

MIS
Nov 6, 2002
717
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top