i'm trying to convert a .doc | .docx file into .pdf but the conversion is happening but i get this popup box is there anyway to avoid this
here is my code
Microsoft.Office.Interop.Word.Application wordapp = new Microsoft.Office.Interop.Word.Application();
Microsoft.Office.Interop.Word.Document wordDoc = wordapp.Documents.Open(@"C:\inetpub\wwwroot\WebSite1\temp\random.docx");
wordDoc.Protect(Microsoft.Office.Interop.Word.WdProtectionType.wdNoProtection);
wordDoc.ExportAsFixedFormat(@"C:\inetpub\wwwroot\WebSite1\temp\random.pdf", Microsoft.Office.Interop.Word.WdExportFormat.wdExportFormatPDF,false);
Thanks all