G
gene kelley
Regarding this snippet:
Dim isAvailable As Boolean
isAvailable = My.Computer.Network.IsAvailable
I have an app in which I need to know if the user is "Connected",
"Connected" meaning the user has a LAN of some sort or the user has a
dialup modem that is online.
I recall from VB6 that depending on what code you used, you could test
for at least 3 user possibilities:
1) User has any kind of connection
2) User has LAN connection
3) User has modem connection.
Question: Is the above snippet equivalent to "user is connected
either via LAN or modem" if the return is True?
Thanks,
Gene
Dim isAvailable As Boolean
isAvailable = My.Computer.Network.IsAvailable
I have an app in which I need to know if the user is "Connected",
"Connected" meaning the user has a LAN of some sort or the user has a
dialup modem that is online.
I recall from VB6 that depending on what code you used, you could test
for at least 3 user possibilities:
1) User has any kind of connection
2) User has LAN connection
3) User has modem connection.
Question: Is the above snippet equivalent to "user is connected
either via LAN or modem" if the return is True?
Thanks,
Gene