>> I'm developing a software (a WinApp, not a WebApp)
>> to retrieve Date & Time from a web server,
[quoted text clipped - 47 lines]
>sorry, but what exactly isnt working?
>u running a webservice in your ide, and it fails?
the code here, tested online with a real server,
it does work:
http://www.codeproject.com/KB/vb/NetRemoteTOD.aspx?fid=31067&df=90&mp...
but if I locally tested it, writing "localhost",
like this
dRemoteDate = GetNetRemoteTOD("localhost")
always returns 00.00.00.00
note:
also tested it writing
"localhost"
"http//localhost"
"127.0.0.1"
jojoba@gmail.com - 14 Apr 2008 21:34 GMT
> >> I'm developing a software (a WinApp, not a WebApp)
> >> to retrieve Date & Time from a web server,
[quoted text clipped - 64 lines]
>
> - Show quoted text -
maybe try your actual ip.....e.g. 192.168.1.xxx?
jojoba@gmail.com - 14 Apr 2008 21:35 GMT
On Apr 14, 1:34 pm, joj...@gmail.com wrote:
> > >> I'm developing a software (a WinApp, not a WebApp)
> > >> to retrieve Date & Time from a web server,
[quoted text clipped - 68 lines]
>
> - Show quoted text -
or try empty string "" also
one more thing....make sure you have a colon in your "http://
localhost"
teo - 14 Apr 2008 23:09 GMT
>or try empty string "" also
>
>one more thing....make sure you have a colon in your "http://
>localhost"
ouch !!
the empty string "" worked for the first approach (odd to me)
the second approach still doesn't work (maybe because a port number is
involved) but it is enough for now