>Hi Sergey
>
>>Check
Re: Microsoft XMLHTTP object automation Message #
1107203>>
>>? WinHttp("http://whatismyip.org/")
>>
>
>Thanks a lot I have tried it and it works fines, when I saw the return value from the function I must say I had to visit the website that returns the IP address and I found out that it has a limitation on how many times it can be polled, thus probably that explains the failure of the IF condition, but I still cannot understand the multiple windows when there is no internet.
>
>Any other suggestion to get IP address ? Cause this has highlighted the fact that such a code is dependent on the website's layout, which has changed significantly since last (ages back) I looked at.
The website returns IP address only and didn't change since I first encounter it quite a while ago.
--sb--