Guest JellyDonutMan Posted February 2, 2003 Posted February 2, 2003 I've been reading a few articles about adding tooltips to Functions, Methods, etc... but none really tell how it is done. Most just say it uses XML .. I think its part of .NET's Intellisense, but not sure... Any information on how to add ToolTips in VB.NET would be nice :) Quote
*Experts* Bucky Posted February 2, 2003 *Experts* Posted February 2, 2003 The C# language has special comments that use XML to describe methods, classes, and other members. These comments are understood by VS.NET, and they show up in IntelliSense. They are also useful because a help file about your class can easily be created based on these comments. I have yet to find a way to do this in VB.NET, but I'd love to see it done. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
*Experts* Volte Posted February 2, 2003 *Experts* Posted February 2, 2003 I believe there is a special utility that you can get to do it... what it is I don't know; I'd be interested to know, though. Quote
wyrd Posted February 2, 2003 Posted February 2, 2003 Do you guys mean this? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_xmlcomments.asp?frame=true Quote Gamer extraordinaire. Programmer wannabe.
*Experts* Volte Posted February 2, 2003 *Experts* Posted February 2, 2003 That would be the one. Thanks wyrd. :) Quote
Moderators Robby Posted February 2, 2003 Moderators Posted February 2, 2003 Hmmm, someone asked about this last month, where were you then?. I'm kidding. :) Thanks wyrd. Quote Visit...Bassic Software
Jelly Donut Man Posted February 2, 2003 Posted February 2, 2003 Thanks. I'll look this over and see if I can get it to work. Quote
wyrd Posted February 2, 2003 Posted February 2, 2003 Hmmm, someone asked about this last month, where were you then?. I'm kidding. :) Thanks wyrd. Heh NP. I actually asked this very same question myself on these forums and posted the answer once I found it... http://www.xtremedotnettalk.com/showthread.php?s=&threadid=49410 Quote Gamer extraordinaire. Programmer wannabe.
Moderators Robby Posted February 2, 2003 Moderators Posted February 2, 2003 I missed that thread, and yes I hope too that the next version allows devs to add it to the code... Quote Visit...Bassic Software
wyrd Posted February 2, 2003 Posted February 2, 2003 Indeed. Just one more small reason as to why I've been toying with C# lately instead of VB.NET. :( Quote Gamer extraordinaire. Programmer wannabe.
Jelly Donut Man Posted February 2, 2003 Posted February 2, 2003 Umm... Ok, This works nicely .. but is there a way to compile it into the DLL so that its not changeable, right now where ever the dll goes the xml file goes too :-\ Quote
Cywizz Posted February 3, 2003 Posted February 3, 2003 I don't think it is possible to compile the documentation xml into your dll. Note that you only need the .xml file on a developer's box, so you don't need to deploy it.... Bad that it's that available for VB though (as with c#)..... any idea if it features in vs.net 2003? Quote Howzit??
Threads Posted February 7, 2003 Posted February 7, 2003 Thanks, wyrd. This is what I was looking for today. Quote mov ax, 13h int 10h
*Gurus* divil Posted February 7, 2003 *Gurus* Posted February 7, 2003 It's not going to be in VS.NET 2003, perhaps in VS.NET Yukon. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.