Click here to Skip to main content
12,761,018 members (30,924 online)

Visual Basic

 
AnswerRe: cascading comboboxes vb.net windows forms Pin
ThePhantomUpvoter6-May-13 11:15
professionalThePhantomUpvoter6-May-13 11:15 
GeneralRe: cascading comboboxes vb.net windows forms Pin
Agontuk7-May-13 1:42
memberAgontuk7-May-13 1:42 
AnswerRe: cascading comboboxes vb.net windows forms Pin
Simon_Whale7-May-13 2:30
professionalSimon_Whale7-May-13 2:30 
AnswerRe: cascading comboboxes vb.net windows forms Pin
Dave Kreskowiak7-May-13 2:44
mvpDave Kreskowiak7-May-13 2:44 
GeneralRe: cascading comboboxes vb.net windows forms Pin
Agontuk9-May-13 9:53
memberAgontuk9-May-13 9:53 
QuestionHow to export the data from datagridview & all the data on the form1.vb make a report Pin
chandan H T5-May-13 2:24
memberchandan H T5-May-13 2:24 
AnswerRe: How to export the data from datagridview & all the data on the form1.vb make a report Pin
Eddy Vluggen5-May-13 9:49
mvpEddy Vluggen5-May-13 9:49 
QuestionTreeView Find not working Pin
treddie4-May-13 23:17
membertreddie4-May-13 23:17 
Hi.

For the life of me, I cannot get a TreeView Find to work. I have a list of drives, folders and subfolders in my TreeView. I have googled like crazy and either find repeated references to a very simple method, or convoluted methods that seem to apply to something else. Here is a very basic procedure that fails:

Private Sub TreeView1_AfterSelect(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles TreeView1.AfterSelect

Me.TreeView1.SelectedNode = Me.TreeView1.Nodes.Find("Client Supplied Files", True)(0)

End Sub


I put the Find method in the _AfterSelect event only because I was using that event as a test area to do the find. In other words...If I clicked on any node in the tree, the event would cause the selected node to change to the one specified in the search. But alas, no go. Cry | :((

I have to be missing something really simple here.

Thank you for any hints!
AnswerRe: TreeView Find not working Pin
Eddy Vluggen5-May-13 9:45
mvpEddy Vluggen5-May-13 9:45 
GeneralRe: TreeView Find not working Pin
treddie5-May-13 10:44
membertreddie5-May-13 10:44 
GeneralRe: TreeView Find not working Pin
Eddy Vluggen5-May-13 11:06
mvpEddy Vluggen5-May-13 11:06 
GeneralRe: TreeView Find not working Pin
treddie5-May-13 15:51
membertreddie5-May-13 15:51 
GeneralRe: TreeView Find not working Pin
jan212r5-May-13 21:55
memberjan212r5-May-13 21:55 
GeneralRe: TreeView Find not working Pin
treddie6-May-13 0:02
membertreddie6-May-13 0:02 
AnswerRe: TreeView Find not working Pin
Eddy Vluggen6-May-13 8:45
mvpEddy Vluggen6-May-13 8:45 
GeneralRe: TreeView Find not working Pin
treddie6-May-13 12:02
membertreddie6-May-13 12:02 
GeneralRe: TreeView Find not working Pin
Eddy Vluggen7-May-13 1:33
mvpEddy Vluggen7-May-13 1:33 
GeneralRe: TreeView Find not working Pin
treddie7-May-13 9:25
membertreddie7-May-13 9:25 
GeneralRe: TreeView Find not working Pin
Eddy Vluggen7-May-13 10:06
mvpEddy Vluggen7-May-13 10:06 
GeneralRe: TreeView Find not working Pin
treddie7-May-13 12:57
membertreddie7-May-13 12:57 
GeneralRe: TreeView Find not working Pin
Eddy Vluggen8-May-13 8:01
mvpEddy Vluggen8-May-13 8:01 
QuestionView the changes in the database by DATA SET... Pin
Vb Rnd4-May-13 7:23
memberVb Rnd4-May-13 7:23 
AnswerRe: View the changes in the database by DATA SET... Pin
Eddy Vluggen5-May-13 9:38
mvpEddy Vluggen5-May-13 9:38 
QuestionPathTooLongException and Solutions? Pin
treddie3-May-13 10:38
membertreddie3-May-13 10:38 
AnswerRe: PathTooLongException and Solutions? Pin
Eddy Vluggen5-May-13 10:43
mvpEddy Vluggen5-May-13 10:43 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 24 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid