Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dropping a Dial Up Connection
Message
From
17/08/2001 00:24:32
 
 
To
07/08/2001 06:47:33
Herb Ellerbock
Customized Computer Systems
Australia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00540556
Message ID:
00545149
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform