Thanks, but one more thing..."Now enter your code" which code is that? Like the code that opens both of them or what? Thanks.
Yes, it would be the code to launch each program. I actually think what he was trying to do is to have your project load two forms, instead of two exe's. You could just as easily have 1 of your exe's launch your other EXE on form load.
Since you are in VB.Net The System.Diagnostics namespace exposes a Process class:
Dim myProcess As Process = System.Diagnostics.Process.Start("c:\somepath\somefile.exe")
obviously, you will need to change "c:\somepath\somefile.exe" to the path of the program that you want to launch (in this case, your other program). That should effectively launch the exe. Now, just stick that in your form load... and whenever EXE 1 runs, it will launch EXE2 by default.
i'm currently working on a school project, which is making a game, in VB.Net. I was having trouble trying to find out how to code a countdown timer so when the timer stops the game is over. Could someone please help me?
There should be a timer control (looks like a stop watch, I think). Set it's interval to 1000 (which is 1 second (1000 milliseconds)). Now, every second this timer event will fire. In Your declaration section of the form (where you declare form wide variables) add a public variable to keep track of the time, call it: timevariable. In The Form Load Event of your form, set the variable to the max amount of time (the number you want to start at). Then, in the timer event (every second), add this:
if timevariable = 0 then
msgbox "game over"
timevariable = timevariable - 1