Turning on a program
-
Hi, i wish to have a button click in my form to open an another application.. I understand that if i were to open form to form, it'll be like this : Public Class Introduction Private Main_Menu1 As Main_Menu Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Main_Menu1 = New Main_Menu Main_Menu1.Show() End Sub How can i open an external program then.. Assuming the program directory is at \programfiles\haha\haha.exe And how do i write in a way that after i finish using that program, i will be redirected to my form.. Any help is greatly appreciated =( Language used is vb
-
Hi, i wish to have a button click in my form to open an another application.. I understand that if i were to open form to form, it'll be like this : Public Class Introduction Private Main_Menu1 As Main_Menu Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Main_Menu1 = New Main_Menu Main_Menu1.Show() End Sub How can i open an external program then.. Assuming the program directory is at \programfiles\haha\haha.exe And how do i write in a way that after i finish using that program, i will be redirected to my form.. Any help is greatly appreciated =( Language used is vb
to start an external program, use this
Process.Start(myFilename);
http://msdn.microsoft.com/en-us/library/53ezey2s.aspx[^] http://www.thescarms.com/dotnet/Process.aspx[^]
-
to start an external program, use this
Process.Start(myFilename);
http://msdn.microsoft.com/en-us/library/53ezey2s.aspx[^] http://www.thescarms.com/dotnet/Process.aspx[^]
-
The syntax for Process.Start is little bit confusing. Is there anyone who has actually done it on mobile device? Example...?
confusing ? try this and/or use the links above System.Diagnostics.Process.Start("IExplore.exe") or System.Diagnostics.Process.Start("IExplore.exe", "www.northwindtraders.com")
-
confusing ? try this and/or use the links above System.Diagnostics.Process.Start("IExplore.exe") or System.Diagnostics.Process.Start("IExplore.exe", "www.northwindtraders.com")