Click here to Skip to main content
15,913,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Urgent Need help: VB.NET serialport Pin
Dave Kreskowiak27-May-07 7:14
mveDave Kreskowiak27-May-07 7:14 
GeneralRe: Urgent Need help: VB.NET serialport Pin
CPallini27-May-07 8:37
mveCPallini27-May-07 8:37 
QuestionTree View and Folders directories Pin
FriendlySoluations26-May-07 3:45
FriendlySoluations26-May-07 3:45 
AnswerRe: Tree View and Folders directories Pin
alhokail26-May-07 11:31
alhokail26-May-07 11:31 
GeneralRe: Tree View and Folders directories Pin
FriendlySoluations26-May-07 21:22
FriendlySoluations26-May-07 21:22 
GeneralRe: Tree View and Folders directories Pin
alhokail26-May-07 22:00
alhokail26-May-07 22:00 
GeneralRe: Tree View and Folders directories Pin
FriendlySoluations26-May-07 22:47
FriendlySoluations26-May-07 22:47 
GeneralRe: Tree View and Folders directories Pin
alhokail27-May-07 9:52
alhokail27-May-07 9:52 
i am not sure if i understod you correctly but you can use the AfterSelect event of the treeview control and you can get the name of the node by using the following line

MsgBox(e.Node.Text)

but for your code, it will be harder to read because you are including the entire path of each file which makes it hard for the user. What i suggest is use the same code as mine (add only the name of the file and use the Name property of the node to store the whole path. if you do this, then you would have to use the line:

MsgBox(e.Node.Name)

instead of the first one. after you get the path of the selected node, then you can use a list view control to display files and folders and do whatever you want to do with them.

hope this makes things more clear.

Khalid




GeneralRe: Tree View and Folders directories Pin
FriendlySoluations27-May-07 23:00
FriendlySoluations27-May-07 23:00 
GeneralRe: Tree View and Folders directories Pin
alhokail28-May-07 7:49
alhokail28-May-07 7:49 
QuestionConvert first letter of each word to uppercase Pin
samerh26-May-07 3:27
samerh26-May-07 3:27 
AnswerRe: Convert first letter of each word to uppercase Pin
Colin Angus Mackay26-May-07 5:45
Colin Angus Mackay26-May-07 5:45 
AnswerRe: Convert first letter of each word to uppercase Pin
CPallini26-May-07 10:24
mveCPallini26-May-07 10:24 
AnswerRe: Convert first letter of each word to uppercase Pin
Duncan Edwards Jones28-May-07 3:09
professionalDuncan Edwards Jones28-May-07 3:09 
Questionhow can a software check for recent updates and download the files within the application Pin
raj_aish26-May-07 3:19
raj_aish26-May-07 3:19 
AnswerRe: how can a software check for recent updates and download the files within the application Pin
Thomas Stockwell26-May-07 15:42
professionalThomas Stockwell26-May-07 15:42 
QuestionHow to set timeout in VB.net Pin
Nguyen Thi Thanh26-May-07 1:31
Nguyen Thi Thanh26-May-07 1:31 
AnswerRe: How to set timeout in VB.net Pin
Dave Kreskowiak27-May-07 7:11
mveDave Kreskowiak27-May-07 7:11 
Questiondisplaying images in datagrid Pin
chiyankrishna26-May-07 0:06
chiyankrishna26-May-07 0:06 
QuestionHOw to pass parameters to a sub called by a thread Pin
sabby200625-May-07 21:30
sabby200625-May-07 21:30 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa25-May-07 23:21
Guffa25-May-07 23:21 
GeneralRe: HOw to pass parameters to a sub called by a thread Pin
sabby200627-May-07 19:57
sabby200627-May-07 19:57 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa27-May-07 21:27
Guffa27-May-07 21:27 
GeneralRe: HOw to pass parameters to a sub called by a thread Pin
sabby200628-May-07 0:28
sabby200628-May-07 0:28 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa28-May-07 7:55
Guffa28-May-07 7:55 

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.