|
-
Jan 29th, 2002, 02:49 PM
#1
Thread Starter
Member
VB file question
building an interface to a perl program and have the following requirements.
Batch file on NT starts the perl program. This batch file changes regularly so I have created interface to make this file taking inputs from my vb form.
Now... I am stumped on how to execute this .bat from within vb using a command button to run the batch file.
Any suggestions, code samples would be helpful.
Thanks,
jchannel
-
Jan 29th, 2002, 02:52 PM
#2
-= B u g S l a y e r =-
VB Code:
Private Sub Command1_Click()
Shell "c:\test.bat"
End Sub
-
Jan 29th, 2002, 02:54 PM
#3
VB Code:
Private Sub Comand1_Click()
Shell "c:\mybatch.bat"
End Sub
-
Jan 29th, 2002, 02:55 PM
#4
Damn peet, you type faster than me!
-
Jan 29th, 2002, 03:00 PM
#5
-
Jan 29th, 2002, 03:27 PM
#6
Don't feel bad Armbruster. Peet beats EVERYBODY to the posting punch!
-
Feb 2nd, 2002, 10:00 AM
#7
Thread Starter
Member
Thanks
I ended up using App_path and shell together.
I was doing something wrong with the shell for some reason and couldn't get it to work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|