End a dialup network session (pref Gracefully) using API 
Author Message
 End a dialup network session (pref Gracefully) using API

Or other method. Thanks

Can this be done. Any help appreciated.

Darren



Fri, 02 Feb 2001 03:00:00 GMT  
 End a dialup network session (pref Gracefully) using API
Hello Daren,

1. Ask for Confirmation to Disconnect
2. Findout the handle of DUN Window
3. Using the FindWindowEx look for the Disconnect Window (Button)
4. Use SendMessage to Click the button

This might not be your best option, but it can work for you in a graceful
manner.

Hope this helps,
All the BEST.

----------------------------------------------------------------------------
-----
I Love Newgroup family :-)



Fri, 02 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Programmatically starting and stopping a Dialup Networking session.

2. Begin a network session using api

3. How: Detect Dialup-Connection with Dialup-Network?

4. Dialup networking API ?

5. API for DialUp Network 95/98 and WinNT RAS with VB6

6. Dialup Networking using Visual Basic

7. VB6 using Dialup Networking??

8. HELP : How to stop a remote dialup session whit VB5

9. How to stop a remote Dialup session from VB 4.0 or 5.0

10. How to startup a remote Dialup session from VB 4.0

11. Disconnecting a dialup session...

12. Disconnecting a dialup session...

 

 
Powered by phpBB® Forum Software