This project has moved and is read-only. For the latest updates, please go here.

BUG? Load a template file containing an image.

Nov 15, 2010 at 3:00 AM

Hi Cathal,

while there is an image file containing in a docx template file, when I call the DocX.Load(wordTemplate) method, there will be throw an System.NullReferenceException.

Nov 15, 2010 at 3:53 AM

I have fixed it.

Nov 15, 2010 at 8:33 AM

Hi weekend001,

is this still a bug we need to fix? What do you mean by you fixed it?


Nov 16, 2010 at 12:22 AM

Hi Cathal,

        thank you for your reply. I have downloaded the latest source code and complied it, so it works. According to

I have another question, could you provide an overload method for SaveAs() method in order to save the .docx file to doc file(compatiable with word 2003).

Thanks in advance.

Nov 16, 2010 at 6:40 PM

at the moment I cannot provide an overload that will save a DocX document as a Doc document. This would require a huge amount of research and development. The old .doc (binary) files are completely different than the new .docx (xml) files.

Sorry about this,

P.S. If you find an open source project that will convert doc into docx and vice versa please post about it here. I am sure other users would also benefit from such a project.