473,473 Members | 2,219 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Obtain contents of an external listview and/or treeview

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.

May 28 '06 #1
4 1545
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
<ms****@gmail.com> schreef in bericht
news:11**********************@j73g2000cwa.googlegr oups.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.

May 28 '06 #2
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

May 29 '06 #3
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.

May 30 '06 #4

ms****@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

Jun 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: alan | last post by:
Hello, Can ListView have some event just like the event BeforeSelect of TreeView? When a user try to select another item in the ListView, I would like to do some checking first. If the result...
1
by: newbie | last post by:
Hello, I maybe asking too much in a single posting, but here it goes: I building a windows form that mimic's the Outlook XP GUI. Its a three pane form that will allow a user to view and edit...
2
by: Adam Klobukowski | last post by:
Hello i need to find out the last fully visible item of a Llistview. If it would be a treeview then it would be easy, I'm even thinkin of faking my treeview as listview, but maybe there is some...
3
by: Danny Tuppeny | last post by:
Hi all, I need to build a Treeview/Listview control (none of those on codeproject do quite what I need!), and was considering using one of the existing controls as a starting point, though now...
7
by: Progalex | last post by:
Hi everybody! I have a listview and a treeview in a form . With an OpenDialog I let the user select multiple files and then these files are added to the listview with the complete pathname,...
0
by: Danny Tuppeny | last post by:
Hi all, I have a need to display a message list in the same way as Outlook Express/Thunderbird displays new posts (and probably most other newsreaders, like the one you're using now!). I know...
6
by: Beginner | last post by:
Hi, I'm trying to populate a TreeView from an existing and filled in ListView (lvwBuild). lvwBuild is a basic two column listview which can have any number of rows. I would like the first...
0
by: MrColeyted | last post by:
I am designing an app that is similar to Windows Explorer. I have all working well. By clicking a directory in the treeview, the folders and files for that directory are displayed in the listview....
1
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Hi, i am looking for a way to clear and fill a listview and right after a treeview nearly flicker and delay free. The TreeView and Listview contain Images and about 1000 Items. What can someone...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.