Redirecting Apps ...

I need to know how would I be able to redirect an app from within my vb project?  What I need to do is to be able to redirect an app such as ms-dos ( to certain port, so ms-dos ( could be accessed from telnet when connected on that given port.  How would I be able to do that?  I have seen it done, but don't know how to do it.  Should be able to work with all applications.


P.S. would increase points if it is hard...
Who is Participating?
MirkwoodConnect With a Mentor Commented:
it's hard.

Here is a piece of the puzzle. THis redirect stdin & stdout to another file. 

Now you have to communicate and receive this information using mscomm.
kermit007Author Commented:
Hello Mirkwood.

Thanks, looks like that's what I wanted.. but there is one problem, and that is everytime I try to run the program it says, "create process failed: error 2"
any ideas?
kermit007Author Commented:
n/m I figured it out :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.