Solved

Need some help!

Posted on 2004-08-21
3
160 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
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

840 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