I require the code to open a word file i MS Office 2000 using c# .net.The file is already saved at a predefine path.
How To Open a Word File in MS Office 2000 using c#.net
Collapse
X
-
Tags: None
-
Originally posted by komal99sonuI require the code to open a word file i MS Office 2000 using c# .net.The file is already saved at a predefine path.
There maybe a problem if you only have Word 2000, so post back if the thread doesn't help. Since you have Word 2K, I would use post #2 in the thread for the code, but don't forget to set a reference to Microsoft Word x.x Object Library on the COM tab. --Sam -
Originally posted by SammyBSee http://www.thescripts.com/forum/thre...erop.Word.html.
There maybe a problem if you only have Word 2000, so post back if the thread doesn't help. Since you have Word 2K, I would use post #2 in the thread for the code, but don't forget to set a reference to Microsoft Word x.x Object Library on the COM tab. --Sam
If you use something like this
Code:System.Diagnostics.Process pRun = new Process(); pRun.StartInfo.FileName = @"C:\SomePath\TheFile.doc"; pRun.StartInfo.UseShellExecute = true; pRun.Start();
-mwaltsComment
-
Originally posted by komal99sonuI require the code to open a word file i MS Office 2000 using c# .net.The file is already saved at a predefine path.
System.Diagnost ics.Process.Sta rt("pathname\fi name.doc");Comment
Comment