Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 1640: VB / C# confusion in definition bar
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jun 22 2008 :  7:55:10 PM  Show Profile  Reply with Quote
Having two projects with related code loaded, one in C# the other in VB, VAX gets confused about what to display in the definition bar: for the C# project it shows the function definition in VB syntax

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 23 2008 :  09:39:08 AM  Show Profile  Reply with Quote
Which IDE are you using?

I am seeing something here, using VS2005 and VA 1640, but I am not actually sure if what I am seeing is right or wrong. In both C# and VB the definition field shows me:

System.Object GetValue(System.String, System.Object, Microsoft.Win32.RegistryValueOptions)

while I get a C# tooltip in C# and a VB tooltip in VB.

What are you seeing for GetValue in your VB code?

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jun 23 2008 :  09:43:43 AM  Show Profile  Reply with Quote
VS2005 + latest SP.
The tooltips are correct for both languages, the definition bar is wrong only for the C# code.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 23 2008 :  09:54:30 AM  Show Profile  Reply with Quote
In VB are you seeing:

System.Object GetValue(System.String, System.Object, Microsoft.Win32.RegistryValueOptions)

or are you actually seeing something different in the definition bar? That text makes sense to me, but it is not showing the parameter name so it does not match either the C# or the VB tooltip that I am seeing.

I am starting to wonder if I am seeing something quite different to you.

Which OS are you using? That might be a factor.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jun 23 2008 :  10:08:27 AM  Show Profile  Reply with Quote
Are you seeing my screenshot? Thats what i see here:
Public Function GetValue(ByVal Index As Object, Optional ByVal DefaultValue As Object = Nothing) As Object

OS = WinXP
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 23 2008 :  5:16:14 PM  Show Profile  Reply with Quote
I see one screen shot showing C# code. Are you seeing the same text in the definition field in VB? I never get that text, in either language.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Jun 23 2008 :  5:20:30 PM  Show Profile  Reply with Quote
Yes, same text in the definition bar for both languages.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 24 2008 :  09:58:49 AM  Show Profile  Reply with Quote
I have put in a bug report including your screen shot and the results of my tests. I am not sure what to make of this, but hopefully it will make more sense to one of our developers.

case=17861

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000