Maybe wrap it in a TRY... CATCH and retry? Make sure to have a counter/time
check so that if network is REALLY down, you don't get stuck in a loop:
TRY, wait a few seconds on failure, repeat, give up after a couple of
attempts.


On Thu, Oct 24, 2019 at 7:39 AM Chris Davis <[email protected]> wrote:

> Thanks Andy & Tracy, I had misread it, I thought VFP couldn't find the
> msxml3.dll resource!!! Reading it again as the control can't find the URL
> resource now  makes a lot of sense.
>
>
> -----Original Message-----
> From: ProfoxTech <[email protected]> On Behalf Of AndyHC
> Sent: Thursday, 24 October 2019 11:34
> To: [email protected]
> Subject: Re: OLE iDispatch Exception
>
> Your internet connection is [briefly] down?
>
> On 24-Oct-2019 2:50 PM, Chris Davis wrote:
> > The following code works most of the time but occasionally it throws the
> following OLE error when .send is called, any ideas?
> >
> > lcURL=www.bbc.co.uk<http://www.bbc.co.uk> && not the real url
> >
> > oHTTP = CreateObject("msxml2.xmlhttp")
> > oHTTP.open("GET",lcurl,.f.)
> > oHTTP.send()
> >
> >
> >
> > OLE IDispatch exception code 0 from msxml3.dll: The system cannot
> > locate the resource specified
> >
> > Regards
> >
> > Chris.
> >
> >
> > --- StripMime Report -- processed MIME parts --- multipart/alternative
> >    text/plain (text body -- kept)
> >    text/html
> > ---
> >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/CACW6n4vH9rhuav=wldu+9tlk9gy_becvtnb3qhmw_ruv1nv...@mail.gmail.com
** 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