Skip to content

How to import Bookmarks favorites file to treeview

amr abdelpaset

Asked Mar 11, 2006, 7:17 AM EST1 answer
Share
LinkedInX

hi
i'm export my favorites links from internet explorer as html file
now i want to import this ( html ) file to tree view on my form
i can read form this file and get folder name and URL but i cann't make it as tree it's now in on level only
i want to read from this file and make tree view in many level

example read HTML file and consider it contain two level but in fact it's contain three level
as this picture

http://www.segaal.com/BookMarks_Level.jpg


can you help me
if you want to explanation pls tell me

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • +1

    Salam
    i think that you must trace the html file line by line
    in your html file the headers or levels names e.g microsoft forms...etc are written in  H3 header

    microsoft forms


    we must search the html file for all headers like this and adds them as main nodes in the tree view,
    then search for the hyperlinks under each one(for this point use regualr expression) and add them as subnodes
    if solution is suitable to you reply to continue................

    +1