Click here to Skip to main content
15,921,959 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Add a text label to an image Pin
Luc Pattyn23-Sep-07 6:50
sitebuilderLuc Pattyn23-Sep-07 6:50 
QuestionHow to Hide IP while connecting to different web sites ? Pin
Rizwan Bashir22-Sep-07 10:13
Rizwan Bashir22-Sep-07 10:13 
AnswerRe: How to Hide IP while connecting to different web sites ? Pin
GuyThiebaut22-Sep-07 10:50
professionalGuyThiebaut22-Sep-07 10:50 
QuestionDirectX AudioVideoPlayback: LoaderLock Pin
codemunkeh22-Sep-07 5:30
codemunkeh22-Sep-07 5:30 
Questiondatabinding Pin
ejaz_pk21-Sep-07 21:28
ejaz_pk21-Sep-07 21:28 
AnswerRe: databinding Pin
pmarfleet22-Sep-07 0:51
pmarfleet22-Sep-07 0:51 
GeneralRe: databinding Pin
ejaz_pk23-Sep-07 9:56
ejaz_pk23-Sep-07 9:56 
GeneralRe: databinding Pin
pmarfleet23-Sep-07 10:49
pmarfleet23-Sep-07 10:49 
Handle the AfterSelect event to respond to node selection. The TreeViewEventArgs object supplied to the event handler has a Node property which will give you a reference to the selected node.

The TreeNode class exposes a Tag property which allows you to store any object data. You could consider creating your own data class to hold your associated and storing an object instance of it in this property for each node. It depends on how much data you need to associate with each node and how many items you are displaying in your TreeView. If the items/data are few, using the Tag property seems a good way to go. If the items/data are many, you may have to consider fetching the associated data from the database when a node is selected.

Regards

Paul
QuestionScreen size woes Pin
frankiebaby221-Sep-07 19:30
frankiebaby221-Sep-07 19:30 
AnswerRe: Screen size woes Pin
Christian Graus21-Sep-07 19:59
protectorChristian Graus21-Sep-07 19:59 
GeneralRe: Screen size woes Pin
frankiebaby221-Sep-07 20:34
frankiebaby221-Sep-07 20:34 
QuestionHow to write amount in words Pin
Swiss Mantoro21-Sep-07 15:55
Swiss Mantoro21-Sep-07 15:55 
AnswerRe: How to write amount in words Pin
Dave Kreskowiak21-Sep-07 16:11
mveDave Kreskowiak21-Sep-07 16:11 
GeneralRe: How to write amount in words Pin
Paul Conrad21-Sep-07 17:32
professionalPaul Conrad21-Sep-07 17:32 
AnswerRe: How to write amount in words Pin
Christian Graus21-Sep-07 16:12
protectorChristian Graus21-Sep-07 16:12 
AnswerRe: How to write amount in words Pin
parth.p22-Sep-07 0:45
parth.p22-Sep-07 0:45 
GeneralRe: How to write amount in words Pin
Dave Kreskowiak22-Sep-07 3:09
mveDave Kreskowiak22-Sep-07 3:09 
GeneralRe: How to write amount in words Pin
parth.p22-Sep-07 3:11
parth.p22-Sep-07 3:11 
GeneralRe: How to write amount in words Pin
Dave Kreskowiak22-Sep-07 3:23
mveDave Kreskowiak22-Sep-07 3:23 
GeneralRe: How to write amount in words Pin
Swiss Mantoro24-Sep-07 19:43
Swiss Mantoro24-Sep-07 19:43 
AnswerRe: How to write amount in words Pin
Colin Angus Mackay22-Sep-07 1:54
Colin Angus Mackay22-Sep-07 1:54 
QuestionCheckbox on Datagrid? Pin
Widgets21-Sep-07 14:55
Widgets21-Sep-07 14:55 
AnswerRe: Checkbox on Datagrid? Pin
Gary Bigman27-Sep-07 5:47
Gary Bigman27-Sep-07 5:47 
QuestionClickOnce and File Associations Problem Pin
Kschuler21-Sep-07 10:55
Kschuler21-Sep-07 10:55 
QuestionUnload Event - VB2005 Pin
parth.p21-Sep-07 7:19
parth.p21-Sep-07 7:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.