G
gazza67
Hi,
I have a simple problem I am sure somebody can solve very easily.
I want to do this;
OpenFileDialog theDiag = new OpenFileDialog();
theDiag.ShowDialog();
Process.Start("winword", theDiag.FileName);
My problem is that the path name from theDiag.FileName sometimes has a
space in it. When this happen winword seems to think that there is a
space delimited list of files that it should open (ie it thinks that
there is more than one file to open).
Thanks in advance
Gary
I have a simple problem I am sure somebody can solve very easily.
I want to do this;
OpenFileDialog theDiag = new OpenFileDialog();
theDiag.ShowDialog();
Process.Start("winword", theDiag.FileName);
My problem is that the path name from theDiag.FileName sometimes has a
space in it. When this happen winword seems to think that there is a
space delimited list of files that it should open (ie it thinks that
there is more than one file to open).
Thanks in advance
Gary