I put a published example of a WORD to PDF doc code snippet in a button click event to test it. It does not work. The error message is included as comments.
Also the example produces a warning message...
Could you please take a look at what is published is correct or requires updating. If not, do you have an example that simply takes an existing Word document and converts it to a PDF format.
private void Button1_Click(object sender, System.EventArgs e)
Word word = new Word();
Pdf pdf = new Pdf();