Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q267, Friday September 21, 2007 at 01:50:11

You are here: irt.org | About | Feedback | 5048 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q267

Sent by
Raghavendra Singari on Friday September 21, 2007 at 01:50:11

Worth:
Not worth reading

Length:
Too short

Technical:
Not technical enough

Comments:
Hi we can try using this function below..even though it activates the activex content i guess that should be fine
*******************************************************************
function loadworddoc(){

var doc = new ActiveXObject("Word.Application"); // creates the word object

doc.Visible=false; // doesn't display Word window

doc.Documents.Open("C:\\Documents and Settings\\trainer\\Desktop\\Samjad.doc"); // specify path to

document


//copy the content from my word document and throw it into my variable

var txt;

txt = doc.Documents("C:\\Documents and Settings\\trainer\\Desktop\\raghu.doc").Content;

document.all.myarea.value = txt;

doc.quit(0); // quit word (very important or you'll quickly chew up memory!)

}
*******************************************************************





Other feedback on 'irt.org FAQ Knowledge Base Q267' - show all

©2018 Martin Webb