c# - Handle temporary Word documents -


my app creates temp documents , opens them follows:

string tmppath = system.io.path.gettempfilename().replace(".tmp", ".docx"); savedocument(tmppath); // saves in-memory tmp path can open using startprocess startprocess(tmppath); 

now when users modify docuement , leave word, they're asked if want save changes - writes changes tmppath.

is there way tell word new document save dialog opens save dialog instead of overwriting temp file?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -