Hi i just read the port [Guide - beginner]How to make a multi-program opener and i was wondering if anyone could help me to make a config button to edit the location of the program i would like u open.
thanks in advance
Hi i just read the port [Guide - beginner]How to make a multi-program opener and i was wondering if anyone could help me to make a config button to edit the location of the program i would like u open.
thanks in advance
Why don't you just change the location in the code?
Maybe I'm misunderstanding.
Yeah i wanna use this on all my computers and i dont have the same location on the program on all my computers.
Okay, make one textbox and one button.
In the code for the button, write:
System.Diagnostics.Process.Start(Textbox1.Text)
You can then launch the program.
You can put anything in the textbox that you want to launch. You could put C:\example.exe
Then Press the button and it will launch.
It's pretty basic to get the hang of. Tell me if you have any problems with it, I'll be glad to help out.
He asked for it to be changeable, this cannot be "compatible with all computers" if it's got a different directory on each.
think i mighta got a little sketchy one here for you..
Might defeat the purpose of the launcher since he'll be browsing for it... But I'll see when it's done.
no i mean that u just have to browse for it once, find the directory, then it will open the program from thereon after.. do u get like what im tryin to say? like keeping the same concept but like so u can use it from any computer.
yeah i just cant figure out how to do it!lol best advice is just to make it on each computer i guess? ill keep looking into it tho lol
Just use the code that I said with the textbox.
OpenFile dialogue to find the file, and Settings to save it (Settings is a very useful thing to learn about).