Does it do the same thing with "CStr()"?

On Apr 11, 2006, at 11:28 PM, Carlos M wrote:

I'm starting to move projects created with 2005r4 to 2006r2 and in
some of them code like:
 Dim s As String = Str(wordObj.MeaningCount)
Gives the following error on 2006r2:
"There are several items with this name and it is not clear which one
the call refers to."

The error highlights "Str" on the line.
wordObj is an OLEObject and MeaningCount returns an Integer.

If I use instead:
 Dim i As Integer = wordObj.MeaningCount
No error happens.

On RB2005r4 it works fine.

Anyone can "decode" that error message or is this a bug?

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>


William H Squires Jr
4400 Horizon Hill #4006
San Antonio, TX 78229
[EMAIL PROTECTED] <- remove the .nospam

_______________________________________________
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