Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: Check for Numeric value Pin
Gopal.S4-Sep-07 4:01
Gopal.S4-Sep-07 4:01 
QuestionTry to define string in Resources.resx with \n but ,NET see this as \\n Pin
Yanshof4-Sep-07 0:45
Yanshof4-Sep-07 0:45 
QuestionDropdown column in Datagrid Pin
André Stroebel4-Sep-07 0:41
André Stroebel4-Sep-07 0:41 
AnswerRe: Dropdown column in Datagrid Pin
André Stroebel4-Sep-07 2:56
André Stroebel4-Sep-07 2:56 
QuestionCancel from Custom Installer Pin
vSoares4-Sep-07 0:30
professionalvSoares4-Sep-07 0:30 
QuestionHow to copy all listbox items to cipboard? Pin
Abelinda814-Sep-07 0:26
Abelinda814-Sep-07 0:26 
AnswerRe: How to copy all listbox items to cipboard? Pin
Colin Angus Mackay4-Sep-07 1:49
Colin Angus Mackay4-Sep-07 1:49 
GeneralRe: How to copy all listbox items to cipboard? Pin
Abelinda814-Sep-07 4:36
Abelinda814-Sep-07 4:36 
Yes, I want to select everything in the listbox as I gathered all the info I need from other listboxes in this final one(lstAll). and now I want to select all items in listbox and copy to clipboard:

private void btnCopy_Click(object sender, EventArgs e)<br />
        {<br />
           StringBuilder strAll = new StringBuilder();<br />
            <br />
            for (int j = 0; j < lstAll.Items.Count; j++)<br />
            {               <br />
                lstAll.SetSelected(j, true);


But I don't now what should I put here before:

Clipboard.SetDataObject(strAll.ToString(), true);

Thank you in advance for your answer(s)!
GeneralRe: How to copy all listbox items to cipboard? Pin
Colin Angus Mackay4-Sep-07 5:03
Colin Angus Mackay4-Sep-07 5:03 
Questionremoving event handlers Pin
JoZ CaVaLLo4-Sep-07 0:09
JoZ CaVaLLo4-Sep-07 0:09 
AnswerRe: removing event handlers Pin
originSH4-Sep-07 0:11
originSH4-Sep-07 0:11 
QuestionActive Directory Pin
dorine824-Sep-07 0:01
dorine824-Sep-07 0:01 
AnswerRe: Active Directory Pin
Dave Kreskowiak4-Sep-07 5:39
mveDave Kreskowiak4-Sep-07 5:39 
QuestionI'm going crazy! C# operators Pin
Eli Nurman3-Sep-07 23:48
Eli Nurman3-Sep-07 23:48 
AnswerRe: I'm going crazy! C# operators Pin
Muammar©3-Sep-07 23:57
Muammar©3-Sep-07 23:57 
GeneralRe: I'm going crazy! C# operators Pin
originSH4-Sep-07 0:01
originSH4-Sep-07 0:01 
GeneralRe: I'm going crazy! C# operators Pin
Muammar©4-Sep-07 1:22
Muammar©4-Sep-07 1:22 
GeneralRe: I'm going crazy! C# operators Pin
originSH4-Sep-07 1:41
originSH4-Sep-07 1:41 
GeneralRe: I'm going crazy! C# operators Pin
originSH4-Sep-07 3:18
originSH4-Sep-07 3:18 
AnswerRe: I'm going crazy! C# operators Pin
originSH3-Sep-07 23:59
originSH3-Sep-07 23:59 
GeneralRe: I'm going crazy! C# operators Pin
Eli Nurman4-Sep-07 0:10
Eli Nurman4-Sep-07 0:10 
GeneralRe: I'm going crazy! C# operators Pin
originSH4-Sep-07 0:18
originSH4-Sep-07 0:18 
GeneralRe: I'm going crazy! C# operators Pin
Muammar©4-Sep-07 1:27
Muammar©4-Sep-07 1:27 
GeneralRe: I'm going crazy! C# operators Pin
originSH4-Sep-07 1:40
originSH4-Sep-07 1:40 
GeneralRe: I'm going crazy! C# operators Pin
originSH4-Sep-07 3:17
originSH4-Sep-07 3:17 

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.