VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
In This Topic
Codecs: How to convert DOC to DOCX?
In This Topic
SDK can convert DOC document to a DOCX document.

Here is C#/VB.NET code that shows how to convert DOC document to a DOCX document:
/// <summary>
/// Converts DOC file to a DOCX file.
/// </summary>
/// <param name="docFilePath">Path to a source DOC file.</param>
/// <param name="docxFilePath">Path to a result DOCX file.</param>
public static void ConvertDocToDocx(string docFilePath, string docxFilePath)
{
    Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertDocToDocx(docFilePath, docxFilePath);
}
''' <summary>
''' Converts DOC file to a DOCX file.
''' </summary>
''' <param name="docFilePath">Path to a source DOC file.</param>
''' <param name="docxFilePath">Path to a result DOCX file.</param>
Public Shared Sub ConvertDocToDocx(docFilePath As String, docxFilePath As String)
    Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertDocToDocx(docFilePath, docxFilePath)
End Sub