|
-
Feb 23rd, 2001, 04:30 PM
#1
I have been looking through my books and I've found some good code on the systeminfo but the code that I have doesn't begin with a call to the API. I am trying to get user logon information in an access database switchboard, to validate the user before opening a report, I just can't seem to get the code I have to work.
Dim strOut As String
Dim si As New SystemInfo
strOut = si.UseName & " is logged on " & si.ComputerName
MsgBox strOut
This is the stripped version but I can't get this little ditty to work, where do I find the reference for SystemInfo for this to work???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|