hi! can anybody please help me with this..how can append a string into the current_user variable let say current_user = "daimous" then i want to append something after the current_user say "the great" so that i have "daimous the great" in the variable.. how can I do this? by the way, i've already tried current_user = current_user & " the great" but the "the great" string is always missing. i included my code below to give you a clear idea of what my problem is...hope you could help me with this..thanks a bunch!

VB Code:
  1. Private Enum EXTENDED_NAME_FORMAT
  2.     NameUnknown = 0
  3.     NameFullyQualifiedDN = 1
  4.     NameSamCompatible = 2
  5.     NameDisplay = 3
  6.     NameUniqueId = 6
  7.     NameCanonical = 7
  8.     NameUserPrincipal = 8
  9.     NameCanonicalEx = 9
  10.     NameServicePrincipal = 10
  11. End Enum
  12.  
  13. Private Declare Function GetUserNameEx Lib "secur32.dll" Alias _
  14. "GetUserNameExA" (ByVal NameFormat As EXTENDED_NAME_FORMAT, _
  15. ByVal lpNameBuffer As String, ByRef nSize As Long) As Long
  16.  
  17. Private Sub Command1_Click()
  18.      Dim sBuffer As String, Ret As Long
  19.      sBuffer = String(256, 0)
  20.      Ret = Len(sBuffer)
  21.      If GetUserNameEx(NameSamCompatible, sBuffer, Ret) <> 0 Then
  22.            current_user = Left$(sBuffer, Ret) & " the great"
  23.      Else
  24.            current_user = Environ("USERNAME") & " the great"
  25.      End If
  26.  
  27.      msgbox current_user,vbOkOnly
  28. End SUb


Output: ABS\Administrator
*Note: "the great" is missing.. I want the great to appear after 'ABS\Administrator'.