Click here to Skip to main content
15,923,376 members
Home / Discussions / C#
   

C#

 
AnswerRe: Capturing TAB event of a button Button Pin
Martin#28-Aug-06 2:16
Martin#28-Aug-06 2:16 
GeneralRe: Capturing TAB event of a button Button Pin
Kais4U28-Aug-06 2:25
Kais4U28-Aug-06 2:25 
Questionhow to hide one column of gridlayout Pin
sikandarhayat28-Aug-06 0:28
sikandarhayat28-Aug-06 0:28 
AnswerRe: how to hide one column of gridlayout Pin
Nader Elshehabi28-Aug-06 2:34
Nader Elshehabi28-Aug-06 2:34 
QuestionContextMenuStrip Pin
Kim061827-Aug-06 23:13
Kim061827-Aug-06 23:13 
QuestionRegular expression match problem Pin
kkadir27-Aug-06 22:39
kkadir27-Aug-06 22:39 
AnswerRe: Regular expression match problem Pin
Guffa27-Aug-06 23:50
Guffa27-Aug-06 23:50 
QuestionHow can i arrange the COM port names in ascending order Pin
engsrini27-Aug-06 22:22
engsrini27-Aug-06 22:22 
Hi

I am displaying the available COM ports in a combo box. But the system gives me the available port names in some order. i wish to arrange it in ascending order. I tried the following

<br />
string[] strPort = SerialPort.GetPortNames();<br />
<br />
            Array.Sort(strPort);<br />
            listBoxUpDownPort.Items.AddRange(strPort);<br />

But this do.. like this.
COM1
COM10
COM11
COM12
..
COM20
COM21
But i wanted to be like this
COM1
COM2
..
COM10
COM11
..
COM20
COM21

Thanks
Srini
AnswerRe: How can i arrange the COM port names in ascending order Pin
chandler8328-Aug-06 0:53
chandler8328-Aug-06 0:53 
AnswerRe: How can i arrange the COM port names in ascending order Pin
stancrm28-Aug-06 1:03
stancrm28-Aug-06 1:03 
GeneralRe: How can i arrange the COM port names in ascending order Pin
engsrini28-Aug-06 1:09
engsrini28-Aug-06 1:09 
QuestionHow memory is released for the unmanaged objects Pin
Rickey_Me27-Aug-06 22:17
Rickey_Me27-Aug-06 22:17 
AnswerRe: How memory is released for the unmanaged objects Pin
mav.northwind28-Aug-06 4:28
mav.northwind28-Aug-06 4:28 
AnswerRe: How memory is released for the unmanaged objects Pin
Scott Dorman1-Sep-06 13:17
professionalScott Dorman1-Sep-06 13:17 
GeneralRe: How memory is released for the unmanaged objects Pin
Rickey_Me11-Sep-06 1:26
Rickey_Me11-Sep-06 1:26 
QuestionHow to append the text in listbox or listview ? Pin
Sri harini27-Aug-06 22:09
Sri harini27-Aug-06 22:09 
AnswerRe: How to append the text in listbox or listview ? Pin
X'Nork27-Aug-06 22:22
X'Nork27-Aug-06 22:22 
GeneralRe: How to append the text in listbox or listview ? Pin
Sri harini27-Aug-06 22:49
Sri harini27-Aug-06 22:49 
QuestionSuggestion required Pin
<color>Aljechin 27-Aug-06 22:02
<color>Aljechin 27-Aug-06 22:02 
AnswerRe: Suggestion required Pin
Ed.Poore27-Aug-06 22:03
Ed.Poore27-Aug-06 22:03 
QuestionC# Datagrid painting Pin
Ashish_Sood27-Aug-06 21:48
Ashish_Sood27-Aug-06 21:48 
Questioncheck if user (by sid) is member of group (by sid) Pin
Goerlandt27-Aug-06 21:14
Goerlandt27-Aug-06 21:14 
QuestionListview.SelectedItems Pin
Sri harini27-Aug-06 21:07
Sri harini27-Aug-06 21:07 
AnswerRe: Listview.SelectedItems Pin
Nader Elshehabi28-Aug-06 2:48
Nader Elshehabi28-Aug-06 2:48 
GeneralRe: Listview.SelectedItems Pin
Sri harini28-Aug-06 16:51
Sri harini28-Aug-06 16:51 

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.