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:
  1. Private Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
  2.  
  3.  
  4.  
  5. Private Sub Form_Load()
  6.     Message.Caption = "Welcome " & CurrentUser
  7.     End Sub