VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Export treeview to HTML

Koen Muilwijk  (1 Submission)   Internet/HTML   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code takes a treeview as parameter and generates HTML that exactly represates this treeview. This includes indentation, images, bold-text, etc.
I couldn't find any good code that could generate the right HTML (there were lots of errors in most of the code) so I decided to make my own version.
This code is based on code by Chetan Sarva and for a little bit on Manu Bangia.

Inputs
The treeview itself, the directory where the treeview images are stored and the directory where the images are stored that are used by the treeview

Assumes
Just call the Tree2HTML(...) function with the right paramters

Returns
A HTML string

Rate Export treeview to HTML (5(5 Vote))

Download Export treeview to HTML

Export treeview to HTML Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters