Start a program
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
4 posts
Page 1 of 1
How can i make you start a program with a button click, for example:
Lets use Firefox as the example
You click 'Start' and it starts Firefox [from C://Programfiles/Firefox/fixefox.exe <-- just an example]
You click 'Search' and it will search for Firefox.exe and start it -NeedHelp
Lets use Firefox as the example
You click 'Start' and it starts Firefox [from C://Programfiles/Firefox/fixefox.exe <-- just an example]
You click 'Search' and it will search for Firefox.exe and start it -NeedHelp
You do not have the required permissions to view the files attached to this post.
Try this:
Code: Select all
Shell "C://Programfiles/Firefox/firefox.exe"
Can you make it so you write the file location in a textbox and when you close the program the texts still there.. Understand?
I think like this:
create a setting in the project properties named PG.
Now, in form_load:
create a setting in the project properties named PG.
Now, in form_load:
Code: Select all
And, in button run click:
textbox1.text = my.settings.PG
Code: Select all
Note it will only save the text if you clicked Run. Shell (textbox1.text)
My.settings.PG = textbox1.text
my.settings.save
my.settings.refresh
4 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023