Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
GeneralRe: Signature of the Program or application Pin
Shameel9-Aug-11 4:17
professionalShameel9-Aug-11 4:17 
AnswerRe: Signature of the Program or application Pin
Pravin Patil, Mumbai9-Aug-11 1:10
Pravin Patil, Mumbai9-Aug-11 1:10 
QuestionGetting Coordinates of Typed Letters in Textbox Pin
AmbiguousName8-Aug-11 23:28
AmbiguousName8-Aug-11 23:28 
AnswerRe: Getting Coordinates of Typed Letters in Textbox Pin
BobJanova9-Aug-11 0:50
BobJanova9-Aug-11 0:50 
GeneralRe: Getting Coordinates of Typed Letters in Textbox Pin
Pravin Patil, Mumbai9-Aug-11 1:11
Pravin Patil, Mumbai9-Aug-11 1:11 
AnswerRe: Getting Coordinates of Typed Letters in Textbox Pin
BillWoodruff9-Aug-11 9:43
professionalBillWoodruff9-Aug-11 9:43 
Questionembded image im datagridviewimagecolumn problem Pin
md_refay8-Aug-11 22:23
md_refay8-Aug-11 22:23 
QuestionMonitoring Clipboard and copying text from it Pin
Qlex8-Aug-11 21:59
Qlex8-Aug-11 21:59 
Hellou,

Want to make a simple dictionary, translator which uses Google API to translate from English to Spanish, and inversely. All that is done, but now I want to make dictionary gets data from Clipboard if it's a text, and is no longer of 4,5 words.

I have found this class and operations with that class:

C#
IDataObject iData = Clipboard.GetDataObject();
if(iData.GetDataPresent(DataFormats.Text))
{
textBox1.Text = (String)iData.GetData(DataFormats.Text); // Here, textBox1 is the text name of text where I want to retrieve data from Clipboard
}


I've tried to put this in Timer tick event but have problem cause interval doesn't allow me to manually add other text. I could put higher interval, but that doesn't give on performance and again is possible to change user input when event is raised.

It's very important to know that I want to retrieve data when somewhere from outside of program I copy some text (for exl. Word, Calculator, etc.).

Any help? Thanks
AnswerRe: Monitoring Clipboard and copying text from it Pin
BobJanova9-Aug-11 0:40
BobJanova9-Aug-11 0:40 
GeneralRe: Monitoring Clipboard and copying text from it Pin
Qlex9-Aug-11 3:12
Qlex9-Aug-11 3:12 
AnswerRe: Monitoring Clipboard and copying text from it Pin
Shameel9-Aug-11 4:24
professionalShameel9-Aug-11 4:24 
AnswerRe: Monitoring Clipboard and copying text from it Pin
Ravi Bhavnani9-Aug-11 7:50
professionalRavi Bhavnani9-Aug-11 7:50 
GeneralRe: Monitoring Clipboard and copying text from it Pin
Qlex11-Aug-11 0:24
Qlex11-Aug-11 0:24 
GeneralRe: Monitoring Clipboard and copying text from it Pin
Ravi Bhavnani11-Aug-11 1:06
professionalRavi Bhavnani11-Aug-11 1:06 
Questionadd image to datagridviewbuttoncolumn Pin
md_refay8-Aug-11 21:13
md_refay8-Aug-11 21:13 
AnswerRe: add image to datagridviewbuttoncolumn Pin
Richard MacCutchan8-Aug-11 21:24
mveRichard MacCutchan8-Aug-11 21:24 
GeneralRe: add image to datagridviewbuttoncolumn Pin
md_refay8-Aug-11 21:46
md_refay8-Aug-11 21:46 
GeneralRe: add image to datagridviewbuttoncolumn Pin
Richard MacCutchan8-Aug-11 22:23
mveRichard MacCutchan8-Aug-11 22:23 
Question.net frame work 4 vs .net frame work 4 client profile Pin
md_refay8-Aug-11 19:19
md_refay8-Aug-11 19:19 
AnswerRe: .net frame work 4 vs .net frame work 4 client profile Pin
Dave Kreskowiak8-Aug-11 19:51
mveDave Kreskowiak8-Aug-11 19:51 
AnswerRe: .net frame work 4 vs .net frame work 4 client profile Pin
Pravin Patil, Mumbai8-Aug-11 20:35
Pravin Patil, Mumbai8-Aug-11 20:35 
QuestionCursor Size Pin
jojoba20118-Aug-11 18:02
jojoba20118-Aug-11 18:02 
AnswerRe: Cursor Size Pin
Dave Kreskowiak8-Aug-11 19:58
mveDave Kreskowiak8-Aug-11 19:58 
QuestionCursor Size Pin
jojoba20118-Aug-11 20:29
jojoba20118-Aug-11 20:29 
AnswerRe: Cursor Size Pin
BobJanova9-Aug-11 0:37
BobJanova9-Aug-11 0:37 

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.