Solved

VB.Net Comment Web pages

Posted on 2004-04-22
10
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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
 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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