HOW TO FORBID THE FUNCTION OF 'SAVE AS' OR 'SAVE'?

how to forbid 'saveas'?

Any commencts welcome!

SolidworksApi macros