>>I came across this little snippet while surfing the net and thought some might find it useful. It give the user ip address.
>>
>>
>>* Show local ip address
>>IPSocket = CreateObject("MSWinsock.Winsock")
>>IPAddress = IPSocket.LocalIP
>>MessageBox ("Local IP = " + IPAddress)
>>
>
>Hi John,
>
>Oh, that's sweet and easy.:-) The object that's returned has some other useful properties too, such the host name.
Yeah, I found it while trying to do Windows Scripting Host. I havent' been able to create the WSH object. I don't suppose you would have a handle on how that's done?
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright