i am just try to generate output file after user save the dcr. I don't want them to go browse again and give new file name to save the output file. I just want them to save the dcr and generation should happen automatically. making sense??
I think you would be better using formapi to set the output file (and TPL if needed). Check out IWPageGeneration.setOutputFile and when the person closes the DCR it will ask if they want to generate which that can say yes or no. This will for the path and file name for you.