|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB6 and Perl on 2000/XP: Req recommendation for interprocess communicationI'm working on a VB6 program that will kick off a command process
(using COMSPEC) that will run a perl script, which in turn may execute nested perl scripts. (I think it sounds worse than it is.) I have tested a prototype which appears to work, using CreateProcess (this way, I can stop the process if I need to). I would like the VB program to be able to continually monitor and receive status from the running perl script(s) so I can update a status bar, and perhaps display progress information in a textbox. To me, watching the text whiz by in a console window looks kinda 80's... :-) Can someone suggest an optimal approach for this?Thanks Tom NOTE - cross-posted to VB and Perl discussion groups Tom Bates wrote:
Show quoteHide quote > I'm working on a VB6 program that will kick off a command process There is a very easy way... Just have the Perl script return back the > (using COMSPEC) that will run a perl script, which in turn may execute > nested perl scripts. (I think it sounds worse than it is.) I have > tested a prototype which appears to work, using CreateProcess (this > way, I can stop the process if I need to). > > I would like the VB program to be able to continually monitor and > receive status from the running perl script(s) so I can update a > status bar, and perhaps display progress information in a textbox. To > me, watching the text whiz by in a console window looks kinda 80's... > :-) > > Can someone suggest an optimal approach for this? > > Thanks > Tom > > NOTE - cross-posted to VB and Perl discussion groups percentage that it is complete and then have the VB part capture the STDOUT and then wait for the new percentage. -- k g a b e r t (at) x m i s s i o n (dot) c o m *Support Mozilla Firefox*! http://www.spreadfirefox.com/?q=user/register&r=71209
Other interesting topics
Subclassing Help
Delphi For VB Developers (again) Reading XML data to VB Variables extending Type structure and Run-time error '49': Bad DLL calling convention Scanning for Wordpad.exe program Adjusting Contrast or Brightness in VB6 Installed Program Comms support VB6 Application version VB.net with messagequeue |
|||||||||||||||||||||||