What I want to do is convert a remote computer name into the IP address for that computer so for example I want to turn:
\\RemoteComputer
into
192.168.0.1
The reason is that I want to ping it and I have only found VBA apps that ping the IP address only and not the computer.
Note:
I am aware that I could Shell this command out and do it that way, (that would work for the ping also) but I wanted to keep it all in VBA and not Shell it out.
Any ideas?
\\RemoteComputer
into
192.168.0.1
The reason is that I want to ping it and I have only found VBA apps that ping the IP address only and not the computer.
Note:
I am aware that I could Shell this command out and do it that way, (that would work for the ping also) but I wanted to keep it all in VBA and not Shell it out.
Any ideas?