Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
visual basic and batch
The most obvious way I come to think of is to create a batch file from VB. Just write it to *.bat and make the batch-file write the result to a text-file. Then use the Shell command to execute it. Now you have a text-file containing the IP. Open it with Visual Basic and read the IP. There you have it. PM me if you're still stuck.
private sub form_load() shell("ping" + ("target.ip.here" ) + "-n 1" + "pause" ) end sub
or
private sub form_load() shell("ping" + "target.ip.here" + "-n 1" + "pause" ) end sub
something like this,should do it. the cmd screen,should say the t arget's IP adress. pm me if it doesn't work.my vb's getting rusty :p
peace.