But it wont work
private void BackGroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
Textbox1.Select(0, 100);
Clipboard.SetDataObject(Textbox1.SelectedText, true);
}
but it wont allow it to copy becuase "Cross-thread operation not valid: Control 'CreatorGmailAccount1' accessed from a thread other than the thread it was created on."
so how can i make it allowed to copy
Thank you
Please help this isnt homework thank you

New Topic/Question
This topic is locked




MultiQuote




|