Jaime,

Thanks, works great.

George


On 6/28/06, Jaime Vasquez <[EMAIL PROTECTED]> wrote:


G Gambill wrote:
> How can I determine if an Internet Connection is active for PostCast
> Server.
>
> I thought about
>
> oIE = createobject( 'internetexplorer.application')
> oIE.Navigate2( "http://www.yahoo.com"; <http://www.yahoo.com/>)
>
>
> but can't figure out how to programatically test if that was successful.
>
> TIA
>
> George


Hi George:

Declare Integer InternetCheckConnection in Wininet.dll String Url, Long
Flags, Long Reserved

lnResult = InternetCheckConnection("http://leafe.com/",1,0)


If lnResult != 0
        Msg = "Connected!"
Else
        Msg = "Not connected!"
EndIf


MessageBox(msg)




HTH


Jaime Vasquez
Guatemala, C.A.


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to