Autosave properties wont set using C#

Hello,

I am trying to set the autosave properties through C# 2005 Express but for some reason the properties are not being changed.

Here is my code

clsPDFCreator creator = new clsPDFCreator();
clsPDFCreatorOptionsClass opt = (clsPDFCreatorOptionsClass)creator.cOptions;

        opt.AutosaveDirectory = @"C:\\Users\\Andrew\\Desktop";
        opt.AutosaveFilename = @"Report.pdf";
        creator.cOptions = opt;

Hope someone can help
Andrew

This should work. Please check the c# com sample1.