Re: Redirecting Output
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
- From: "Karl E. Peterson" <karl@xxxxxxxx>
- Date: Mon, 9 Feb 2009 12:08:10 -0800
Alex Balfour wrote:
Is it possible in VB6 to execute a command line program and redirect its
output to a text file?
You modify the apps so that it's a console program, and then write to stdout.
I do a lot of these, and developed a drop-in ready module that has every possible
situation covered:
http://vb.mvps.org/samples/Console
Enjoy...
--
..NET: It's About Trust!
http://vfred.mvps.org
.
Relevant Pages
- Re: where can I find this...
... The programs I'm running are very plain apps written in vanilla 'c' code ... When I run these from redcon, ... as if I run them directly from a command prompt. ... Redcon's mechanism of grabbing the stdout pipe doesn't ... (borland.public.delphi.nativeapi) - Re: Any way to capture stdcout output to memory?
... I am calling C library functions that want to output to stdout. ... putcm stuffs the char copy ... in the memory buffer. ... Then modify your source to call the new ... (comp.lang.c) - Re: Unable to modify a specific SQL table
... Check for locking and blocking issues. ... >SQL that we are unable to modify via an Access database or a website. ... Before everyone went back into the apps, ... >I told everyone to reboot their computers and then go back into the apps. ... (microsoft.public.sqlserver.server) - Re: How to catch Ctrl+C in console app ?
... > I have console program, which runs infinite cycle in one thread. ... that I run doesn't write anything in stdout. ... Because you don't call print/write method for variable read. ... (comp.lang.java) - Re: My application "has stopped working" !!!
... I've already found Claus' post and decided to modify all our server ... apps to save their own named mini-dumps. ... (microsoft.public.vc.mfc) |
|