Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

GetSpellingSuggestions -- 9132

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Suresh Govindachar - 11 Apr 2005 16:54 GMT
Hello,

I have successfully used the wdWildcard and wdAnagrams
constant with the SuggestionMode argument for the
GetSpellingSuggestions method for Word in Office 98.

But these constants cannot be used with Word 2000
and Word 2003 (see:
http://support.microsoft.com/default.aspx?scid=kb;en-us;224722
).

Is there any way I can use the dll and other files from
Office 98 to beef-up my Word 2003 so that I get support
for these constants?  If so, how?

Thanks,

--Suresh
Howard Kaikow - 12 Apr 2005 05:13 GMT
The KB article mentions only Word 2000.
The constants are defined in the type library for Word 2003.
Have you tried the code in Word 2003?

Signature

http://www.standards.com/; See Howard Kaikow's web site.

> Hello,
>
[quoted text clipped - 14 lines]
>
> --Suresh
Suresh Govindachar - 13 Apr 2005 04:56 GMT
I have tried on word 2003 (11.5604.5606) with no success.

--Suresh

> The KB article mentions only Word 2000.
> The constants are defined in the type library for Word 2003.
[quoted text clipped - 18 lines]
> >
> > --Suresh
Howard Kaikow - 13 Apr 2005 11:51 GMT
Could you post a code snippet that demonstrates the problem?

Signature

http://www.standards.com/; See Howard Kaikow's web site.

>
> I have tried on word 2003 (11.5604.5606) with no success.
[quoted text clipped - 23 lines]
> > >
> > > --Suresh
Suresh Govindachar - 13 Apr 2005 17:29 GMT
' Following code taken from microsoft example documentation
' Following code gives correct answer "look" on Word 98, but error 9132 on
Word 2003:

Sub DisplaySuggestions()
   Dim sugList As SpellingSuggestions
   Dim sug As SpellingSuggestion
   Dim strSugList As String
   Set sugList = GetSpellingSuggestions(Word:="loko",
SuggestionMode:=wdAnagram)
'wdSpellword)
   If sugList.Count = 0 Then
       MsgBox "No suggestions."
   Else
       For Each sug In sugList
           strSugList = strSugList & vbTab & sug.Name & vbLf
       Next sug
       MsgBox "The suggestions for this word are: " _
           & vbLf & strSugList
   End If
End Sub

> Could you post a code snippet that demonstrates the problem?
>
[quoted text clipped - 24 lines]
> > > >
> > > > --Suresh
Howard Kaikow - 13 Apr 2005 18:38 GMT
wdSpellWord works in Word 2003.
wdAnagram does not, at least not for the built-in spelling engine.

Signature

http://www.standards.com/; See Howard Kaikow's web site.

> Hello,
>
[quoted text clipped - 14 lines]
>
> --Suresh
Suresh Govindachar - 13 Apr 2005 20:19 GMT
I know wdSpellWord works.  My question has always been
about wdWildcard and wdAnagrams:

> > Is there any way I can use the dll and other files from
> > Office 98 to beef-up my Word 2003 so that I get support
> > for these constants?  If so, how?

--Suresh

> wdSpellWord works in Word 2003.
> wdAnagram does not, at least not for the built-in spelling engine.
[quoted text clipped - 17 lines]
> >
> > --Suresh
Howard Kaikow - 13 Apr 2005 22:05 GMT
Neither wdWilcard nor wdAnagrams works in Word 2003 with the default
spelling engine.

You might ask in microsoft.public.word.spelling.grammar.

Signature

http://www.standards.com/; See Howard Kaikow's web site.

>
> I know wdSpellWord works.  My question has always been
[quoted text clipped - 27 lines]
> > >
> > > --Suresh
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.