phoebe_ccy
Member
- Joined
- Oct 12, 2009
- Messages
- 6
- Programming Experience
- Beginner
I have a vb.net form which has a button in it. The button will call A.exe (it's a vb.net exe) using the command Shell("A.exe ", AppWinStyle.NormalFocus).
How can I make sure that everytime I press on the button, A.exe will only open once, and does not open a new form each time?
If A.exe is already opened, it will bring to front. If it is not open, then A.exe will be opened. Please help.
How can I make sure that everytime I press on the button, A.exe will only open once, and does not open a new form each time?
If A.exe is already opened, it will bring to front. If it is not open, then A.exe will be opened. Please help.