Obtain contents of an external listview and/or treeview

M

mscdex

While upgrading a vb6 project of mine to vb.net 2005, where one of the
functions was to grab the data from external listviews and treeviews, I
noticed that some of the things crucial to doing the interprocess
communication needed was no longer possible with the existing code
because several things were not upgraded.

If someone could point me in the right direction as to how I'd get
external listview/treeview in .Net, I would greatly appreciate it as
I've been struggling with this for awhile now during my move to .Net.
 
C

Cor Ligthert [MVP]

MscDex,

We see not any part of code, remember by upgrading things as you describe
that there has been a shift in VB6 to VB2002. The Integer is now 32Bits, a
Long is now 64 bits. A short is 16 bits. This is mostly the problem with Api
calls.

I hope this helps,

Cor
 
M

mscdex

Sorry I forgot to mention this before but, when I made the project in
VB6 I had a couple of guides that I used to gather the data from
listviews and treeviews. I'm having trouble upgrading those
functions/subs mainly. I've tried to correct some of the more obvious
errors/changes, but some of them I'm stuck on as to what I should do.

These are the links to the two projects that I used previously that I'm
trying to upgrade:
http://www.xtremevbtalk.com/showthread.php?t=38288
http://www.xtremevbtalk.com/showthread.php?t=38276
 
M

mscdex

I have posted my code here:
http://mscdex.game-host.org/temp/treeviewdotnet.zip

I have tried to convert what I thought was correct, but memory grows
exponentially by looking at the Task Manager window when it my
application gets to the part where it iterates through the treeview and
obtains the information from the corresponding listview window.
 
M

method

I have posted my code here:
http://mscdex.game-host.org/temp/treeviewdotnet.zip

I have tried to convert what I thought was correct, but memory grows
exponentially by looking at the Task Manager window when it my
application gets to the part where it iterates through the treeview and
obtains the information from the corresponding listview window.

Hi . could u show me an example copying all items of external listbox
and listview ?thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top