# Treeview with pdf's and flv's

**URL:** <https://forum.kirupa.com/t/treeview-with-pdfs-and-flvs/231097>\
**Category:** Uncategorized\
**Created:** [July 2, 2007, 6:53am UTC](https://forum.kirupa.com/t/treeview-with-pdfs-and-flvs/231097 "2007-07-02T06:53:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fr33r1d3](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@fr33r1d3](https://forum.kirupa.com/u/fr33r1d3)\
**Post date:** [July 2, 2007, 6:53am UTC](https://forum.kirupa.com/t/treeview-with-pdfs-and-flvs/231097/1 "2007-07-02T06:53:07Z")

</div>

I have a problem with a tree-component.  
I have an XML-file with names of pdf-files and flv-files.  
I’m opening that file in a treeview-component. So long everything is fine.

How do I put different icons in the tree for the pdf’s and the flv’s?

If I click on a pdf in the tree, the right pdf-file should open up in a new window in my webbrowser. Any suggestions on that one?
