Home All Groups Group Topic Archive Search About

Obtain contents of an external listview and/or treeview

Author
28 May 2006 2:43 AM
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.

Author
28 May 2006 4:56 AM
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
<msc***@gmail.com> schreef in bericht
Show quoteHide quote
news:1148784216.315488.179080@j73g2000cwa.googlegroups.com...
> 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.
>
Author
29 May 2006 6:35 PM
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
Author
30 May 2006 8:15 PM
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.
Author
22 Jun 2006 12:01 AM
method
msc***@gmail.com wrote:
> 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