I know you did this onece befor but i cant find that post anymore.
Is there a auto trim on these forms?
Anyways.. I got this as code but its not displaying the current user loged into windows.
VB Code:
Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Private Sub Form_Load() Message.Caption = "Welcome " & CurrentUser End Sub



Reply With Quote
