Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ListView and XML

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Euzinho Dassilva
Advanced Cheater
Reputation: 0

Joined: 08 Sep 2007
Posts: 62

PostPosted: Sun Nov 04, 2007 4:28 pm    Post subject: ListView and XML Reply with quote

Well, I'm here again

Display lots of information in a TreeView it's not a good way, then I want (or I hope to want ^^) display in a List View.

But, the information area in a XML file and I can't add programatically.

I found a class that reads from a TXT file, separated by commas. Ugly!

Then, anyone can help me with a class (or routines) to do this: populate a TreeView with XML, no mattering the hierarchy levels?

I tried this one

Works fine, but don't read "sub-levels", then XMl's like:

Code:
<level>
<content>Test</content>
</level>


Don't works FOR ME, because no error occur

Thanks

[EDIT]

I found a code in a Russian Site that works in parts.

The compiled version(EXE) of package reads all XML tags of file, makes headers and shows items. But, if open the .vbproj file, the instruction:

Code:
lvitem.SubItems.Add(reader.Value)

is underlined with green the lvitem word, because I need an object instance.

But if I create a object instance, the code don't show nothing. And if I comment the Else that contains this line, only the first tag values are presented.

[SECOND EDIT]

Now works fine. I only need change the line:

Code:
Dim lvitem As ListViewItem

To

Code:
Dim lvitem As New ListViewItem()

Instantiating the object before all
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites