Jump to content

Recommended Posts

Posted

what is the value of the $file control ?

It is a file as selected with the following function:

$file = GUICtrlCreateInput ( $file , 10, 125, 300, 20)

GUICtrlSetState(-1,$GUI_DROPACCEPTED)

$btnFile = GUICtrlCreateButton ("File", 315, 125, 45, 20)

GUICtrlSetTip($btnFile,"click here to select a single file")

Or do you mean you want to run the programs specified in the Gui ?

I had completed the GUI and then I decided to add an option "Edit Comments".

I just wanted to add the button and then have it run the editor program "comments.exe" which would take and work with the file already selected. "comments.exe" is an external program (located in the same folder as the GUI and its support files.)

Posted Image

I apologize if I haven't made myself clear.

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
×
×
  • Create New...