Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Resetting an identifier Pin
Colin Angus Mackay23-Jun-07 10:35
Colin Angus Mackay23-Jun-07 10:35 
Questionquestion Pin
anjoom23-Jun-07 4:06
anjoom23-Jun-07 4:06 
AnswerRe: question Pin
doWhileSomething23-Jun-07 9:11
doWhileSomething23-Jun-07 9:11 
AnswerRe: question Pin
Christian Graus23-Jun-07 13:27
protectorChristian Graus23-Jun-07 13:27 
Questionposition of referenced dll Pin
firefoxpdm23-Jun-07 3:11
firefoxpdm23-Jun-07 3:11 
AnswerRe: position of referenced dll Pin
Dave Sexton23-Jun-07 7:45
Dave Sexton23-Jun-07 7:45 
QuestionRe: position of referenced dll [modified] Pin
firefoxpdm23-Jun-07 9:30
firefoxpdm23-Jun-07 9:30 
Questiontreeview code improvement Pin
Nilish23-Jun-07 2:50
Nilish23-Jun-07 2:50 
i was populating the treeview with the hard drives items.
For that i am using the following code under the TreeView1_AfterExpand method
If (e.Action = TreeViewAction.Unknown) Then<br />
            Exit Sub<br />
        End If<br />
        If (e.Node.Nodes.Count > 0) Then<br />
            e.Node.Nodes.Clear()<br />
        End If<br />
        Dim dirinfo() As String = Directory.GetDirectories(e.Node.Text)<br />
        For count As Integer = 0 To dirinfo.Length - 1<br />
            Dim dir As New DirectoryInfo(dirinfo(count))<br />
            If (dir.Attributes = FileAttributes.Directory Or dir.Attributes = 17) Then<br />
                e.Node.Nodes.Add(dir.Name)<br />
            End If<br />
            dir = Nothing<br />
        Next


can i improve the code.
i am asking for the improvement because to the speed limitations.
i think there is some unuseful code which i am writing.
AnswerRe: treeview code improvement Pin
Dave Kreskowiak24-Jun-07 6:26
mveDave Kreskowiak24-Jun-07 6:26 
QuestionDirect HDD sector read/write in vb.net Pin
VIP-CoMmAnDo23-Jun-07 0:26
VIP-CoMmAnDo23-Jun-07 0:26 
QuestionExecute an Exe while startup... Pin
Dileep_Vickey23-Jun-07 0:21
Dileep_Vickey23-Jun-07 0:21 
AnswerRe: Execute an Exe while startup... Pin
The ANZAC23-Jun-07 0:33
The ANZAC23-Jun-07 0:33 
Questionchange position of column of DataGridview Pin
Rupesh Kumar Swami22-Jun-07 23:47
Rupesh Kumar Swami22-Jun-07 23:47 
AnswerRe: change position of column of DataGridview Pin
ctlqt1223-Jun-07 6:26
ctlqt1223-Jun-07 6:26 
GeneralRe: change position of column of DataGridview Pin
Rupesh Kumar Swami24-Jun-07 23:29
Rupesh Kumar Swami24-Jun-07 23:29 
Questionexit code Pin
Sonia Gupta22-Jun-07 21:29
Sonia Gupta22-Jun-07 21:29 
AnswerRe: exit code Pin
Christian Graus22-Jun-07 21:45
protectorChristian Graus22-Jun-07 21:45 
QuestionRe: exit code Pin
Sonia Gupta22-Jun-07 22:51
Sonia Gupta22-Jun-07 22:51 
AnswerRe: exit code Pin
Christian Graus23-Jun-07 13:29
protectorChristian Graus23-Jun-07 13:29 
AnswerRe: exit code Pin
Guffa23-Jun-07 0:16
Guffa23-Jun-07 0:16 
AnswerRe: exit code Pin
Dave Kreskowiak23-Jun-07 4:31
mveDave Kreskowiak23-Jun-07 4:31 
AnswerRe: exit code Pin
The Man from U.N.C.L.E.25-Jun-07 12:08
The Man from U.N.C.L.E.25-Jun-07 12:08 
QuestionExecuting an application while windows starts. Pin
Dileep_Vickey22-Jun-07 20:37
Dileep_Vickey22-Jun-07 20:37 
AnswerRe: Executing an application while windows starts. Pin
Rupesh Kumar Swami22-Jun-07 20:55
Rupesh Kumar Swami22-Jun-07 20:55 
AnswerRe: Executing an application while windows starts. Pin
Christian Graus22-Jun-07 21:46
protectorChristian Graus22-Jun-07 21:46 

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.