Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1640: VB / C# confusion in definition bar

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Uniwares Posted - Jun 22 2008 : 7:55:10 PM
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
7   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 24 2008 : 09:58:49 AM
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
Uniwares Posted - Jun 23 2008 : 5:20:30 PM
Yes, same text in the definition bar for both languages.
feline Posted - Jun 23 2008 : 5:16:14 PM
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.
Uniwares Posted - Jun 23 2008 : 10:08:27 AM
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
feline Posted - Jun 23 2008 : 09:54:30 AM
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.
Uniwares Posted - Jun 23 2008 : 09:43:43 AM
VS2005 + latest SP.
The tooltips are correct for both languages, the definition bar is wrong only for the C# code.
feline Posted - Jun 23 2008 : 09:39:08 AM
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?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000