Unable to display doc file preview before upload

Hi all,
I was able to save a doc file to DB and was even able to display it.But i want to display the preview of the doc file brfore saving it into database.I need to do this using server side scripting.Could you please provide me any sample or examples on how to do this
Thanks!

Hi all,
I was able to save a doc file to DB and was even able to display it.But i want to display the preview of the doc file brfore saving it into database.I need to do this using server side scripting.Could you please provide me any sample or examples on how to do this
Thanks!

Hi Sahi,

Thanks for your inquiry. Please check following article to send document to client browser for preview. Hopefully it will serve your purpose.
https://docs.aspose.com/words/net/save-a-document/
Please feel free to contact us for any further query.
Best Regards,

Hi Sahi,

Thanks for your query. You can preview your document in browser. Please convert your document to SWF/HTML and render the output to browser. Please see the code below.

Document doc = new Document(MyDir + "in.docx");
doc.Save(Response, "Report Out.swf", ContentDisposition.Inline, null);

Hope this answers your query. Please let us know if you have any more queries.