I work for a company that has a software program built in Visual FoxPro. The program runs via a simple .exe file. So, if you click on the .exe, the program starts.
However, we also are now starting to utilize VB applications.
What I would like to know is this: is it possible to simply add a button on one of the VB apps, so that when you click on it, it runs the specified .exe?
How would I go about doing such a thing? Any ideas as to what would go in the following code to just run a .exe in a specific directory? Please assume that I have already prebuilt into the code the location of the executable file under C:\TestProgram
Option Explicit
Private Sub RunProgram_Button_Click()
End Sub
Thanks so much!!!
However, we also are now starting to utilize VB applications.
What I would like to know is this: is it possible to simply add a button on one of the VB apps, so that when you click on it, it runs the specified .exe?
How would I go about doing such a thing? Any ideas as to what would go in the following code to just run a .exe in a specific directory? Please assume that I have already prebuilt into the code the location of the executable file under C:\TestProgram
Option Explicit
Private Sub RunProgram_Button_Click()
End Sub
Thanks so much!!!