On Apr 12, 2006 6:15 AM, Brad Hutchings wrote:
> Looks like the compiler is having a hard time recognizing that
> wordObj.MeaningCount is a variant:

wordObj.MeaningCount is a integer - at least is what the code editor
reports on status when mousing over it.

> Try this:
>
>       Dim s As String = Str(Variant(wordObj.MeaningCount))

Tried it before and it gives "An exception of class
IllegalCastException was not handled...".

> Maybe one of the RS guys can comment on if this is a bug or
> a feature of some of the tighter type checking.

This error happens also with the Word example project that cames with
2006.

Anyway, thanks Brad :)

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