Okay im making a basic program to formate some excel files for are workers.
But it take place once they click a start button on form 2 then that starts a background worker and the back ground worker will call opon a textbox in form 2 to see what to put into excell feild 1 but when it try to copy and select text box it one it gets a error saying it cant call apon it because its not in the same form here ill give you a basic outline
private void Cell1_TextChanged(object sender, EventArgs e)
{
Textbox1.Select(0, 100);
Clipboard.SetDataObject(Textbox1.SelectedText, true);
}
But see once the background worker trys to copy and select that code it gets caught up anyone know of a solution for this