Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q267

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

  • irt.org FAQ Knowledge Base Q267 - Raghavendra Singari Friday September 21, 2007 at 01:50:11
  • irt.org FAQ Knowledge Base Q267 - Joe January 13, 2002 at 13:01:40:

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.