Get Hostname
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Here is an easy way to capture the hostname for a Windows form in VB.NET Add this entry to declarations: Imports System.Net Establish the variable with the GetHostName function: Dim strLoggedHost = Dns.GetHostName() I searched all over and found many other ways that required more lines of code. This is simple and to the point. :-D LWhite