pdfCreator c#

Hello.

I want convert a excel file in a pdf format with c#. I have created the code, based on the sample1 of the COM\\Dot Net\\VS2005\\C#\\ folder of the installation directory.

The problem is that when executes the line

            _PDFCreator.cPrintFile(fname);

bacause the excel file it openned and say me:

"to save the changes made ​​in "filename" .

And 3 options:

Save, not save, Cancel.

Are there any possibility not to see the excel and the message?

 

Thanks for all :D