Hey,
I have never tried to write anything that does any pinging or much on the network for that matter. I was wondering how hard it would be to ping a LAN IP and return a boolean in VB 6.0?
Any examples are greatly appreciated.
Thanks
Printable View
Hey,
I have never tried to write anything that does any pinging or much on the network for that matter. I was wondering how hard it would be to ping a LAN IP and return a boolean in VB 6.0?
Any examples are greatly appreciated.
Thanks
I don't know about the Boolean value. You would have to use this code, and then parse the output. Prolly if it was bigger than a minimum size, would be True
VB Code:
Option Explicit Private Sub Form_Load() Shell ("C:\Windows\System32\cmd.exe /c C:\Windows\System32\ping 192.168.1.102 >> d:\myfile.txt"), vbNormalFocus End Sub
Take a look at this.