G
Guest
This works:
private Process oneProcess = new Process();
oneProcess.StartInfo.FileName = @"C:\oneProcess.exe";
This gets a 'System.NullReferenceException', Object reference not set to an
instance of the object:
private Process[] manyProcesses = new Process[20];
manyProcesses[0].StartInfo.FileName = @"C:\oneOfManyProcesses.exe";
What silly thing am I doing wrong?
private Process oneProcess = new Process();
oneProcess.StartInfo.FileName = @"C:\oneProcess.exe";
This gets a 'System.NullReferenceException', Object reference not set to an
instance of the object:
private Process[] manyProcesses = new Process[20];
manyProcesses[0].StartInfo.FileName = @"C:\oneOfManyProcesses.exe";
What silly thing am I doing wrong?