How To List All Environ Variables Using Microsoft Visual Basic 6?
- Type this following source code in Microsoft Visual Basic 6 IDE or Microsoft Visual Basic Application Editor (e.g. Microsoft Office Excel) :
Sub ListEnvironmentVariables()
Dim strEnviron As String
Dim idx As Long: idx = 1
strEnviron = Environ(1)
Do Until strEnviron = ""
strEnviron = Environ(idx)
Debug.Print strEnviron
idx = idx + 1
Loop
End Sub - This will list out all of the environment variables in your immediate window. If you can't see this immediate window, choose this menu option: View > Immediate Window menu.
path, location, address, folder, directory
Bibliography:
http://access-terapan.blogspot.com/
http://khoiriyyah.blogspot.com/
https://learn.microsoft.com/
https://rani-irsan.blogspot.com/
https://stackoverflow.com/
https://www.vbforums.com/
https://vbjadul.blogspot.com/
https://wellsr.com/
https://www.consultdmw.com/
http://www.mooresw.com/
https://www.wiseowl.co.uk/
Tidak ada komentar:
Posting Komentar