Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: class structure Pin
Luc Pattyn10-Mar-09 8:26
sitebuilderLuc Pattyn10-Mar-09 8:26 
GeneralRe: class structure Pin
captainmogo10-Mar-09 8:48
captainmogo10-Mar-09 8:48 
GeneralRe: class structure Pin
Luc Pattyn10-Mar-09 8:55
sitebuilderLuc Pattyn10-Mar-09 8:55 
Questionproblem in printing Pin
Jagz W10-Mar-09 7:11
professionalJagz W10-Mar-09 7:11 
AnswerRe: problem in printing Pin
Dave Kreskowiak11-Mar-09 2:50
mveDave Kreskowiak11-Mar-09 2:50 
QuestionProgress bar and FTP server Pin
Farid_Bilal10-Mar-09 6:33
Farid_Bilal10-Mar-09 6:33 
AnswerRe: Progress bar and FTP server Pin
0x3c010-Mar-09 6:55
0x3c010-Mar-09 6:55 
QuestionTreeview duplicating nodes Pin
garfield18510-Mar-09 4:45
garfield18510-Mar-09 4:45 
Hi all.

I've got a problem.
I'm developing an app on VB.NET, and using a treeview control.
I need to check which of all the nodes on the treeview are marked with the checkbox, and it impossible to know how many of them there are, or how deep the tree goes on the nodes level, so I have developed a recursive function, that receives the node as a parameter.

It works fine, and makes what I need. The problem is that every time I make this operation, the nodes seem to duplicate in the treeview, although it is only visually, because when I check treeview.nodes.count property, it says there are only the number of nodes I had at the beggining.

I have developed a simple app with just a treeview and a button to make this operation, and it still seems to happen so I'm becoming quite desperate. Does somebody know why does it happens??
If someone needs to see the example, I can send it by email.

Thanks.

Time to come clean...

Vive y deja vivir / Live and let live

Javier

AnswerRe: Treeview duplicating nodes Pin
Jon_Boy10-Mar-09 9:07
Jon_Boy10-Mar-09 9:07 
GeneralRe: Treeview duplicating nodes Pin
garfield18510-Mar-09 21:59
garfield18510-Mar-09 21:59 
GeneralRe: Treeview duplicating nodes Pin
Jon_Boy11-Mar-09 3:36
Jon_Boy11-Mar-09 3:36 
GeneralRe: Treeview duplicating nodes Pin
garfield18511-Mar-09 3:56
garfield18511-Mar-09 3:56 
QuestionDelete from Mutiple listboxes at the same time Pin
Ebrima Sawaneh10-Mar-09 2:08
Ebrima Sawaneh10-Mar-09 2:08 
AnswerRe: Delete from Mutiple listboxes at the same time Pin
Jon_Boy10-Mar-09 9:13
Jon_Boy10-Mar-09 9:13 
Questionresizing flash sockwave object in vb.net Pin
hrishiS10-Mar-09 1:25
hrishiS10-Mar-09 1:25 
Questionvb.net set up Pin
hrishiS10-Mar-09 1:22
hrishiS10-Mar-09 1:22 
AnswerRe: vb.net set up Pin
Johan Hakkesteegt11-Mar-09 8:00
Johan Hakkesteegt11-Mar-09 8:00 
QuestionResizing Windows Forms Pin
briogene10-Mar-09 0:24
briogene10-Mar-09 0:24 
AnswerRe: Resizing Windows Forms Pin
Dave Kreskowiak10-Mar-09 7:48
mveDave Kreskowiak10-Mar-09 7:48 
Questionmerge module for crystal report [modified] Pin
hrishiS10-Mar-09 0:21
hrishiS10-Mar-09 0:21 
QuestionSetup in vb.net Pin
mahalakshmi4210-Mar-09 0:17
mahalakshmi4210-Mar-09 0:17 
AnswerRe: Setup in vb.net Pin
briogene10-Mar-09 0:28
briogene10-Mar-09 0:28 
QuestionUser Control Sub Properties. Pin
Nanda_MR9-Mar-09 23:39
Nanda_MR9-Mar-09 23:39 
AnswerRe: User Control Sub Properties. Pin
Dave Kreskowiak10-Mar-09 7:40
mveDave Kreskowiak10-Mar-09 7:40 
QuestionIncrement using Database Pin
nazimghori9-Mar-09 23:31
nazimghori9-Mar-09 23:31 

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.