Results 1 to 11 of 11

Thread: [RESOLVED] Documentation

  1. #1

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Resolved [RESOLVED] Documentation


    Hi All
    I make some user control and the class in the VB.NET , and also make some class library and the common control.
    Bu now I want to make the documentation of all the control made by me class made me, So hoe to make the batter documentation of the control and class library made by me in the VB.NET
    What are the rules for it and what are the basic thing to remember in the controls and class library documentation?

  2. #2

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Documentation

    Any idea

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Documentation

    Not a specific question regarding .NET or databases.

    Moved to General Developer

  4. #4
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Documentation

    If using Vb2005, typing 3 single quotes above a method/member etc will create a template for you to fill like:-

    VB Code:
    1. ''' <summary>
    2.     ''' An abstract base class that a document area writer class must implement
    3.     ''' to draw data onto a structured print document
    4.     ''' </summary>
    5.     ''' <remarks>This interface defines teh bare minimum requirement but
    6.     ''' implementing classes can extend the functionality by implementing
    7.     ''' extra parameters</remarks>
    8.     Public Interface IStructuredPrintDocumentAreaWriterBase

    Fill this in and then use the Sandcastle tool (available for free download from Microsoft) to compile it up to a help file that integrates with MSDN help...

  5. #5

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Documentation

    I want to make documentation in the word file not in the dot net project

  6. #6
    Fanatic Member Valleysboy1978's Avatar
    Join Date
    Nov 2004
    Location
    Planet Xeoroaniar CC Posts:1,928,453,459,361
    Posts
    770

    Re: Documentation

    Bad idea as there will be no link to the project and can easily be lost. Use what was suggested by Merrion and after creating the MSDN help for your control it can then be easily ported into Word
    Life is one big rock tune

  7. #7
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148

    Re: Documentation

    For a user control youi should also consider decorating the class members with the <Description()> and <category()> attributes (from system.componentmodel) so that they play nicely with the property grid in the IDE.

  8. #8

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up Re: Documentation

    Quote Originally Posted by Valleysboy1978
    Bad idea as there will be no link to the project and can easily be lost. Use what was suggested by Merrion and after creating the MSDN help for your control it can then be easily ported into Word

    But it is the company requirement so i have to make it in the word file so have you now any idea for it.
    I am able to make it but i do not know the proper way

  9. #9
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: Documentation

    Well if you use Merrion's method, it will output an XML file with the documentation that is above the code. You could then apply a style sheet to that document and render it to HTML.

    The problem with a word document is that if a function gets changed, you have to manually update the document, whereas if you keep the info in the code, it can rebuild your docs for you automatically.

  10. #10
    Fanatic Member Slaine's Avatar
    Join Date
    Jul 2002
    Posts
    641

    Re: Documentation

    Use merrions method above but use nDoc instead - it can output word files IIRC
    Martin J Wallace (Slaine)

  11. #11

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Documentation


    Thanks to you all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width