C
Chris
Hello,
I am trying to view a section of a Word document from with a C# 2.0
program using the following:
ProcessStartInfo procInfo = new ProcessStartInfo("Word.exe");
procInfo.FileName = Path.GetDirectoryName(Application.ExecutablePath)
+
@"\Docs\Mydoc.doc #section1";
procInfo.UseShellExecute = true;
System.Diagnostics.Process.Start(procInfo);
I can view just the document, but if I include #section1, I get a
'can't find file' error. Is there any way round this.
thanks
I am trying to view a section of a Word document from with a C# 2.0
program using the following:
ProcessStartInfo procInfo = new ProcessStartInfo("Word.exe");
procInfo.FileName = Path.GetDirectoryName(Application.ExecutablePath)
+
@"\Docs\Mydoc.doc #section1";
procInfo.UseShellExecute = true;
System.Diagnostics.Process.Start(procInfo);
I can view just the document, but if I include #section1, I get a
'can't find file' error. Is there any way round this.
thanks