Easy System Variables
Easy way to return system variables
AI
AI Summary: 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.
Source Code
Private Sub Form_Load()
For i = 1 To 30
MsgBox Environ(i), vbOKOnly, i
Next i
End Sub
I have seen loads of complicated code that does the same
Try this code, every system variable you need in one line of code
Usage:
MsgBox Environ("ComputerName")
MsgBox Environ("Path")
Etc
Original Comments (3)
Recovered from Wayback Machine