View Single Post
  #15 (permalink)  
Old 06-10-2008, 10:07 PM
Cableguy's Avatar
Cableguy Cableguy is online now
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,464
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Once more I need guidance working with the treeview...

I nedd to read a file(.INI) and, acording with some StrAt values, create the appropiate levels and sub-levels of the treeview nodes...
I have been to the point of being able to read and create all the read nodes, but all at the same level...

When i read an INI file, if it is a complex one, I have to be able to create the sub-levels, but how...I keep getting an error of "invalid reference " or whatever..

Example Treeview result :
+Default.INI
|--Key01
|--Comment01
+-Category01
XX|-Key02
XX|-Comment02
+-Category02
XX|-Key03
XX|-Comment03


INI File:
Key01
'Comment01

[Category01]
Key02
'Comment02

[Category02]
Key03
'Comment03
Attached Files
File Type: sbp teste.sbp (5.0 KB, 4 views)
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote