G
GeorgeMar
I created a function to display the number of users connected to a BE
database. It is based on the API codes from Dev Ashish's site.
It works fine in my office where I have Office 2002/2003 and Windows Server
2000. It doesn't work on Office 2003 and Windows Server 2003.
The error message is: "Subscript out of range . . .".
It fails in the function:fGetRemoteLoggedUserID
at the line:
If
(apiAllocateAndInitializeSid(Authority,lngSubAuthorityCount,alngSubAuthority(0), . . .,alngSubAuthority(7),pSid)) Then
alngSubAuthority(4) and beyond are "out of range"
Is there something else I have to do for 2003? Could the OpenSchema be
different?
Thanks for your help
George
database. It is based on the API codes from Dev Ashish's site.
It works fine in my office where I have Office 2002/2003 and Windows Server
2000. It doesn't work on Office 2003 and Windows Server 2003.
The error message is: "Subscript out of range . . .".
It fails in the function:fGetRemoteLoggedUserID
at the line:
If
(apiAllocateAndInitializeSid(Authority,lngSubAuthorityCount,alngSubAuthority(0), . . .,alngSubAuthority(7),pSid)) Then
alngSubAuthority(4) and beyond are "out of range"
Is there something else I have to do for 2003? Could the OpenSchema be
different?
Thanks for your help
George