Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dropping a Dial Up Connection
Message
De
17/08/2001 00:24:32
 
 
À
07/08/2001 06:47:33
Herb Ellerbock
Customized Computer Systems
Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00540556
Message ID:
00545149
Vues:
20
Hi Herb

You can use the RasApi32.dll to detect a current connection and then hang it up.

The functions to use are RasEnumConnections() which will return a handle to the active connection and then use this in RasHangUp(nHandle).

I had to use the Struct class which is found in the Download section here on UT which also has some RAS examples. Also try this MS site

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/hh/network/rasclnt_7iud.asp

which is the RAS reference.


HTH
Cheers
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform