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 -

php - Cannot override Laravel Spark authentication with own implementation -

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