VB Environment

Screen Shot 08-04-16 at 10.15 AM

[code language=”vb”]
Private Sub frm_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load</pre>
Debug.Print(Environment.MachineName.ToUpper)
Debug.Print(Environment.OSVersion.ToString)
Debug.Print(Environment.UserDomainName)
Debug.Print(Environment.UserName)
Debug.Print(Environment.CurrentDirectory)
Debug.Print(Environment.Is64BitOperatingSystem)

End Sub

&nbsp;

[/code]

Leave a Comment