|
-
Nov 29th, 2000, 04:16 AM
#1
Thread Starter
New Member
Is there a way to write text messages to the DOS-Box that I use to start a VB program?
I want to use the above mentioned VB program like a DOS-Command-Program without a GUI but with textual feedback or messages.
Also I want to use return codes to handle them in .CMD-Files with IF ERRORLEVEL == ... control statements.
Thanks.
Thomas
-
Dec 5th, 2000, 01:00 PM
#2
Lively Member
You need to make you vb program a console app instead of a windows app
-
Aug 11th, 2002, 02:06 AM
#3
Frenzied Member
Originally posted by aaudette
You need to make you vb program a console app instead of a windows app
How would you do this?
-
Aug 12th, 2002, 03:46 PM
#4
Black Cat
cmd.exe doesn't have anything to do with DOS, but you want to binary patch your compiled *exe with the mkconsole.exe app and source code hidden in this site:
http://mvps.org/st-software/
You can then send your standard output back to cmd.exe. This patches your program to run as a Win32 Console App rather than a Win32 GUI App, but it still is a windows app.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
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
|
Click Here to Expand Forum to Full Width
|