srikanthreddy29 Posted March 17, 2015 Share Posted March 17, 2015 Actually i'm looking for GUI window,which i can add share folder path names in the list and when ever i need i should connect to selected path by clicking connect button. -I'm nt sure wht function should i add to connect. I attached the screen shot which i created Basically i'm looking to add all the network share path in the list,which i have access .so that i can connect easily. #include <GUIConstantsEx.au3> #include <GuiListBox.au3> #include <MsgBoxConstants.au3> Main() Func Main() Local $iGUIWidth = 600, $iGUIHeight = 500 Local $OK,$Add,$Remove Local $idListBox,$Add,$Connect GUICreate("New GUI", $iGUIWidth, $iGUIHeight) $idListBox = GUICtrlCreateList("List", 10, 10, 400, 200) $Connect = GUICtrlCreateButton("Connect", 500, 10, 70, 25) $Add = GUICtrlCreateButton("Add", 500, 40, 70, 25) $OK=GUICtrlCreateButton("OK", 500, 100, 70, 25) $Remove=GUICtrlCreateButton("Remove", 500, 200, 70, 25) GUISetState(@SW_SHOW) ; Loop until the user exits. While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Add Main() EndSwitch WEnd EndFunc Link to comment Share on other sites More sharing options...
mpower Posted March 17, 2015 Share Posted March 17, 2015 Not only a double post ( ) but jeez man, try google at least first before posting on the forum. http://lmgtfy.com/?q=site%3Aautoitscript.com+connect+network+shares Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now