Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Iron Speed
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
 
Unread ASP Free Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 28th, 2004, 06:21 AM
x_c4_4u x_c4_4u is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Zimbabwe
Posts: 34 x_c4_4u User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 10 m 15 sec
Reputation Power: 4
Send a message via Yahoo to x_c4_4u
linking treeview with listview

i need help on linking a treeview with a listview ;
i am linking an access database to vb(6.0) and i want to show the database contents with a treeview which lists the tables and then a listview which showws corresponding details of the table selected

Reply With Quote
  #2  
Old September 28th, 2004, 04:30 PM
AnnaChen AnnaChen is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: USA
Posts: 73 AnnaChen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 58 m 29 sec
Reputation Power: 4
Quote:
Originally Posted by x_c4_4u
i need help on linking a treeview with a listview ;
i am linking an access database to vb(6.0) and i want to show the database contents with a treeview which lists the tables and then a listview which showws corresponding details of the table selected
In the treeview control NodeClick event, you can based on the Node Tag, decide what you going to load to your listview(using SQL). Try it!

AnnaChen

Reply With Quote
  #3  
Old October 11th, 2004, 11:20 AM
diwakerverma diwakerverma is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 4 diwakerverma User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up linking databse to treeview and listview

i've seen your question in the forum. since i was working on same kind of project lately so i'm sending u snippet of code and hoping that it will help you.
i read your full question after i've developed this program for you then i found that u needed to fill the listview with the table present in the databse. So if i'll find time then
i'll send that one also.

find the attachment...
bye
diwaker verma
email : diwakerverma@indiatimes.com, diwaker_verma@yahoo.com
Attached Files
File Type: zip Test database treeview.zip (26.4 KB, 604 views)

Reply With Quote
  #4  
Old October 13th, 2004, 02:51 AM
x_c4_4u x_c4_4u is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Zimbabwe
Posts: 34 x_c4_4u User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 10 m 15 sec
Reputation Power: 4
Send a message via Yahoo to x_c4_4u
thanks a lot for the code snippet it worked well.
i am currently working on the datareport and i will upload it as soon as i am thru

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > linking treeview with listview


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway