Click here to Skip to main content
15,886,778 members
Home / Discussions / C#
   

C#

 
QuestionHow do I get a file's REAL last modified date? Pin
lnong30-Jan-03 13:34
lnong30-Jan-03 13:34 
AnswerRe: How do I get a file's REAL last modified date? Pin
Todd Smith30-Jan-03 14:17
Todd Smith30-Jan-03 14:17 
GeneralPanel Repaint Pin
sv787430-Jan-03 12:25
sv787430-Jan-03 12:25 
GeneralRe: Panel Repaint Pin
Nick Parker30-Jan-03 16:02
protectorNick Parker30-Jan-03 16:02 
QuestionOwnerdraw context menu in traybar? Pin
anewmachine30-Jan-03 12:23
anewmachine30-Jan-03 12:23 
GeneralentryPoint of a PE file Pin
blacksun_damn30-Jan-03 11:52
blacksun_damn30-Jan-03 11:52 
GeneralSystem.Diagnostics Pin
jtmtv1830-Jan-03 11:49
jtmtv1830-Jan-03 11:49 
GeneralRe: System.Diagnostics Pin
Vasudevan Deepak Kumar30-Jan-03 17:29
Vasudevan Deepak Kumar30-Jan-03 17:29 
Hi Jesse,

Check out the following:

C#
using System.Diagnostics;

public class notepad
{
  public static void Main(string[] args)
  {
	     System.Diagnostics.Process process = new Process();
		   System.Diagnostics.ProcessStartInfo pStart = new ProcessStartInfo();
		   pStart.FileName = "notepad.exe";
		   pStart.Arguments = "a b c d";
		  process.StartInfo = pStart;
		process.Start();
  }
}


You can start using ProcessStartInfo to assign various attributes to Process and then start the process.

Does this help?

Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
GeneralRe: System.Diagnostics Pin
jtmtv1830-Jan-03 17:57
jtmtv1830-Jan-03 17:57 
GeneralTextBox.Clear() Method Pin
Member 14906930-Jan-03 9:06
Member 14906930-Jan-03 9:06 
GeneralRe: TextBox.Clear() Method Pin
leppie30-Jan-03 10:04
leppie30-Jan-03 10:04 
GeneralRe: TextBox.Clear() Method Pin
Member 14906930-Jan-03 10:40
Member 14906930-Jan-03 10:40 
GeneralListView & Scroll Bars (Events) Pin
Andy Hampshire30-Jan-03 8:07
Andy Hampshire30-Jan-03 8:07 
GeneralRe: ListView & Scroll Bars (Events) Pin
Stephane Rodriguez.30-Jan-03 8:49
Stephane Rodriguez.30-Jan-03 8:49 
GeneralDataGrid Column Display Pin
hkl30-Jan-03 7:40
hkl30-Jan-03 7:40 
GeneralRe: DataGrid Column Display Pin
A.Wegierski30-Jan-03 19:19
A.Wegierski30-Jan-03 19:19 
QuestionHow to decide whether control is initialized within IDE form designer? Pin
Vasek30-Jan-03 7:37
Vasek30-Jan-03 7:37 
AnswerRe: How to decide whether control is initialized within IDE form designer? Pin
leppie30-Jan-03 10:08
leppie30-Jan-03 10:08 
GeneralRe: How to decide whether control is initialized within IDE form designer? Pin
Vasek30-Jan-03 22:25
Vasek30-Jan-03 22:25 
Questionhow to convert a jpeg into tiff Pin
coralie30-Jan-03 4:15
coralie30-Jan-03 4:15 
AnswerRe: how to convert a jpeg into tiff Pin
Stephane Rodriguez.30-Jan-03 8:27
Stephane Rodriguez.30-Jan-03 8:27 
QuestionHow to find the location of a control relative to it's containing form? Pin
Furty30-Jan-03 2:53
Furty30-Jan-03 2:53 
AnswerRe: How to find the location of a control relative to it's containing form? Pin
Philip Fitzsimons30-Jan-03 3:04
Philip Fitzsimons30-Jan-03 3:04 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Furty30-Jan-03 3:21
Furty30-Jan-03 3:21 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Philip Fitzsimons30-Jan-03 3:28
Philip Fitzsimons30-Jan-03 3:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.