Solved

Need some help!

Posted on 2004-08-21
3
156 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now