I am going to go on the same assumption (ActivePerl) and recommend
PerlCtrl from the PDK.  With a couple of minor modifications to the
script you can turn your Perl app into an ActiveX dll that is easy
enough for your VB to use.

-----Original Message-----
From: John Brooking [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 8:25 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Perl and Visual Basic


I'm assuming you are using ActivePerl. In
ActiveState's Perl Dev Kit (sold separately, $129),
there is a utility to package an ActivePerl script
into a stand-alone Windows executable. I've only tried
the free 7-day trial version, but it seems to work
pretty well, including wrapping up any extra modules
you are using. If the people that control your
environment are satisfied with this (because it would
avoid having Perl and CPAN modules on the production
box), you could put that EXE in with your VB program
and call it with the VB Shell statement. If
asynchronous execution (call it and forget about it)
is okay, you are done. If you need to monitor it and
know when it is finished, there's some other tricky
VB/Windows API stuff you need to do which I don't
remember well enough to tell you about, and is better
asked on a VB-related list.

- John

--- [EMAIL PROTECTED] wrote:
> Good day;
> I have developed some useful Perl scripts.. Users
> want a VB front-end 
> to run these scripts.
> What do I need to do, such that something like this
> could work (i.e.: 
> User presses a command button, which then launches a
> Perl script- data 
> sent to output files, etc..)
> 
> Some caveats:
> We work in a tightly-controlled environment, which
> doesn't allow 
> downloading and compiling CPAN modules.
> We don't have access to TK (by virtue of the item
> above)
> 
> Am I dead in the water? Has anyone else found
> 'tricks' to work around a 
> similar situation?
> Thanks in advance for your time.
> Carl
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to