Solved

Need some help!

Posted on 2004-08-21
3
161 Views
Last Modified: 2010-04-15
Hi,

I have 2 questions? Please tell me:

1. How to I call and control another application especialy DOS application?

2. How to I compile my project as an "independent from .NET plaform"* application?

*That mean no need install .NET framework to run my application or need some dll file only.
0
Comment
Question by:fffworldltd
[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 10

Accepted Solution

by:
eternal_21 earned 250 total points
ID: 11860405
1. You can control another application using the System.Diagnostics.Process class.  You can even redirect output and input of a console (i.e. DOS) application.

2. There are some 3rd party tools that can help you accomplish this.  Two that come to mind are Salamander .NET Linker and Mini-Deployment Tool (http://www.remotesoft.com/linker/) and Thinstall (http://thinstall.com/help/index.html?_netsupport.htm).
0
 

Author Comment

by:fffworldltd
ID: 11868907
Hi eternal_21

Thanks for your info but can you provide more about control another application like put them into background process, read output data... or simple let me know where I can get those info (topic, ebook...)

Remotesoft release great softwares but the price is not great :( .

By the way, I still want to promote you by my points.

Thank again.
0
 
LVL 10

Expert Comment

by:eternal_21
ID: 11869887
Here is one example:

Redirecting the StandardInput, StandardError(stderr) and the StandarOutput Using the Process Class
http://www.csharphelp.com/archives/archive210.html

I know they are very expensive.  If  you find a .NET linker that is free, let me know!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

756 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