Sign in to follow this  
Followers 0
WoodGrain

Run Dialup connection

4 posts in this topic

Hi all,

I'd like to know if any one knows how to start up an internet connection from the network control panel.

At this stage I've created a nasty work around - below.

If anyone know how to run this PPPoE dial up connection directly, it'd be appreciated.

$val = Chr(34)
$strRun = $val & "U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk" & $val
Send("#r")
WinWaitActive("Run")
Send($strRun)
Send("{ENTER}")

Thanks

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

Hi all,

I'd like to know if any one knows how to start up an internet connection from the network control panel.

At this stage I've created a nasty work around - below.

If anyone know how to run this PPPoE dial up connection directly, it'd be appreciated.

$val = Chr(34)
$strRun = $val & "U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk" & $val
Send("#r")
WinWaitActive("Run")
Send($strRun)
Send("{ENTER}")

Thanks

I would suggest trying this.

Run(@ComSpec & " /c " & '"U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk"',"",@SW_HIDE)

Or

Run(@ComSpec & " /c " & 'start "U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk"',"",@SW_HIDE)

I can't remember whether or not you need start with .lnk files.

Edited by hankjrfan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0