>Bret,
>
>Does that give you your subnet IP, or your internet IP? Another related question, if you're going through a gateway, any way to find that machine's IP?
>
>Thanks,
>
>David
>
>>>I need to get the IP address of the PC running my application. Anyone know how I can do that???
>>
>>ows = createobject("MSWinsock.Winsock")
>>? ows.LocalIP
LocalIP will return my IP address of the PC I am on.
LocalHostName gets the HostName defines in my machine
There is also a 'RemoteHostIP' and 'RemoteHost' that may help you, but I dont know about the gateway. Sorry
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope