my_lou Posted March 16, 2004 Posted March 16, 2004 hey folks, what's the best way to run another application within a VB.NET Windows app? i need to be able to generate barcodes in my VB.NET application and i have this shareware program that already does that. so i figured i could just run this little program within my application to solve the problem. this program is nothing but an .exe file. so what i need is a way to run an .exe file in VB.NET. now, i know i can do that using the Shell command, but the reason why i am posting this is because i wanted to get some opinions on what would be the most professional and elegant way of doing it. Any advice? thanks all. Quote
*Experts* mutant Posted March 16, 2004 *Experts* Posted March 16, 2004 Use the Process class from System.Diagnotics namespace. It has a Start method which will start up the program for you. Dim p As Process = Process.Start("exe filename") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.