Click here to Skip to main content
15,917,538 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSorting an Array ASCENDING ORDER Pin
PAguilar098-Nov-09 9:31
PAguilar098-Nov-09 9:31 
AnswerRe: Sorting an Array ASCENDING ORDER Pin
Luc Pattyn8-Nov-09 9:40
sitebuilderLuc Pattyn8-Nov-09 9:40 
AnswerRe: Sorting an Array ASCENDING ORDER Pin
Luc Pattyn8-Nov-09 10:06
sitebuilderLuc Pattyn8-Nov-09 10:06 
GeneralRe: Sorting an Array ASCENDING ORDER Pin
PAguilar098-Nov-09 14:53
PAguilar098-Nov-09 14:53 
GeneralRe: Sorting an Array ASCENDING ORDER Pin
Luc Pattyn8-Nov-09 15:12
sitebuilderLuc Pattyn8-Nov-09 15:12 
GeneralRe: Sorting an Array ASCENDING ORDER Pin
PAguilar099-Nov-09 3:15
PAguilar099-Nov-09 3:15 
QuestionHow to add all the items of treeview within the combobox? Pin
Milad.Biroonvand8-Nov-09 1:21
Milad.Biroonvand8-Nov-09 1:21 
AnswerRe: How to add all the items of treeview within the combobox? Pin
Milad.Biroonvand8-Nov-09 2:31
Milad.Biroonvand8-Nov-09 2:31 
I found the answer

The code is

Private Sub FillComboBox()
       Tv.PathSeparator = ">>>"
       Dim nodes As New List(Of TreeNode)
       Dim queue As New Queue(Of TreeNode)
       Dim top As TreeNode
       Dim nod As TreeNode
       For Each top In Tv.Nodes
           queue.Enqueue(top)
       Next
       While (queue.Count > 0)
           top = queue.Dequeue
           nodes.Add(top)
           For Each nod In top.Nodes
               queue.Enqueue(nod)
           Next
       End While
       ' nodes.Sort(System.Collections.Generic.IComparer(Of TreeView))
       For i As Integer = 0 To nodes.Count - 1
           GroupQuestionsCbo.Items.Add(nodes(i).FullPath)
       Next
   End Sub

GeneralRe: How to add all the items of treeview within the combobox? Pin
Steven J Jowett8-Nov-09 5:40
Steven J Jowett8-Nov-09 5:40 
QuestionHow to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 21:03
Milad.Biroonvand7-Nov-09 21:03 
RantRe: How to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 21:45
Milad.Biroonvand7-Nov-09 21:45 
AnswerRe: How to get a movie resolution (film file) Pin
Christian Graus7-Nov-09 22:31
protectorChristian Graus7-Nov-09 22:31 
GeneralRe: How to get a movie resolution (film file) Pin
Milad.Biroonvand7-Nov-09 22:42
Milad.Biroonvand7-Nov-09 22:42 
GeneralRe: How to get a movie resolution (film file) Pin
Christian Graus8-Nov-09 8:58
protectorChristian Graus8-Nov-09 8:58 
QuestionArray Elements to different LABELS Pin
PAguilar097-Nov-09 19:54
PAguilar097-Nov-09 19:54 
AnswerRe: Array Elements to different LABELS Pin
dan!sh 7-Nov-09 20:59
professional dan!sh 7-Nov-09 20:59 
AnswerRe: Array Elements to different LABELS Pin
Christian Graus7-Nov-09 22:32
protectorChristian Graus7-Nov-09 22:32 
QuestionColorDialog Help! Pin
thebiostyle7-Nov-09 15:43
thebiostyle7-Nov-09 15:43 
AnswerRe: ColorDialog Help! Pin
Christian Graus7-Nov-09 22:33
protectorChristian Graus7-Nov-09 22:33 
QuestionOne program code Gsm_Modem to send or receive has to face. Pin
Ir-win ChakadCo7-Nov-09 5:19
Ir-win ChakadCo7-Nov-09 5:19 
AnswerRe: One program code Gsm_Modem to send or receive has to face. Pin
Christian Graus7-Nov-09 9:13
protectorChristian Graus7-Nov-09 9:13 
QuestionHow open the OCX code in VB6.0 (Reach Full Source). Pin
Ir-win ChakadCo7-Nov-09 5:10
Ir-win ChakadCo7-Nov-09 5:10 
AnswerRe: How open the OCX code in VB6.0 (Reach Full Source). Pin
Christian Graus7-Nov-09 9:14
protectorChristian Graus7-Nov-09 9:14 
QuestionHow can we have been produced by OCX VB6.0 open code, we read it. Pin
Ir-win ChakadCo7-Nov-09 5:10
Ir-win ChakadCo7-Nov-09 5:10 
AnswerRe: How can we have been produced by OCX VB6.0 open code, we read it. Pin
Christian Graus7-Nov-09 9:14
protectorChristian Graus7-Nov-09 9:14 

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.