You must declare it like this
This at the top of a form.Code:Option Explicit Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" _ (ByVal lpBuffer As String, nSize As Long) As Long
|
Results 1 to 24 of 24
Threaded View
|
Click Here to Expand Forum to Full Width |