Click here to Skip to main content
15,905,914 members
Home / Discussions / C#
   

C#

 
QuestionSend query to a search engine!! Pin
Nafiseh Salmani1-Jul-09 4:58
Nafiseh Salmani1-Jul-09 4:58 
AnswerRe: Send query to a search engine!! Pin
led mike1-Jul-09 5:46
led mike1-Jul-09 5:46 
GeneralRe: Send query to a search engine!! Pin
Nafiseh Salmani1-Jul-09 6:14
Nafiseh Salmani1-Jul-09 6:14 
GeneralRe: Send query to a search engine!! Pin
led mike1-Jul-09 6:31
led mike1-Jul-09 6:31 
QuestionThread of a delegate Pin
TheLaTouf1-Jul-09 3:43
TheLaTouf1-Jul-09 3:43 
AnswerRe: Thread of a delegate Pin
Ennis Ray Lynch, Jr.1-Jul-09 4:11
Ennis Ray Lynch, Jr.1-Jul-09 4:11 
AnswerRe: Thread of a delegate Pin
Nicholas Butler1-Jul-09 4:32
sitebuilderNicholas Butler1-Jul-09 4:32 
GeneralRe: Thread of a delegate Pin
TheLaTouf1-Jul-09 4:40
TheLaTouf1-Jul-09 4:40 
QuestionAutomatic download attachment from emails Pin
spankyleo1231-Jul-09 3:36
spankyleo1231-Jul-09 3:36 
AnswerRe: Automatic download attachment from emails Pin
c0ax_lx1-Jul-09 3:55
c0ax_lx1-Jul-09 3:55 
AnswerRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 5:09
moon_stick1-Jul-09 5:09 
GeneralRe: Automatic download attachment from emails Pin
spankyleo1231-Jul-09 8:57
spankyleo1231-Jul-09 8:57 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 9:18
moon_stick1-Jul-09 9:18 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 9:22
moon_stick1-Jul-09 9:22 
GeneralRe: Automatic download attachment from emails Pin
spankyleo1231-Jul-09 9:57
spankyleo1231-Jul-09 9:57 
GeneralRe: Automatic download attachment from emails Pin
moon_stick1-Jul-09 11:13
moon_stick1-Jul-09 11:13 
QuestionCut, Copy & Paste from variable text boxes Pin
Martin310881-Jul-09 3:20
Martin310881-Jul-09 3:20 
Hi guys,

What I'm trying to do is cut copy and paste the selected text from any text box in my application. I have it working if it copies the entire text from the box, and I have it working if I hard code the text box name into to function.

Ive looked all over for an answer to this, and have got nowhere

This is the current code I am using:
string ActiveCon = this.ActiveControl.Name;
string SelText = ActiveCon.SelectedText;
Clipboard.SetText(SelText);
this.ActiveControl.Text = "";

It just does not like SelectedText used on a variable

Any help on this would be greatly appreciated.
Regards
Martin
AnswerRe: Cut, Copy & Paste from variable text boxes Pin
Eddy Vluggen1-Jul-09 3:39
professionalEddy Vluggen1-Jul-09 3:39 
GeneralRe: Cut, Copy & Paste from variable text boxes Pin
Baeltazor1-Jul-09 7:39
Baeltazor1-Jul-09 7:39 
GeneralRe: Cut, Copy & Paste from variable text boxes Pin
Eddy Vluggen1-Jul-09 8:20
professionalEddy Vluggen1-Jul-09 8:20 
GeneralRe: Cut, Copy & Paste from variable text boxes Pin
Baeltazor1-Jul-09 20:28
Baeltazor1-Jul-09 20:28 
AnswerRe: Cut, Copy & Paste from variable text boxes Pin
DaveyM691-Jul-09 3:46
professionalDaveyM691-Jul-09 3:46 
AnswerRe: Cut, Copy & Paste from variable text boxes Pin
Luc Pattyn1-Jul-09 3:49
sitebuilderLuc Pattyn1-Jul-09 3:49 
QuestionExpanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
MagForJ1-Jul-09 3:11
MagForJ1-Jul-09 3:11 
AnswerRe: Expanding String Abbreviations To Full String ( NASDAQ:INTC --> Intel Corporation) Pin
Manas Bhardwaj1-Jul-09 3:27
professionalManas Bhardwaj1-Jul-09 3:27 

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.