By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Shutdown DUN connection

P: n/a
How can I, from an external program, shut down a Dial Up Network or whatever
it is called in XP, connection?

The two computers (icon in the tray).

I wish to be able to send a disconnect and cause that program to exit
memory.

I have a program that automates my ISP connect experience and loads all
appropraite programs etc and for the most part shutsdown but don't know how
to do this last step.

Thanks,

Shane
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
you can use the shell command to run the RASDIAL [connectionname]
/DISCONNECT

ie shell("rasdial myisp /disconnect")

HTH
Simon
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
How can I, from an external program, shut down a Dial Up Network or whatever it is called in XP, connection?

The two computers (icon in the tray).

I wish to be able to send a disconnect and cause that program to exit
memory.

I have a program that automates my ISP connect experience and loads all
appropraite programs etc and for the most part shutsdown but don't know how to do this last step.

Thanks,

Shane

Nov 20 '05 #2

P: n/a
interesting.. That may be the ticket.

I will try this.

Thanks,

"Simon Verona" <ne**@aphroditeuk.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
you can use the shell command to run the RASDIAL [connectionname]
/DISCONNECT

ie shell("rasdial myisp /disconnect")

HTH
Simon
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
How can I, from an external program, shut down a Dial Up Network or

whatever
it is called in XP, connection?

The two computers (icon in the tray).

I wish to be able to send a disconnect and cause that program to exit
memory.

I have a program that automates my ISP connect experience and loads all
appropraite programs etc and for the most part shutsdown but don't know

how
to do this last step.

Thanks,

Shane


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.