Welcome to Dream.In.Code
Become a VB Expert!

Join 150,131 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,155 people online right now. Registration is fast and FREE... Join Now!




Populate treeview

 
Reply to this topicStart new topic

Populate treeview, How to setup a access database table to populate treeview

CheyNash
18 Jul, 2008 - 12:45 AM
Post #1

New D.I.C Head
*

Joined: 18 Jul, 2008
Posts: 6

Hey,

as a newby here a first question, I'll try to populate a treeview from a database table, but can't get the table structure right, don't understand how to get my table set for by example a treeview sight of 7 children from the root.
I understand how to populate the treeview at design time, that's no problem, but trough a table ???
Can some one give me a helping hand please

Regarts
CheyNash

User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Populate Treeview
18 Jul, 2008 - 12:56 AM
Post #2

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 579



Thanked: 16 times
Dream Kudos: 575
My Contributions
Below thread explained how to populate treeview from Database using C#, same method you can use in VB.

http://www.dreamincode.net/code/snippet922.htm

This post has been edited by dineeshd: 18 Jul, 2008 - 01:23 AM
User is offlineProfile CardPM
+Quote Post

CheyNash
RE: Populate Treeview
18 Jul, 2008 - 01:17 AM
Post #3

New D.I.C Head
*

Joined: 18 Jul, 2008
Posts: 6

QUOTE(dineeshd @ 18 Jul, 2008 - 01:56 AM) *

Below thread had explained how to populate treeview from Database using C#, same method you can use in VB.

http://www.dreamincode.net/code/snippet922.htm


I thank You for the very fast replay, I'll look into it, hope I understand all of it

Regarts
Cheynash
User is offlineProfile CardPM
+Quote Post

CheyNash
RE: Populate Treeview
21 Jul, 2008 - 10:30 PM
Post #4

New D.I.C Head
*

Joined: 18 Jul, 2008
Posts: 6

QUOTE(dineeshd @ 18 Jul, 2008 - 01:56 AM) *

Below thread explained how to populate treeview from Database using C#, same method you can use in VB.

http://www.dreamincode.net/code/snippet922.htm


dear dineeshd,

I'll have worked my brains out to understand the code in C you send me, but sorry, it's to complicated for me. I love to use all I've got and am proud if some of my code works fine, but I'm a novice and have a lot to learn.
Can you, if it's possible give me an VB6 example, I would be very greatfull.
I'll tryed to send You a messege but that also didn't worked.
CheyNash


User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Populate Treeview
21 Jul, 2008 - 11:35 PM
Post #5

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 579



Thanked: 16 times
Dream Kudos: 575
My Contributions
Right now I don't have any VB6 sample. Let me search more to get one... rolleyes.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 01:47AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month