Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 15, 2012 03:13 AM by panric
Member
56 Points
23 Posts
Jun 11, 2012 01:02 PM|LINK
I am trying to open a word document and edit it. But while opening the document i shows like there is not value assigned to doc object. doc object is showing as null. Can anyone help me with this?
Below is my code.
object missing = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Word.Document doc = appWord.Documents.Open(ref filename,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing);
46 Points
19 Posts
Jun 15, 2012 03:13 AM|LINK
Hi, I find this collection of C# word skills, you can have a check: http://www.codeproject.com/Articles/201439/Summarize-C-Control-Word-Skills
bibinbabu04
Member
56 Points
23 Posts
Microsoft.Office.Interop.Word.Document object displays null
Jun 11, 2012 01:02 PM|LINK
I am trying to open a word document and edit it. But while opening the document i shows like there is not value assigned to doc object. doc object is showing as null. Can anyone help me with this?
Below is my code.
object missing = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Word.Document doc = appWord.Documents.Open(ref filename,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing);
panric
Member
46 Points
19 Posts
Re: Microsoft.Office.Interop.Word.Document object displays null
Jun 15, 2012 03:13 AM|LINK
Hi, I find this collection of C# word skills, you can have a check: http://www.codeproject.com/Articles/201439/Summarize-C-Control-Word-Skills