Results 1 to 2 of 2

Thread: word pronunciation and synonym

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2006
    Posts
    16

    word pronunciation and synonym

    AOA,
    in a form i have placed one richtextbox now i want my application give me the Pronunciation and a synonym of word written in richtetbox
    any one can help me in this regard

  2. #2
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: word pronunciation and synonym

    Synonyms are accessible through Microsoft.Office.Core:
    VB Code:
    1. Dim synonym As New Microsoft.Office.Interop.Word.Application
    2.         Dim arr As Array
    3.         arr = DirectCast(synonym.SynonymInfo("Yes").SynonymList(DirectCast(synonym.SynonymInfo("Yes").MeaningList, Array).GetValue(1)), Array)
    You have to refernce word's COM object.

    As for pronunciation, I think you're SOL. Even Microsoft Sam can't do that accurately. If you want though, you can set Microsoft Sam up to read the word to your user... But like I said, he's not very good.
    Last edited by sevenhalo; Apr 4th, 2006 at 12:13 PM. Reason: Make it Option Strict happy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width