473,379 Members | 1,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Starting an application within a dot.net application

Greetings all,

This must be very simple but I've been searching for too
long for the answer. How can I for example start a
program like notepad from my c# windows application? The
application in question is an old dos application which I
would need to have some control over how it starts. Like
it's priority and how much memory it get's.
Any suggestions would be very welcomed.

Thanks
Halldor
Jul 19 '05 #1
2 2072
Take a look at System.Diagnostics.Process() and
System.Diagnostics.ProcessStartInfo() classes. I think they can do what you
want.

HTH

Yves

"Halldor" <Ha******@ax.is> schreef in bericht
news:36****************************@phx.gbl...
Greetings all,

This must be very simple but I've been searching for too
long for the answer. How can I for example start a
program like notepad from my c# windows application? The
application in question is an old dos application which I
would need to have some control over how it starts. Like
it's priority and how much memory it get's.
Any suggestions would be very welcomed.

Thanks
Halldor

Jul 19 '05 #2

This is exactly what I was looking for.

Thanks
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Eric Twietmeyer | last post by:
Hello, I have an unmanaged c++ application in which I'm thinking of starting the ..NET runtime engine so that I may use .NET remoting to enable interaction with a .NET application. My...
2
by: Sara T. | last post by:
I always found that web page written by ASP.NET (VB.NET) generate error when starting at the first times. If I click refresh button on the IE again, it can work as well. What's wrong ? Again...
3
by: Thomas Wenzl [MVP] | last post by:
Hello, Initial situation: - ASP.NET application. - Users upload a file - that file has to be converted into another file format using a unmanged application that uses a lot of COM components ...
5
by: Michael Moreno | last post by:
Hello, I would like to cancel an action if the user holds the shift key while the application is starting-up. Would you know what is the best way to do so please? Thanks, Michael
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
6
by: ludwig.stuyck | last post by:
Hi all, I need to start an executable from within a windows service. I tried the following code in the windows service: ProcessStartInfo psi = new ProcessStartInfo(); psi.FileName =...
0
by: Mark Henry | last post by:
I wrote a Desktop class for manipulating desktops and window stations. The class is being used by a service for starting applications on the interactive desktop (the service cannot run as Local...
5
by: Benzi Eilon | last post by:
I have written a C# application which should run as a Windows Service. I must avoid having multiple instances of the application on one machine so I inserted the following code at the beginning of...
2
by: David | last post by:
Hi All: Here's what may be a confusing question. I have an application which has a basic help window that is attached to a Windows application. It uses IE objects to render html text. The user...
4
by: durumdara | last post by:
Hi! My problem is that: The "test.py" is working in every machine that I use except in my home machine. Formerly it worked but now not. I don't know what happened, I searching for some...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.