How do you have multi flags?
This code only takes the last flag so the Over Write Prompt works, but the Read Only part is still there.Code:CommonDialog1.Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*" CommonDialog1.Flags = cdlOFNHideReadOnly CommonDialog1.Flags = cdlOFNOverwritePrompt CommonDialog1.ShowSave




Reply With Quote