473,396 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Tooltips in VB.Net at Designtime

When you work in VB.Net and you reference a component.

The your create an object to represent the component. Then if the
outocomplete feature shows you a list of available methods in the class, and
then you have that tooltip that pops up next to the item that you have
selected... how would you add those into components that you create?

My first guess is to add an attribute to the method, but I have not been
able to find one that works. Anyone have a clue?

Thanks
David Taylor

Nov 20 '05 #1
7 5706
Hi David,

Sorry, you change language and write in C# whereupon you can specify these
things in comments above your methods. So far VB doesn't have this facility. I
believe it will be coming though, it seems silly only having it in C#. Many VB
developers are asking about it.

Regards,
Fergus
Nov 20 '05 #2
Hi,

The powertoys for vs.net 2003 has an addin which will help.
VBCommenter
http://www.gotdotnet.com/team/ide/

Ken
----------------
"W1ld0ne [MCSD]" <W1*******@hotmail.com> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
When you work in VB.Net and you reference a component.

The your create an object to represent the component. Then if the
outocomplete feature shows you a list of available methods in the class, and then you have that tooltip that pops up next to the item that you have
selected... how would you add those into components that you create?

My first guess is to add an attribute to the method, but I have not been
able to find one that works. Anyone have a clue?

Thanks
David Taylor

Nov 20 '05 #3
Hi, It's called XML Documentataion. It's not available in VB.NET by default,
but don't worry!! There are programs that allow you to do such things.

Mr Wagner has a link to some such programs, I believe they are free.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
"W1ld0ne [MCSD]" <W1*******@hotmail.com> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
When you work in VB.Net and you reference a component.

The your create an object to represent the component. Then if the
outocomplete feature shows you a list of available methods in the class, and then you have that tooltip that pops up next to the item that you have
selected... how would you add those into components that you create?

My first guess is to add an attribute to the method, but I have not been
able to find one that works. Anyone have a clue?

Thanks
David Taylor

Nov 20 '05 #4
Hello,

"W1ld0ne [MCSD]" <W1*******@hotmail.com> schrieb:
When you work in VB.Net and you reference a component.

The your create an object to represent the component. Then
if the outocomplete feature shows you a list of available
methods in the class, and then you have that tooltip that pops
up next to the item that you have selected... how would you add
those into components that you create?


There are some tools available which can be used to generate the XML
file
required for the tooltips:

My XML Comments FAQ:

VB Commenter
http://www.gotdotnet.com/team/ide/
-> section "VB Commenter"

XML Documentation
http://www.gotdotnet.com/team/vb/
-> section "XML Documentation"

VBXC - VB.NET XML Commentor
http://vbxmldoc.tor-erik.net/index.shtml

NDOC (formerly DOC.NET)
http://ndoc.sourceforge.net/

VB.DOC
http://vb-doc.sourceforge.net/

--
Herfried K. Wagner
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #5
And indeed, downloading an addin allows you to have cake, and eat it.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

"Maybe it's a game called 'Punish the User'"
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:#7**************@tk2msftngp13.phx.gbl...
Hi David,

Sorry, you change language and write in C# whereupon you can specify these things in comments above your methods. So far VB doesn't have this facility. I believe it will be coming though, it seems silly only having it in C#. Many VB developers are asking about it.

Regards,
Fergus

Nov 20 '05 #6
LOL
Nov 20 '05 #7
Thanks a hole bunch to everyone who replied... Really helped allot!

Wizard
AKA David Taylor

"W1ld0ne [MCSD]" <W1*******@hotmail.com> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
When you work in VB.Net and you reference a component.

The your create an object to represent the component. Then if the
outocomplete feature shows you a list of available methods in the class, and then you have that tooltip that pops up next to the item that you have
selected... how would you add those into components that you create?

My first guess is to add an attribute to the method, but I have not been
able to find one that works. Anyone have a clue?

Thanks
David Taylor

Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Ei | last post by:
I'm working on a C# Windows Forms application that is leaking memory. I've been using the SciTech NetMem Profiler 2 (A really great tool, BTW) to track down leaks. I've found one related to...
3
by: Wayne | last post by:
Is anybody aware of other software conflicting with Access and disabling the tool tips. I've had this problem in the past and now have it again after rebuilding my desktop and notebook. Both fail...
1
by: Wayne Aprato | last post by:
Tooltips in Access have not worked on my machine for a long time despite several reinstalls of the operating system and applications at fairly regular intervals. I have finally pinned down the...
0
by: stew_mclean | last post by:
Hi, I've developed a class that derives from component (rather than a control), and am trying to license it at design time. I've set the license attributes etc. to my custom license provider: ...
4
by: Cesario | last post by:
I'm trying to display formatted multi-line text in tooltips. It seems that the newline character works fine whereas the 'tab' character is causing problems and can't display properly. More...
4
by: Jeff Beem | last post by:
I have a class that inherits from TreeView. The treeview has tooltips for the nodes but they're showing up behind the form. Has anyone seen this? Are there any known fixes? Thanks in advance,...
21
by: PlainDave | last post by:
Hi, Is there a way to make windows tooltips stay up longer than the default 5 seconds using CSS in a web page? I'd prefer to have it stay visible as long as the mouse is over the "whatever." The...
1
by: Robert Smith | last post by:
Hello, I have a Tree that contains tooltips, however when I right click on a node of the tree the context menu covers up the tooltips and it looks rather unprofessional. I wish to hide the...
1
by: TyBreaker | last post by:
I have a simple form with a toolstrip on it and some toolstrip buttons. Tooltips work fine. But then I use the ShAppBarMessage API call to register the form as an Application Desktop Toolbar. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.