Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Redirecting Apps ...

Posted on 1999-07-15
3
Medium Priority
?
130 Views
Last Modified: 2010-04-30
Hello
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 (command.com) to certain port, so ms-dos (command.com) 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.

Thanks.

P.S. would increase points if it is hard...
0
Comment
Question by:kermit007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
Mirkwood earned 400 total points
ID: 1525159
it's hard.

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

http://www.vbbrasil.com/download/redirectedstdout.zip 

Now you have to communicate and receive this information using mscomm.
0
 
LVL 1

Author Comment

by:kermit007
ID: 1525160
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?
0
 
LVL 1

Author Comment

by:kermit007
ID: 1525161
n/m I figured it out :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question