Stuart,
Use the code I showed for your static void Main. Pass the parameters as one string. The
string[] args
will be "parsed" with space delimiters. So, if you call it with:
System.Diagnostics.Process.Start("My.exe", "one 2 three 4");
Your My.exe application will detect that as being 4 parameters. In other words, args.Length will = 4.
~~Bonnie
>Hi
>I still just do not understand this, the System.Diagnostics.Process.Start insisted on a string and the main insists on an array,I can think
>Of a few ways to program around this, but I assume there must be reason its like this and a proper way to do this?
>Any help gratefully recieved
>Thanks
>Stuart