Click here to Skip to main content
15,915,864 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Code For Com Port Pin
Anubhava Dimri9-Nov-09 17:15
Anubhava Dimri9-Nov-09 17:15 
GeneralRe: Code For Com Port Pin
Steven J Jowett9-Nov-09 22:54
Steven J Jowett9-Nov-09 22:54 
QuestionHow to know print given to network printer is success Pin
sri_00998-Nov-09 22:59
sri_00998-Nov-09 22:59 
AnswerRe: How to know print given to network printer is success Pin
Dave Kreskowiak9-Nov-09 2:15
mveDave Kreskowiak9-Nov-09 2:15 
GeneralRe: How to know print given to network printer is success Pin
sri_00999-Nov-09 3:00
sri_00999-Nov-09 3:00 
GeneralRe: How to know print given to network printer is success Pin
Dave Kreskowiak9-Nov-09 4:56
mveDave Kreskowiak9-Nov-09 4:56 
QuestionHow to sort the following list? Pin
Milad.Biroonvand8-Nov-09 19:19
Milad.Biroonvand8-Nov-09 19:19 
AnswerRe: How to sort the following list? Pin
Luc Pattyn8-Nov-09 23:38
sitebuilderLuc Pattyn8-Nov-09 23:38 
Why do you use a Queue? the main purpose of a queue is to act as a pipe where things get added on one side, stored, and removed on the other side, which inherently means their order is always preserved.

What you need is another kind of collection, such as a simple List<treenode>, on which you can call Sort(). Then provide a Comparer to explain how you compare two TreeNode instances. This[^] explains and illustrates it.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionFind the difference between two excel sheets using vbscript Pin
Bedke8-Nov-09 16:26
Bedke8-Nov-09 16:26 
QuestionQuestion about threads Pin
crashcup8-Nov-09 12:43
crashcup8-Nov-09 12:43 
AnswerRe: Question about threads Pin
Luc Pattyn8-Nov-09 13:25
sitebuilderLuc Pattyn8-Nov-09 13:25 
GeneralMessage Closed Pin
8-Nov-09 14:27
crashcup8-Nov-09 14:27 
GeneralRe: Question about threads Pin
Luc Pattyn8-Nov-09 15:06
sitebuilderLuc Pattyn8-Nov-09 15:06 
GeneralRe: Question about threads Pin
crashcup8-Nov-09 15:11
crashcup8-Nov-09 15:11 
GeneralRe: Question about threads Pin
Luc Pattyn8-Nov-09 15:13
sitebuilderLuc Pattyn8-Nov-09 15:13 
GeneralRe: Question about threads [modified] Pin
crashcup8-Nov-09 16:10
crashcup8-Nov-09 16:10 
GeneralRe: Question about threads Pin
Steven J Jowett9-Nov-09 9:38
Steven J Jowett9-Nov-09 9:38 
GeneralRe: Question about threads Pin
Luc Pattyn9-Nov-09 9:54
sitebuilderLuc Pattyn9-Nov-09 9:54 
AnswerRe: Question about threads Pin
Dave Kreskowiak8-Nov-09 13:25
mveDave Kreskowiak8-Nov-09 13:25 
GeneralRe: Question about threads Pin
crashcup8-Nov-09 14:18
crashcup8-Nov-09 14:18 
GeneralRe: Question about threads Pin
Dave Kreskowiak8-Nov-09 14:50
mveDave Kreskowiak8-Nov-09 14:50 
GeneralRe: Question about threads Pin
crashcup8-Nov-09 15:09
crashcup8-Nov-09 15:09 
GeneralRe: Question about threads Pin
Dave Kreskowiak9-Nov-09 2:10
mveDave Kreskowiak9-Nov-09 2:10 
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 

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.