Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing a Dialup to occur
Message
De
14/02/2003 08:04:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Forcing a Dialup to occur
Divers
Thread ID:
00753157
Message ID:
00753157
Vues:
74
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform