On April 12, 2006 10:10 PM, Jonathan Johnson wrote:
> Actually, as of 2006r1, Str was overloaded to take all the
> different numeric types, but MeaningCount probably is something
> else (Variant perhaps?).

When mousing over "MeaningCount" on code editor it shows on status
bar:
 WordSynonymInfo.MeaningCount As Integer

The code I'm using is the following:
  Dim word As WordApplication
  Dim doc As WordDocument
  Dim wordObj as WordSynonymInfo

  word = New WordApplication
  doc = word.Documents.Add

  wordObj = word.SynonymInfo("great",1033)

  // This line gives the error
  Dim s As String = Str(wordObj.MeaningCount)
  MsgBox s

  // Using this instead does not give any error
  'Dim i As Integer = wordObj.MeaningCount
  'MsgBox str(i)

Carlos

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to