TwojePC.pl © 2001 - 2024
|
|
A R C H I W A L N A W I A D O M O Ś Ć |
|
|
|
nazwa uzytkownika - jaki skrytp w visual basicu??? , jotek007 8/12/02 18:31 jaki jest skrypt do wyciagania nazwy uzytkownika ktory jest aktualnie zalogowany
???ODI PROFANUM VULGUS ET ARCEO - U mnie chyba dzialalo , Kilgor-Admin 8/12/02 18:49
Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Public Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long
Dim s as string
s = String$(200, 0)
GetUserName(s, stlen)
msgbox(Left$(s, stlen - 1))Pozdr. Kilgor
Admin Board'a |
|
|
|
|
All rights reserved ® Copyright and Design 2001-2024, TwojePC.PL |
|
|
|
|