Click here to Skip to main content
15,886,067 members

Comments by dbraseth (Top 2 by date)

dbraseth 29-Nov-11 22:41pm View    
Deleted
- I replaced 'vWrkStn' with 'Environment.MachineName' and declared 'IP4 as IPAddress = null' before the loop. Then if IP4 is not null after the loop, return IP4.ToString.
Also, you need to import/use the System.Net.Sockets namespace, and the first line is never used ("Dim ipE..", etc.)
HTH :)
dbraseth 29-Nov-11 22:34pm View    
Deleted
Reason for my vote of 5
this method actually works!