Retrieve System Info
Retrieves System Information in a single line of code
AI
Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Zdrojový kód
Private Sub cmdSysInfo_Click()
'Will popup a message box displaying your computer name
MsgBox(environ("computername"))
'Like that we can get it for the variables like
'ALLUSERSPROFILE()
'APPDATA()
'CommonProgramFiles()
'COMPUTERNAME()
'ComSpec()
'HOMEDRIVE()
'HOMEPATH()
'LOGONSERVER()
'NUMBER_OF_PROCESSORS()
'OS()
'Os2LibPath()
'Path()
'PATHEXT()
'PROCESSOR_ARCHITECTURE()
'PROCESSOR_IDENTIFIER()
'PROCESSOR_LEVEL()
'PROCESSOR_REVISION()
'ProgramFiles()
'SystemDrive()
'SystemRoot()
'TEMP()
'TMP()
'USERDOMAIN()
'USERNAME()
'USERPROFILE()
'windir()
End Sub
Původní komentáře (3)
Obnoveno z Wayback Machine