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

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -

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