Having problems with this code.
ProcessStartInfo info = new ProcessStartInfo();
info.FileName = ("mspaint.exe");
info.Arguments = image.getFileName; // returns full path and name
info.ShellExecute = false;
Process p1 = ProcessStart(info);
Problem arises on complicated pathnames. If the string returned in
info.Arguments is in say c:\pics\pic1.bmp then it loads fine. Only when
cming from say the desktop is there a problem, it doesnt load the file and
informs me it cant find c:\Documents.bmp (regardless of contents of
getFileName();
Whats happening?