var c = new ActiveXObject("DocConverter.DocConverterX"); c.Convert("C:\\test\\source.docx", "C:\\test\\dest.pdf", "-c PDF"); if (c.ErrorMessage!="") alert(c.ErrorMessage)
Note that ActiveX is 32-bit only. If you are trying to use activeX under 64-bit internet information server (IIS) activeX will not work. Use command line version instead (it works with both 32- and 64-bit servers).
Related Topics
Convert DOC to TIFF In Bulk Via Command Line© 2019. All rights reserved. CoolUtils File Converters