Results 1 to 9 of 9

Thread: Documentation Tools

  1. #1

    Thread Starter
    Frenzied Member agmorgan's Avatar
    Join Date
    Dec 2000
    Location
    Lurking
    Posts
    1,383

    Documentation Tools

    Assuming that you do document your code
    What method do you use?
    Do you have a Word/HTML document running parallel to your code or do you just document in the code?

    I found that the comments in code are hard to follow but the parallel documentation quickly got out of date (mostly due to me not keeping the documentation up with the code)

    Recently someone showed me a Documentation Tool for Python that parsed the comments in the code and created an HTML file out of it.

    Does anybody use anything like this for VB?

    What tools can you recommend?
    Are there any free ones that are as good as the commercial ones?

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Documentation Tools

    Have no clue how good/bad the following products are so give it a try:

    http://www.codework.com/codeprint/product.html
    http://www.vbdocman.com/

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Documentation Tools

    I've just tried vbdocman and it's very promising.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Documentation Tools

    Vbdocman looks like it should do the job, but $58 for the VB6 version may
    be too much for some programmers. You could write your own VB IDE Add-In
    to do the same thing. Shouldn't be too involved. I would assume that you
    just copy each line that hass comments and add them to a textfile or create
    a new Word Document - save $$$.

    HTH
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Documentation Tools

    I would just go with commercial version rather then spending time ...
    But personally - Word, Visio, etc are good enough for me when it comes to write documentaion.

  6. #6
    Fanatic Member Armbruster's Avatar
    Join Date
    Sep 2002
    Location
    Maryland Heights, MO
    Posts
    857

    Re: Documentation Tools

    Hmmmm, at my job those are usually many seperate beasts . . .

    I include lots of comments in my code . . .

    The buisness analyst creates a Functional Design Document stating how the application will function

    The application developer creates the Technical Design Document stating how he got the application to do what the FD says it should do

    The application developer also writes the Unit Test Script to verify it does what he/she says it does

    The application developer also writes the Change Management document to prepare the applications migration to QLTC and then Production

    The application developer and buisnesss analyst colaborate on any setup docs, user manuals, help manuals and user setup guides

    The buisness analyst writes the User Test Scripts and meets with buisness to verify the application works as intended in QLTC before migration to Production

    . . . did I miss any? . . .

    oh yeah, the buisiness analyst write the final release memo to buisness
    "Look! Up in the sky! It's a bird! It's a plane! It's Diaper-Head Boy! (there by my name!) Yes, Diaper-Head Boy, who disguised as my son, Seth, fights a never-ending battle for truth, justice and terrorizing my house!

    Resistance is futile, you will be compiled . . . Please!

  7. #7
    Fanatic Member Bombdrop's Avatar
    Join Date
    Apr 2001
    Location
    St Helens, England, UK
    Posts
    667

    Re: Documentation Tools

    You can get a great free
    Document Generator from PSC.

    Hope this helps!!!


  8. #8
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Documentation Tools

    Quote Originally Posted by Armbruster
    Hmmmm, at my job those are usually many seperate beasts . . .

    I include lots of comments in my code . . .

    The buisness analyst creates a Functional Design Document stating how the application will function

    The application developer creates the Technical Design Document stating how he got the application to do what the FD says it should do

    The application developer also writes the Unit Test Script to verify it does what he/she says it does

    The application developer also writes the Change Management document to prepare the applications migration to QLTC and then Production

    The application developer and buisnesss analyst colaborate on any setup docs, user manuals, help manuals and user setup guides

    The buisness analyst writes the User Test Scripts and meets with buisness to verify the application works as intended in QLTC before migration to Production

    . . . did I miss any? . . .

    oh yeah, the buisiness analyst write the final release memo to buisness
    I wish EVERY business analyst would do his/her job like the one you have ...
    In reality not every company can afford such position and if they do - not every BA will actualy write documentation which is usualy forwarded to poor developer so everybody else would just wash their hands.

    Cheers

  9. #9
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Documentation Tools

    Quote Originally Posted by agmorgan
    Assuming that you do document your code
    What method do you use?
    Do you have a Word/HTML document running parallel to your code or do you just document in the code?
    Not that this is the best way, but my preferred style is to code something from the ground up without any comments *gasp*.

    After I can release a version to a client (or boss, etc..) I then go back and document. This forces me to document from a fresh perspective. I find this helpful because I have a crappy memory and will forget everything about a project if I don't look at it after about 3 months.

    As far as visual style, I strongly refrain from putting no-duh comments inside of code blocks like this:

    VB Code:
    1. Dim intCounter ' This is used to iterate through For Loops
    2.  
    3. For intCounter = 1 to 10
    4. ' ...
    5. Next

    Instead, I prefer to put large-ish comment blocks at the top of complex functions, possibly zero comments for no-duh functions, and the top of each module gets a running log of changes to the code post-release.

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