Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Delete one or more items
Link Email
Shockwave Safe Xtras
Dir Player
Snow Falling
cXtraDateTimePicker
detecting hard disk
convert to upper or to lowercase
cXtraWebBrowser
LiveCD
MediaMacros Xtras Mall
 

 

 

Behavior Check and launch dialup

Added on 10/2/2000

 

Compatibilities:
D7 D8 PC Script

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

Checks to see if there is an internet connection, and if not launches the default dialup-connection on the users machine. Use like this... launchDialup()

on launchDialup me
  if the environment.internetconnected <> #online then
    connection = baReadRegString( "RemoteAccess", "Default", "", "hkey_current_user" )
    if connection <> "" then
      baRunProgram( "rundll rnaui.dll,RnaDial" && Connection, "normal", false )
    else
      alert ("No dialup connection is configured on this machine.")
    end if
  end if
end


on getBehaviorDescription me
  describe = "Checks to see if there is an internet connection, and if not launches the default dialup-connection on the users machine.  Use like this..." & return & "launchDialup()"
  return describe
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail