Drawings do not Save on disk

Hi,

I am working on a macro to generate drawing and other thing from assembly components.I have a problem becouse newly generated drawings do NOT save if I use No. 2. way of saving it does not save the file! If I use No. 1. works fine but I get windows explorer window to save the drawing.I would like the file to be saved silently with no user touch.

Here is a sub I use to save:

Thank you for any help.

SolidworksApi macros