Shutdown DUN connection

  • Thread starter Thread starter SStory
  • Start date Start date
S

SStory

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
 
you can use the shell command to run the RASDIAL [connectionname]
/DISCONNECT

ie shell("rasdial myisp /disconnect")

HTH
Simon
 
interesting.. That may be the ticket.

I will try this.

Thanks,

Simon Verona said:
you can use the shell command to run the RASDIAL [connectionname]
/DISCONNECT

ie shell("rasdial myisp /disconnect")

HTH
Simon
SStory said:
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
 
Back
Top