** 

Hi

 

I'm not an expert on this by any stretches of the imagination, but I was
looking for something similar the other day and came accross

 

Word.Quit(0);  

 

Where Word= new ActiveXObject("Word.Application");  

 

which I use in a javascript snippet in a form's view header. Seems to work
ok.

 

I found this a few days ago with random google searches trying to do the
same thing with remedy & OLE via javascript. This closes the doc and ends
the winword process without prompting to save the document - the 0 passed to
Quit tells it not to prompt (I think)...I've no idea where to get the
documentation for all the methods. Random googling seems to work.

 

Hope this helps.

 

Steve

 

 

-----Original Message-----
From: Olds, Kimberly M [mailto:[EMAIL PROTECTED] 
Sent: 24 January 2007 16:00
To: arslist@ARSLIST.ORG
Subject: OLE Automation with Word - AR 5.1.2 or AR 7

 

Hello!  I am at my wits end and I am hoping that one of the Remedy Gurus out
there can help with my quest.

 

I have been tasked with implementing spell check in one of my applications.
I was able to find some items on the support site and on the FTP server and
was able to get it to open Word, run spell check and grammar and then put it
back - but I am having trouble getting the last OLE Automation action to
close Word to work.  I have sample workflow that works and have tried to
recreate it but I get an OLE error when I try to close word.  I also have
sample workflow that runs where it just pops up the spell check box from
Word and you don't know that word is even running.  Problem is that although
you can see what was picked for each OLE method - I don't know where to pick
the methods from and there are thousands of methods to pick from.  

 

Can anyone recommend some documentation that can help me find where the
methods I am trying to find are nested or can tell me what to pick to get
Word to close or even if there is a better way.  

 

Any help is appreciated!

 

Thanks

 

AR 5.1.2 and AR 7

Word 2000 and 2003

Oracle 

Win 2000 and Win 2003 Servers

 

Kim Olds

Anne Arundel County Public Schools - Remedy Developer and Help Desk
Specialist

410-222-5254

410-222-5611 fax

 

__20060125_______________________This posting was submitted with HTML in
it___

======================================================================== 
This email message is for the sole use of the intended recipient (s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. To reply to our email administrator directly, send
an email to [EMAIL PROTECTED] 
Toys "R" Us, Inc.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to