How to call Doc to Any Converter SDK from ASP.NET source code?

Hi,

I am using trail version DOC2Any dll in my Asp.net Application. But I am getting problem in conversion some time .docx to PDF.And also when this type issue will be come that time Application will stuck even this service not stop after 24 hours. I am manually stop this service from task manger. Please suggest to me if this type issue will come how to resolve this issue.

After successfully completion of this I move for purchase option. Please give your response as soon as possible with all details. I am also copy that code whatever I am using.

Product Details: Trial Version
https://www.verydoc.com/doc-to-any.html
DOC to Any Converter SDK/COM Version
1 Server License USD$395

Code:
[DllImport(@"pdfshell.dll", CharSet = CharSet.Auto)]
static extern uint DocToAnyRunCmd([MarshalAs(UnmanagedType.LPStr)] string strCmdLine);
public void ConvertFile()
{
    string strCmd;
    strCmd = "-$ XXXXXXXXXXXXXXXXXXXX " + objCommonData.StrFileName + " " +     strOutFile + "";
    uint nRet = DocToAnyRunCmd(strCmd);

    if (nRet != 0)
    {
        // objCommonData.StatusPDFConverter = true;
    }
}

Customer

---------------------------------------------------------------

Yes, our DOC to Any Converter does convert DOCX files to PDF files. Please notice, you need install MS Office 2007 or MS Office 2010 in order to convert DOCX files to PDF files, what version of MS Office installed in your system?

You need also set MS Word DCOM run inside an interactive user account instead of default system user account, please look at following web pages for more information,
https://www.verydoc.com/blog/cannot-test-doc2any-on-net.html
https://www.verydoc.com/blog/how-to-call-doc2any-exe-from-asp-code.html
https://www.verydoc.com/doc-to-any-shell.html
https://www.verydoc.com/blog/run-doc2any-on-windows-2003-or-windows-2008-system.html
http://www.verypdf.com/wordpress/201201/how-to-call-doc2any-exe-or-htmltools-exe-from-a-service-20896.html
https://www.verydoc.com/blog/how-to-call-doc2any-from-php.html
http://www.verypdf.com/wordpress/201107/the-info-from-doc-converter-not-working-1016.html
http://www.verypdf.com/wordpress/201106/combine-word-doc-files-into-one-pdf-file-864.html
http://www.verypdf.com/wordpress/201107/rtf-to-pdf-1051.html

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!