?
Solved

Need some help!

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

719 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