RasDial

Top  Previous  Next

RasDial

 

Dials up to the internet if you have a dialup connection. You must have "dialup" configured in the program configuration, otherwise this function has no effect.

 

You can use the RasHangup command to terminate a connection.

 

The Built-in function RasIsConnected can be used to determine if you are already connected to the internet.

 

Example:

RasDial
 
// Display a message and abort the script if no connection is available
if RasIsConnected="1" then goto check
MessageBox "No connection!"
AbortScript
 
label check
CheckFolder "Software"
RasHangup




Translate document: