Hi,
Try the website :
http://www.planet-source-code.com
There you can find uploads from readers. If you browse the database section or do a search you sure will find an easy start.
R.
To read & write to the ports in VB6 you need a dll called inpout32.dll You can download it from the web : http://www.logix4u.net/
There are also example programs etc.
Hope this helps.
Good luck with your projects.
Robin
I found some stuff on planet-sourcecode .com.
It writes the tree in a file. I have not tested it personally but it can give you an idea.
This is the link :
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=58821
Good luck