-
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
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks