Jump to content

Need help to opening Setup a new connection or network?


Go to solution Solved by Starstar,

Recommended Posts

Posted (edited)

Need help to opening Setup a new connection or network in windows 7?

Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Posted (edited)

I use this. But i need some short command.

Run("control.exe /name Microsoft.NetworkAndSharingCenter")
WinWaitActive("Network and Sharing Center")
ControlSend("Network and Sharing Center","","[CLASS:DirectUIHWND;INSTANCE:4]","{TAB 9}")
Sleep(200)
ControlSend("Network and Sharing Center","","[CLASS:DirectUIHWND;INSTANCE:4]","{ENTER}")
JLogan3o13 thanks for it.But friend this is not work for me. It opens another thing. Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

  • Moderators
Posted

When you open the Set Up a Connection or Network screen, which of the 4 choices are you selecting (Connect to the Internet, Set up a new network, Connect to a workplace, Set up a dial-up connection)?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted
  On 10/18/2013 at 1:49 PM, JLogan3o13 said:

When you open the Set Up a Connection or Network screen, which of the 4 choices are you selecting (Connect to the Internet, Set up a new network, Connect to a workplace, Set up a dial-up connection)?

i am selecting Connect to the Internet.

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Posted

Just in case someone comes across this in the future they should look at WinAPIEx in AutoIt beta for _WinAPI_GetConnectedDlg().

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

  • Solution
Posted (edited)
  On 10/19/2013 at 8:22 AM, guinness said:

Just in case someone comes across this in the future they should look at WinAPIEx in AutoIt beta for _WinAPI_GetConnectedDlg().

Thanks guinness i solved my problem code is that........to open network connection windows....

#Include <WinAPIEx.au3>
_WinAPI_GetConnectedDlg(1, 1 + 4)
Edited by adnanbaloch

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Posted

OK, great!

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...