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
Post a Comment