C# Word Interop - Open a .pdf without the conversion prompt
问题 I am using the Word Interop and wish to open a .pdf file and let word automatically do the conversion. I have the following properties set. var wordApp = new Word.Application(); wordApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone; wordApp.Options.DoNotPromptForConvert = true; wordApp.Options.ConfirmConversions = false; var doc = wordApp.Documents.OpenNoRepairDialog(ExternalFilePath, false, true); However when it does the Open I still get the following prompt: Word version 2016. Does anyone