Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dos question

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hello,
Is it possible to have vb capture a text out out in a dos console program and display it on a text field or form?
Ex. I press a button on a vb form that will invoke a dos console program that displays a bunch of text.Next VB would captured those text and display it on a text field.
Can someone help me with this? thanks
 
Hi,
Sure, you...
1. Open the file
2. In a loop you Read until EOF
4. Assign the value(s) read to the TextBox (if multi lines read then multi line property must be True)
4. Close the file

VOLA :) Skip,
metzgsk@voughtaircraft.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top