ThePentiumGuy Posted August 14, 2004 Posted August 14, 2004 Hey, .NET helps you out by providing tooltips for each argument when you type in a Function. For example when you type in MessageBox.Show( it will tell you that the first argument is a string, but it will also tell you that this argument is "The text to display in the MessageBox" <-- this is what i want to do. How do you write your own help for your functions? Is it simple ;)? -The Pentium Guy Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
*Experts* mutant Posted August 14, 2004 *Experts* Posted August 14, 2004 It is called XML Documentation. VB.NET IDE currently doesn't support it, but C# does. Just place the caret over a method, property etc. and type in three slashes and the IDE will generate required tags. Also, in your project properties you have to set a name for the documentation file and property which specifies whether to create the doc file. Quote
ThePentiumGuy Posted August 14, 2004 Author Posted August 14, 2004 Ah man...:(. Wish VB.NET supported it as well. Oh well, it's no big deal - descriptive function arguments will do. Thanks, -The Pentium Guy Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
ThePentiumGuy Posted August 14, 2004 Author Posted August 14, 2004 Actually, a quick Google search worked :). www.gotdotnet.com/team/vb/ and www.fesersoft.com/products/vbxmlcomments/default.asp :). Thanks for telling me bout what it was called. Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Denaes Posted August 14, 2004 Posted August 14, 2004 Don't quote me 100% on this, but I heard the vb2005 has native XML Help Quote
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.