|
-
Jan 16th, 2005, 10:56 AM
#1
Thread Starter
Frenzied Member
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?
-
Jan 16th, 2005, 11:20 AM
#2
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/
-
Jan 16th, 2005, 11:43 AM
#3
Re: Documentation Tools
I've just tried vbdocman and it's very promising.
-
Jan 16th, 2005, 08:55 PM
#4
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Jan 16th, 2005, 10:22 PM
#5
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.
-
Jan 16th, 2005, 11:45 PM
#6
Fanatic Member
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!
-
Jan 17th, 2005, 07:38 AM
#7
Fanatic Member
Re: Documentation Tools
You can get a great free
Document Generator from PSC.
Hope this helps!!!
Useful Links
.Net
#Develop, GhostDoc, CodeKeep , be.PINVOKE, Good Code Snippet Site
Krypton Toolkit, XPCC / XP Common Controls, QSS Windows Forms Components
VB.COM
VB.Classic Help File, MB Controls, MZTools, ADO Stored Procedure Generator add-in,
-
Jan 17th, 2005, 09:04 AM
#8
Re: Documentation Tools
 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
-
Jan 17th, 2005, 09:38 AM
#9
Re: Documentation Tools
 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:
Dim intCounter ' This is used to iterate through For Loops
For intCounter = 1 to 10
' ...
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|