Convert Long IP to String IP

aahmed

Newcomer
Joined
Aug 11, 2003
Messages
3
Greetings,

I have used the following code to get a remote machine's IP Address:

dim pc as string
dim hostaddress as ipaddress

pc = pcname.text

hostaddress = Dns.Resolve(pc).AddressList(0)

Now I want to convert this IP Address to String, how could I do that? I'm relatively new to this so any help would be appreciated.

Thanks.
 
Back
Top