Click here to Skip to main content
15,917,645 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDatabase Issues: Can't save a thing! Pin
The ANZAC26-Sep-06 11:45
The ANZAC26-Sep-06 11:45 
AnswerRe: Database Issues: Can't save a thing! Pin
Christian Graus26-Sep-06 12:30
protectorChristian Graus26-Sep-06 12:30 
GeneralRe: Database Issues: Can't save a thing! Pin
The ANZAC26-Sep-06 23:18
The ANZAC26-Sep-06 23:18 
GeneralRe: Database Issues: Can't save a thing! Pin
Dave Kreskowiak27-Sep-06 2:22
mveDave Kreskowiak27-Sep-06 2:22 
GeneralRe: Database Issues: Can't save a thing! Pin
The ANZAC27-Sep-06 21:35
The ANZAC27-Sep-06 21:35 
GeneralRe: Database Issues: Can't save a thing! Pin
Dave Kreskowiak28-Sep-06 3:45
mveDave Kreskowiak28-Sep-06 3:45 
QuestionRegardin displaying parent node Pin
praveen kumar mahto26-Sep-06 11:30
praveen kumar mahto26-Sep-06 11:30 
AnswerRe: Regardin displaying parent node Pin
Dave Kreskowiak27-Sep-06 9:10
mveDave Kreskowiak27-Sep-06 9:10 
I'm not seeing what your trying to describe. You mean you want to show a list of the parent nodes for each child node you click on?? Something like:
Parent1
    Parent2
        Parent3
            ClickedChildNode

Every TreeNode object, whether it's a Parent and/or Child, has a Parent property that returns the parent node of the current node. For example, above, if you clicked on ClickedChildNode, it's Parent property would return the Parent3 treenode. All you have to do is keep getting the parent of each parent node until Parent returns Nothing, meaning your at the top of the tree.

TreeNode.Parent[^] property docs.


Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionLooping through controls using FOR EACH Pin
MatthysDT26-Sep-06 5:34
MatthysDT26-Sep-06 5:34 
AnswerRe: Looping through controls using FOR EACH Pin
mr_lasseter26-Sep-06 6:53
mr_lasseter26-Sep-06 6:53 
QuestionPlaying MP3 file Pin
mido1326-Sep-06 4:37
mido1326-Sep-06 4:37 
AnswerRe: Playing MP3 file Pin
Christian Graus26-Sep-06 12:32
protectorChristian Graus26-Sep-06 12:32 
Questionvertical tab control Pin
tatapower26-Sep-06 4:02
tatapower26-Sep-06 4:02 
QuestionNEVER_Minimizable form Pin
K edar V26-Sep-06 3:34
K edar V26-Sep-06 3:34 
AnswerRe: NEVER_Minimizable form Pin
Dave Sexton26-Sep-06 5:02
Dave Sexton26-Sep-06 5:02 
GeneralRe: NEVER_Minimizable form Pin
K edar V26-Sep-06 19:58
K edar V26-Sep-06 19:58 
Questiondatagrid columnheader alignment Pin
Smithers-Jones26-Sep-06 3:16
Smithers-Jones26-Sep-06 3:16 
AnswerRe: datagrid columnheader alignment Pin
Dave Sexton26-Sep-06 5:04
Dave Sexton26-Sep-06 5:04 
GeneralRe: datagrid columnheader alignment Pin
Smithers-Jones27-Sep-06 3:28
Smithers-Jones27-Sep-06 3:28 
QuestionCannot show multiple values for combobox DisplayMember? Pin
Rashar26-Sep-06 3:15
Rashar26-Sep-06 3:15 
AnswerRe: Cannot show multiple values for combobox DisplayMember? Pin
Coding1234566-Apr-09 18:18
Coding1234566-Apr-09 18:18 
QuestionReload main form? Pin
cstrader23226-Sep-06 2:07
cstrader23226-Sep-06 2:07 
AnswerRe: Reload main form? Pin
Christian Graus26-Sep-06 12:33
protectorChristian Graus26-Sep-06 12:33 
QuestionSend emails from windows form Pin
Nikhil Bandekar26-Sep-06 2:03
Nikhil Bandekar26-Sep-06 2:03 
AnswerRe: Send emails from windows form Pin
Christian Graus26-Sep-06 12:34
protectorChristian Graus26-Sep-06 12:34 

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.