Autosave properties wont set using C#


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

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