-
need to read from Dos screen Window
need to read from Dos screen Window:
need some code to read form dos windows that already open in my
station (XP)
i want to read chars by position or read the all characters and
manipolated in vb code.
I used VB6
Please help.
BR Yuval
-
I don't know of any way to interact with an existing console window from VB. In all the examples I can find online, the VB program creates a new console window, with which it may then interact.
If that approach is not acceptable, the best alternative may be to redirect the console applications' output to a file, which your VB app may then read.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
thanks for your answer
I have an application that work on dos , how can i output the screen to file ?
-
If the program sends its output to stdout (the console), you may use the DOS redirect operator to send the output to a file. For example, if the .EXE file name is program.exe, run the program like this:
C:\> program.exe > d:\path\filename.txt
The program's output will be sent to d:\path\filename.txt.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
By ankushbindra in forum ASP.NET
Replies: 1
Last Post: 11-28-2005, 04:50 PM
-
By Jeff in forum VB Classic
Replies: 1
Last Post: 03-26-2002, 03:49 PM
-
By William Zhang in forum Web
Replies: 0
Last Post: 02-13-2002, 12:43 PM
-
By Matty in forum VB Classic
Replies: 2
Last Post: 05-24-2000, 04:26 AM
-
By Noel Gallagher in forum VB Classic
Replies: 0
Last Post: 04-05-2000, 03:42 AM
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|