Solved

VB.Net Comment Web pages

Posted on 2004-04-22
10
229 Views
Last Modified: 2010-04-24
Here's an easy one guys.

I want to build comment web pages.  How do I comment so that my comments appear on the web pages?

Thanks
Majin Loki
0
Comment
Question by:MajinLoki
  • 5
  • 5
10 Comments
 
LVL 6

Expert Comment

by:KGreg
ID: 11018115
What do you mean.. comment web page.. like a blog?

If so, you need a Database driven website.

KGreg
0
 
LVL 4

Author Comment

by:MajinLoki
ID: 11033530
No, in Visual Studios, you can create comment web pages that list all methods and attributes of each class/module and put them into a web page with comments, like Javadoc comments for Java.
0
 
LVL 6

Expert Comment

by:KGreg
ID: 11033701
read this:

http://www.csharphelp.com/archives/archive238.html


Also, I found a quick note about comment web pages.

from: http://www.devhood.com/messages/message_view-2.aspx?thread_id=105391

if you use xml tags in your code to describe everything (i.e. the <summary> tag) it will generate this nice outline of your class structure, kinda like java docs

Hope these help,

KGreg
0
 
LVL 4

Author Comment

by:MajinLoki
ID: 11035134
Can I do this with VB .NET projects?
0
 
LVL 6

Expert Comment

by:KGreg
ID: 11035193
Yea.. just set up the XML tags in your code.  Then you go to the Code View and click Tools->Build Comment Web Pages

KGreg
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Author Comment

by:MajinLoki
ID: 11035210
the <summary></summary> tags do not work with VB - they throw an error.  if I put hten inside comment delimiters, they don't work either.
0
 
LVL 4

Author Comment

by:MajinLoki
ID: 11035290
hmmm...I think maybe you can't.  I can't believe Microsoft wouldn't give VB this, but it appears that you cannot.  Ofcourse, I'm running VS 2002, not 2003, so maybe they have.

You can create a series of Web pages, called a code comment Web report, that allow you to browse the code structure within files in your current project or solution, such as objects and interfaces defined in a project, and members. Using special code comment syntax, you can also include notes or other information. By default, code comment Web pages are stored in a directory called CodeCommentReport, and this directory is placed in the directory containing the solution file.

Note   Currently, only C# supports the code comment syntax required for code comment Web reports. Additional languages might also support code comment syntax at a later date.

The home page for the code comment Web report lists summary information for the solution. This page is created regardless of whether or not you choose to build a Web report for a solution or just selected projects. Selecting a project from the home page takes you to a summary page for the project and displays a navigation pane. You can then browse the code structure for the project by selecting links from either the project summary page or from the navigation pane. The navigation pane lists all the namespaces within the project. These namespaces include classes, structures, interfaces, enumerators, and delegates.

0
 
LVL 6

Expert Comment

by:KGreg
ID: 11035297
Oh.. you have 2002.

I believe its supported in 2003.

KGreg
0
 
LVL 4

Author Comment

by:MajinLoki
ID: 11035300
I've also noticed that the code comments, when you run it with VB, do not display Modules.

Are there any free programs out there that would to the same thing for VB.net projects....maybe some sort of VS addin?
0
 
LVL 6

Accepted Solution

by:
KGreg earned 50 total points
ID: 11040289
I was unable to find any VS addins that provide this functionality for VB .net

Sorry,

KGreg
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now