DeviousDude Posted August 7, 2008 Posted August 7, 2008 (edited) i was wondering how to get it to where when i click on the file in the browse window it will put where its at in my text box?? Edited August 8, 2008 by DeviousDude
Paulie Posted August 7, 2008 Posted August 7, 2008 i was wondering how to get it to where when i click on the file in the browse window it will put where its at in my text box??FileOpenDialog() #include <guiconstantsex.au3> GUICreate("FileOpenDialogue", 250, 100) $Input = GUICtrlCreateInput("", 25, 40, 155, 20) $Browse = GUICtrlCreateButton("Browse", 190, 40, 50, 20) GUISetState(@SW_SHOW) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $Browse $File = FileOpenDialog("Browse", @DesktopDir, "All (*.*)", 3) GUICtrlSetData($Input, $File) EndSwitch WEnd
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