Command Line and console output
I would like to run a program providing certain parameters from the command
line and display a status within the same window the command line was entered.
I have used the AllocConsole, GetstdHandle, and WriteConsole functions from
the API, but this creates a separate console and closes when finished, but
I would like to see the output in the same console.
Re: Command Line and console output
Hi Scott --
> I would like to run a program providing certain parameters from the command
> line and display a status within the same window the command line was entered.
> I have used the AllocConsole, GetstdHandle, and WriteConsole functions from
> the API, but this creates a separate console and closes when finished, but
> I would like to see the output in the same console.
See LJ's site <http://www.mvps.org/st-software/> for his console example from VBPJ.
(I think Matt Curland's new book may also includes a tool that's useful for this?)
Later... Karl
--
http://www.mvps.org/vb
Re: Command Line and console output
Hi Scott --
> I would like to run a program providing certain parameters from the command
> line and display a status within the same window the command line was entered.
> I have used the AllocConsole, GetstdHandle, and WriteConsole functions from
> the API, but this creates a separate console and closes when finished, but
> I would like to see the output in the same console.
See LJ's site <http://www.mvps.org/st-software/> for his console example from VBPJ.
(I think Matt Curland's new book may also includes a tool that's useful for this?)
Later... Karl
--
http://www.mvps.org/vb
Re: Command Line and console output
The book doesn't do anything along these lines, but I put together an add-in
for the website that automates turning your Standard Exe into a console app.
You still have to write the code, but you don't have to do anything extra at
compile time to make it a console app. Follow links from
http://www.PowerVB.com. -Matt
> (I think Matt Curland's new book may also includes a tool that's useful
for this?)
Re: Command Line and console output
The book doesn't do anything along these lines, but I put together an add-in
for the website that automates turning your Standard Exe into a console app.
You still have to write the code, but you don't have to do anything extra at
compile time to make it a console app. Follow links from
http://www.PowerVB.com. -Matt
> (I think Matt Curland's new book may also includes a tool that's useful
for this?)
Re: Command Line and console output
Hi Matt --
> The book doesn't do anything along these lines, but I put together an add-in
> for the website that automates turning your Standard Exe into a console app.
That's what I recall, yeah. Toggles that bit in the PE header, right?
Thanks... Karl
Re: Command Line and console output
Hi Matt --
> The book doesn't do anything along these lines, but I put together an add-in
> for the website that automates turning your Standard Exe into a console app.
That's what I recall, yeah. Toggles that bit in the PE header, right?
Thanks... Karl