Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert a Remote Computer Name into a IP Address

Status
Not open for further replies.

Sylv4n

Technical User
Feb 27, 2002
83
0
0
GB
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top