We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Open a new created doc without saving it first in Form application

What code do I need to open a newly created .doc file from within a Form Application.

I dont not want to save the doc. Just open it in word and let the user decide what he wants to do with it.

Currently I'm doing this:

string fileName = "AfrekeningCursisten" + " - " + werking.Omschrijving + " - " + strMaand + jaar.ToString() + ".docx";

doc.Save(fileName, SaveFormat.Docx);


But this saves the file on the system automatically! I dont want to save it. Just open it


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

Thanks for your request. Please see the following link to learn how to achieve what you need:


Please let me know in case of any issues. I will be glad to help you.

Best regards,

Well, i know that method and used it before....

But now i'm using the Aspose.Words inside a Form Application and there is no response available.

So how can i just open the newly created file, without saving it?


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

Thanks for your inquiry. There is no way to open document in MS Word without saving it to disk. To open document in MS Word (View button in demo) is used the following method.


This starts MS Word. Unfortunately there is no way to open document in MS Word from stream.

Best regards,