View Single Post
Old 06-26-08, 05:05 PM   #5
Registered User
Join Date: Nov 2007
Posts: 490
Default Re: Need to make a super simple program

For maximum ease, I'd just cheat. Make a super-super-simple VB app that has only two functions, a timer, and a bit of code to execute an external batch file. Here's how to do it:

1) Create a new VB project
2) Drag the timer icon onto the main program window
3) Double-click the timer
4) Paste the code below under the timer function -

Private Sub Form_Load()
Shell ("c:\copything.bat")
End Sub

(I think that should work, it's been about a year since I last wrote a VB app that called upon other exe's)
5) Add a button to the page, name it "Start"
6) Double-click it, enter


7) Compile, it should work.
dxx is offline   Reply With Quote