Free Support Forum -

Windows Forms | Open in MS Word Without Saving First

Is there way from a Windows Forms Application to open a document with out saving it to disk first? I know that it can be done from a web app via Document.Save(“filename”,SaveFormat.Doc,SaveType.OpenInWord,HttpResponse)

is there a Win App equivalent?

Thanks for your help!

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. When you use Save("filename",SaveFormat.Doc,SaveType.OpenInWord,HttpResponse) method, the document will be downloaded to the client machine and saved into the temporary folder. Then MS Word opens the document. Unfortunately there is no way to open document by MS Word without saving it to disk.

Best regards.