Free Support Forum - aspose.com

Generate Word files on local machine

Hi, I am new to ASPOSE but am very happy. So far I was able to generate all required word files and they look great! I am building an intranet and these documents should be generated and saved on the users/local machine… How to have the app running on a remote server, generating files locally?

Thank you

Hi

Thanks for your request. I think that you can save the document to a client browser. See the following link.

http://www.aspose.com/Products/Aspose.Words/Api/SendingtoaClientBrowser.html

I hope that it will help you.

Best regards.

The instructions refer to an option to open itself directly in the browser or in an application associated with .doc extension. Right now it is opening in the browser… how to make it open on the app associated with .doc extension? (Word)

Hi

You should use SaveType.OpenInWord. See the following code snippet.

doc.Save(fileName, SaveFormat.Doc, SaveType.OpenInWord, Response);

Best regards.