|
-
Mar 12th, 2001, 03:12 PM
#1
Thread Starter
New Member
Hi Folks,
My problem goes like this. I would like to check
grammar/synonyms and run a spell check on a text
field in an asp page. This, i am doing by creating
an instance of WORD.APPLICATION and accesing
its objects/members.
Consider the following script :
dim li
dim a
dim m
set w=createobject("Word.application")
set doc=w.documents.add
li= w.SynonymInfo("BIG").SynonymList(1)
Synonymlist returns an array of strings. But when
i try to access the array like,
msgbox li(1)
it gives my a 'type mismatch' error. I'v tried out
all sorts of possibilities but still this is still bugging
me.
U must also consider that this script is working
perfectly if it is executed thru a component.
Only when u access it through asp script does
it give u an error.
Help me out folks...!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|