Click here to Skip to main content
16,005,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: how to trap unhandled errors in VB.NET? Pin
Kschuler9-Apr-08 5:03
Kschuler9-Apr-08 5:03 
Questionget date input from user Pin
meghanaVishwa13-Mar-08 1:07
meghanaVishwa13-Mar-08 1:07 
GeneralRe: get date input from user Pin
C1AllenS13-Mar-08 1:52
C1AllenS13-Mar-08 1:52 
QuestionRe: get date input from user Pin
meghanaVishwa13-Mar-08 2:57
meghanaVishwa13-Mar-08 2:57 
GeneralRe: get date input from user Pin
Christian Graus13-Mar-08 9:59
protectorChristian Graus13-Mar-08 9:59 
QuestionRe: get date input from user Pin
meghanaVishwa13-Mar-08 21:23
meghanaVishwa13-Mar-08 21:23 
QuestionBoolean in Subroutines. Pin
Veldrain13-Mar-08 0:48
Veldrain13-Mar-08 0:48 
GeneralRe: Boolean in Subroutines. Pin
ESTAN13-Mar-08 2:19
ESTAN13-Mar-08 2:19 
I don't see the problem where the showFiles boolean should be true at start or where it can be changing.

What you can do (not totally sure, but at least you can try)
change
Sub DisplayDirTree(ByVal dir As String, ByVal showFiles As Boolean, Optional ByVal level As Integer = 0)
to
Private Sub DisplayDirTree(ByVal dir As String, Optional ByVal showFiles As Boolean = False, Optional ByVal level As Integer = 0)

So, make it private, and make the showFiles Optional to False.

Let us know what it does.

another thing you can do is set a break on the beginning of the sub and Watch the variable showFiles, is it set the way you want it, and while you step through your code, does it got changed?
QuestionListBox DrawItem Horizontal scrollbar Pin
penguin500013-Mar-08 0:10
penguin500013-Mar-08 0:10 
GeneralRe: ListBox DrawItem Horizontal scrollbar Pin
Paul Conrad21-Mar-08 9:38
professionalPaul Conrad21-Mar-08 9:38 
GeneralDocking / drag&drop [modified] Pin
Yustme12-Mar-08 23:37
Yustme12-Mar-08 23:37 
QuestionHow do i break nested loops in VB.NET Pin
www.Developerof.NET12-Mar-08 23:05
www.Developerof.NET12-Mar-08 23:05 
AnswerPls Ignore Pin
www.Developerof.NET12-Mar-08 23:30
www.Developerof.NET12-Mar-08 23:30 
AnswerRe: How do i break nested loops in VB.NET Pin
AshokPatra12-Mar-08 23:30
AshokPatra12-Mar-08 23:30 
GeneralRe: How do i break nested loops in VB.NET Pin
ChandraRam13-Mar-08 0:34
ChandraRam13-Mar-08 0:34 
GeneralRe: How do i break nested loops in VB.NET Pin
AshokPatra13-Mar-08 0:40
AshokPatra13-Mar-08 0:40 
GeneralRe: How do i break nested loops in VB.NET Pin
ChandraRam13-Mar-08 0:44
ChandraRam13-Mar-08 0:44 
GeneralRe: How do i break nested loops in VB.NET Pin
AshokPatra13-Mar-08 0:53
AshokPatra13-Mar-08 0:53 
QuestionHow to Package the DLLs Pin
AshokPatra12-Mar-08 22:39
AshokPatra12-Mar-08 22:39 
GeneralRe: How to Package the DLLs Pin
Christian Graus12-Mar-08 22:42
protectorChristian Graus12-Mar-08 22:42 
GeneralRe: How to Package the DLLs Pin
AshokPatra12-Mar-08 23:09
AshokPatra12-Mar-08 23:09 
GeneralRe: How to Package the DLLs Pin
Christian Graus13-Mar-08 0:13
protectorChristian Graus13-Mar-08 0:13 
GeneralRe: How to Package the DLLs Pin
AshokPatra13-Mar-08 2:21
AshokPatra13-Mar-08 2:21 
GeneralRe: How to Package the DLLs Pin
herag13-Mar-08 15:37
herag13-Mar-08 15:37 
GeneralRe: How to Package the DLLs Pin
AshokPatra13-Mar-08 22:21
AshokPatra13-Mar-08 22:21 

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.