Important alert: (current site time 7/16/2013 3:49:11 AM EDT)
 

winzip icon

VB to HTML

Email
Submitted on: 3/16/2000
By: Bryan Cairns  
Level: Advanced
User Rating: By 19 Users
Compatibility: VB 5.0, VB 6.0
Views: 22871
 
     Converts Vb projects to html
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
3/16/2000 11:50:22 PMvillain

This is awesome! Really good - it actually works :) The only thing missing, is that when it outputs to html, it should keep the formatting from the code (indents etc) such that it is easier to read
(If this comment was disrespectful, please report it.)

 
3/17/2000 2:21:29 AMM.I.X

Nice pice of work.
I really like this Code Work..
Well done and thanks for some great codes!

M.I.X
(If this comment was disrespectful, please report it.)

 
3/17/2000 1:47:55 PMBryan Cairns

Cool - thanks guys, was not even sure that anyone would find this usefull. I use it everyday at work as a time saver cause my boss wants to document EVERYTHING :)
(If this comment was disrespectful, please report it.)

 
4/14/2000 10:41:18 AMSomu

Wow! Its simply Great Code. Keep up the good work. If could implement formating the source output (Indent,etc), it would be a great code.

Somu
(If this comment was disrespectful, please report it.)

 
4/26/2000 11:05:45 AMgary

You probably already are planning this, but in case your not... It would be incredibly useful to be able to click on the procedure name and be linked to the source for just that procedure. Along with a general Source Link, you could provide a link that shows the modules code that exists outside of procedures (ie, declarations, etc). This product has the potential of being a very useful tool. You might consider, loading this disected data into a SQL7 database, where it could be analyzed in a variety of ways. Whichever way you go, I'll be grabbing the updates!
(If this comment was disrespectful, please report it.)

 
4/27/2000 5:21:22 AMariad

Not too bad at all... A very nice piece of work, certainly the base of a more useful tool. Keep it up!
(If this comment was disrespectful, please report it.)

 
4/27/2000 5:21:22 AMariad

Not too bad at all... A very nice piece of working, certainly the base of a more useful tool. Keep it up!
(If this comment was disrespectful, please report it.)

 
4/27/2000 8:17:31 PMNico

Bryan,I tried your code
(If this comment was disrespectful, please report it.)

 
4/27/2000 8:18:12 PMNico

Bryan,
I tried your code & as you say, it locks. I did various changes & it is ok now.
(1) Put DoEvents in all loops(Do/While/For) Don't know which one did the trick.
(2) Changed in mod VBDoc.bas, in WriteVBHTMLFile,the loop to get the files from the list. I put
For etc.......Count -1
(3) I created Form_Unload with Unload.Me
(4) I created Form_QueryUnload to cater for when the user chooses the Close command from the Control Menu, to end the program. Else you get a 'Subscript out of range' in VBDoc.Bas, WriteVBHTMLFILe if the form is closed < the process is completed. E.G:
If Unloadmode = vbFormControlMenu Then
Unload Me
End 'Must have an END here
End If
Thanks
Nico at np069@telinco.co.uk
(If this comment was disrespectful, please report it.)

 
5/1/2000 6:53:30 PMringle

Looks good. Only one small suggestion, you may want to think about adding the ability to document class modules.
(If this comment was disrespectful, please report it.)

 
11/18/2000 11:30:02 AMAckbar

You should think about writing this to work with c/c++ as well maybe other languages and have it with several templates to use. You could probably make a little money on it if you gave it enough options. I gave you a 5
(If this comment was disrespectful, please report it.)

 
1/18/2001 8:48:07 AMPhilipp Weidmann

Great! Thank you for sharing it.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.