I am having a word document in 2003 format. i want to convert 2003 document(.doc) to 2010 document(.docx) using vb.net or c-sharp.
So far i surfed, i came to know there is ofc.exe to convert doc to docx, but it supports only for 2007 compatability.
Printable View
I am having a word document in 2003 format. i want to convert 2003 document(.doc) to 2010 document(.docx) using vb.net or c-sharp.
So far i surfed, i came to know there is ofc.exe to convert doc to docx, but it supports only for 2007 compatability.
if you have W2010 installed, you can just automate it to saveAs into the appropriate format
i did not realise 2007 and 2010 had different file format as i have neither
see this link, i dont knw this wil help u or not
see the tutorial in the faq thread at the top of this forum
.Docx is also a 2010 format. If you convert .doc to docx then that will open in Word 2010 without the compatibility mode.
This faq will do it for you. Just change the file extension and the file type argument and you should be good to go.
http://www.vbforums.com/showthread.php?t=552992