Open a word document
How to open a word document using javascript???
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Muhammad Shahid Farooq107 reputationPosted Aug 14, 2008, 10:20 AM EDT
See the following link:
http://labnol.blogspot.com/2006/05/open-microsoft-excel-word-application.html
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Aug 14, 2008, 2:50 PM EDT
gives a security alert with normal preferences set):
var wordDoc=new ActiveXObject('Word.Document');
// creates a new ActiveX object
wordDoc.Application.Visible=true;
// displays the application (Word) with the (empty) document loaded
// ...
// Do here whatever you like
// ...
wordDoc=null; // dispose of the reference
kamlesh sharma2 reputationPosted Feb 3, 2009, 11:53 PM EST
Hi,
Is there any way to open/create/edit a word doc from java script other then 'ActiveXOBject'?
Thanks
Kamlesh
Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Mar 10, 2009, 5:58 AM EDT
Hi
There is no otherway apart from ActiveXObject
Thanks -- Vijaya Kadiyala
http://dotnetvj.blogspot.com