Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing a Dialup to occur
Message
De
15/02/2003 03:36:36
 
 
À
14/02/2003 08:04:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00753157
Message ID:
00753642
Vues:
19
Richard, right click the IE icon. Choose properties. Choose Connections tab. Set the required Dial Up connection option Never/Whenever/Always. I think this will do the trick.


>How do I force a dialup to ALWAYS occur when I want to connect to a web service?
>
>In most cases the 'Dialup Connection' dialog appears automatically when my code reaches this line:
>loUniversalThread.mssoapinit("http://www.levelextreme.com/WebService/universalthread.wsdl")
>(I'm just using the Universal Thread service as an example) and then everything that follows works correctly.
>
>But I have found that if I had previously been using Internet Explorer for some offline browsing of cached web pages on my hard disk and then later on I run FoxPro and try to connect to a web service it does not try to Dialup (nor does it generate any error) and the subsequent code that attempts to use one of the services then causes my program to crash because the service is not surprisingly unavailable.
>
>Its as though some sort of global 'Work Offline' flag has got set and I cannot find any way of clearing it apart from going back into Internet Explorer and forcing it to do a dialup by telling it to refresh a page.
>
>I guess this is a simple 'how do I work with the FoxPro and the internet' question rather than anything specific to do with using Web Services but I would appreciate any tips on how to go about this properly.
>
>Richard
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform