Closing a Dial-Up Connection 
Author Message
 Closing a Dial-Up Connection

I am using Inet1.OpenURL to retreive date from websites.  Works like a
charm!  HOWEVER, is there any way to shut down the dial-up connection
once I have received the data I need?


This laboratory device is approved for 24-hour operation.  Turn off
ONLY in the event of LOUD UNUSUAL NOISE or EXCESSIVE SMOKE!



Mon, 12 Feb 2001 03:00:00 GMT  
 Closing a Dial-Up Connection
Hi Robert,

Though this might not be the best way, It works:

1. You need to find out the Dialup connection name
Solution: Get the registry key from: HKEY_USERS\.Default\RemoteAccess
(Default)

2. The caption for Dialup will always be"Connected to
NameofDialupConnection"
Solution: FindWindow and click on the button "Disconnect" (use EnumWindow)

hope this helps,

All the BEST.
----------------------------------------------------------------------
I Love Newsgroup family :-)



Tue, 13 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to close a Dialup connection from code

2. Closing a Dial up Networking Connection

3. Closing a dial-up connection

4. help: Closing Dial-up Connection

5. Q: how to close dial-up networking connection?

6. Closing a Dial up Networking Connection?

7. How to close Dial-up connection?

8. Closing dial up connection automatically

9. Closing Dialup Connection

10. Callling and Closing the dial- up connection

11. Closing active Dial-Up Networking connection?

12. Dial Ups

 

 
Powered by phpBB® Forum Software