Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need some help!

Posted on 2004-08-21
3
Medium Priority
?
178 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 500 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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

885 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