|
-
January 9th, 2013, 10:47 AM
#2
Re: use of shell for calling perl from vb 6.0
The shell function can be used to execute another program from within your VB6 application. You can run bat, cmd, vbs, exe and other directly executable files like:
Code:
dim proc as long
proc = Shell("MyScript.vbs")
The ProcessID proc you get back can be used to wait until the shell execution has finished.
I'm not sure about Perl, though. But if you are able to run a Perl script by doubleclick from the desktop, you can use the code like I described.
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
|