Click here to Skip to main content
15,920,503 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Runtime instance creation Pin
SelvaShankar20-Oct-08 19:06
SelvaShankar20-Oct-08 19:06 
AnswerRe: Runtime instance creation Pin
SelvaShankar31-Oct-08 2:06
SelvaShankar31-Oct-08 2:06 
QuestionPopulate TreeView on demand in VB Pin
Sonhospa16-Oct-08 9:46
Sonhospa16-Oct-08 9:46 
AnswerRe: Populate TreeView on demand in VB Pin
Dave Kreskowiak16-Oct-08 10:05
mveDave Kreskowiak16-Oct-08 10:05 
NewsRe: Populate TreeView on demand in VB Pin
Sonhospa16-Oct-08 11:24
Sonhospa16-Oct-08 11:24 
GeneralRe: Populate TreeView on demand in VB Pin
Dave Kreskowiak16-Oct-08 12:07
mveDave Kreskowiak16-Oct-08 12:07 
QuestionRe: Populate TreeView on demand in VB Pin
Sonhospa16-Oct-08 12:35
Sonhospa16-Oct-08 12:35 
AnswerRe: Populate TreeView on demand in VB Pin
Dave Kreskowiak16-Oct-08 13:50
mveDave Kreskowiak16-Oct-08 13:50 
Michael Schäuble wrote:
Dim actNode as TreeNode = TreeView.SelectedNode


Nope. Look at the eventargs you get in the method header, you know, the ByVal e As TreeView... part?? In the object, e, you get the node that is being expanded.
Private Sub TreeView1_BeforeExpand(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewCancelEventArgs) _
Handles TreeView1.BeforeExpand
    Dim actNode As TreeNode = e.Node
    ...
End Sub



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Populate TreeView on demand in VB Pin
Sonhospa16-Oct-08 20:22
Sonhospa16-Oct-08 20:22 
GeneralRe: Populate TreeView on demand in VB Pin
Dave Kreskowiak17-Oct-08 1:54
mveDave Kreskowiak17-Oct-08 1:54 
QuestionProblems Calling A Function Pin
Phantom71516-Oct-08 7:47
Phantom71516-Oct-08 7:47 
AnswerRe: Problems Calling A Function Pin
nlarson1116-Oct-08 7:56
nlarson1116-Oct-08 7:56 
GeneralRe: Problems Calling A Function Pin
Phantom71516-Oct-08 8:01
Phantom71516-Oct-08 8:01 
GeneralRe: Problems Calling A Function Pin
nlarson1116-Oct-08 8:05
nlarson1116-Oct-08 8:05 
AnswerRe: Problems Calling A Function Pin
Caio Kinzel Filho16-Oct-08 8:28
Caio Kinzel Filho16-Oct-08 8:28 
GeneralRe: Problems Calling A Function Pin
Phantom71516-Oct-08 8:44
Phantom71516-Oct-08 8:44 
GeneralRe: Problems Calling A Function Pin
Caio Kinzel Filho16-Oct-08 9:01
Caio Kinzel Filho16-Oct-08 9:01 
GeneralRe: Problems Calling A Function Pin
Phantom71516-Oct-08 9:04
Phantom71516-Oct-08 9:04 
GeneralRe: Problems Calling A Function Pin
Caio Kinzel Filho16-Oct-08 9:15
Caio Kinzel Filho16-Oct-08 9:15 
GeneralRe: Problems Calling A Function Pin
Caio Kinzel Filho16-Oct-08 9:17
Caio Kinzel Filho16-Oct-08 9:17 
GeneralRe: Problems Calling A Function Pin
Phantom71516-Oct-08 9:37
Phantom71516-Oct-08 9:37 
GeneralRe: Problems Calling A Function Pin
Caio Kinzel Filho17-Oct-08 6:55
Caio Kinzel Filho17-Oct-08 6:55 
QuestionThreading Problem in VB.NET Pin
Jim Buckley Barrett16-Oct-08 5:56
Jim Buckley Barrett16-Oct-08 5:56 
QuestionRe: Threading Problem in VB.NET Pin
Jim Buckley Barrett16-Oct-08 6:21
Jim Buckley Barrett16-Oct-08 6:21 
AnswerRe: Threading Problem in VB.NET Pin
Steven J Jowett16-Oct-08 6:29
Steven J Jowett16-Oct-08 6:29 

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.