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 -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

Python Tornado package error when running server -