My exe executes from the command line. I want messages from the app to be sent to the dos window from where the app was called. How do I do this?
Printable View
My exe executes from the command line. I want messages from the app to be sent to the dos window from where the app was called. How do I do this?
What I am tring to say is that the exe works fine, but the only way I know to inform the user of the progress is by using MsgBox, which I don't want to do.
Take a look at this.
http://www.vb-world.net/articles/console/
I think that may be what you are looking for.
This helps to an extent. But it requires the creation of a new console to send messages to. Is there a way I can send it to the calling console?
Looking further into that article I found one of the feedback posts to be helpful. One of the readers wrote a program that allows another program to output to the console/dos window that the programs were spawned from.
http://www.vb-world.net/php-bin/feed...backtopicid=75
Might be a round about way to do what you need or it may spark something else for you.
Good luck!
:)