|
#17
|
||||
|
||||
|
Quote:
Try this way ... Code:
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
If File.Exists(Application.StartupPath & "\inside episode 2\My_Install_II.exe") Then
Dim _Exe As Process
Dim My_exe As New ProcessStartInfo(Path.Combine(Directory.GetParent(Application.ExecutablePath).FullName, "inside episode 2\My_Install_II.exe"))
My_exe.WorkingDirectory = Application.StartupPath
_Exe = Process.Start(My_exe)
_Exe.WaitForExit()
Me.Close()
Else
MsgBox("File not found!!!", +vbExclamation, "Episode 2")
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
If My.Computer.FileSystem.FileExists(Application.StartupPath & "\inside episode 3\My_Install_III.exe") Then
Process.Start(Path.Combine(Directory.GetParent(Application.ExecutablePath).FullName, "inside episode 3\My_Install_III.exe"))
Me.Close()
Else
MsgBox("File not found!!!", +vbExclamation, "Episode 3")
End If
End Sub
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ « I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche) ![]() ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ « Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)
Last edited by felice2011; 14-04-2017 at 09:31. |
| Tags |
| code, game, luncher |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating a Memory Card Exploit | Ne0 | PS2 Games | 0 | 08-07-2009 22:24 |
| Problem creating KOTOR 2 ISO | congee_33 | XBox Games | 10 | 03-10-2005 02:04 |
| Creating a sega server for playing PSO online ? | OrG | DC Games | 1 | 14-02-2004 11:02 |
| Creating ISO | wildennis | XBox Games | 12 | 09-02-2004 06:27 |
| Creating VCD's using NERO | Nitram | CD/DVD Software & Utilities | 0 | 09-01-2003 09:07 |