Thursday, March 26, 2009

Coding for open a document file using javascript

Note: Works in IE only

var fso=new ActiveXObject("Word.Application");
fso.Documents.Open(open_path);
fso.Visible=true;
fso.close();

No comments: