Hi!
I'm using an external dos pplication with my vb applicattion, but i can't know when it have an error.
Is there any way to return text from a dos application?
Thanx
Printable View
Hi!
I'm using an external dos pplication with my vb applicattion, but i can't know when it have an error.
Is there any way to return text from a dos application?
Thanx
Here is an send commands to dos to list a directory and then output it to a text file.
Code:Shell "command.com /c dir /b c:\ > C:\cListing.txt",0
'then open it:
Open "C:\cListing.txt" For Input As #1
Text1.text = Input$(LOF(1), 1)
Close #1
Thanx!