ASKER
how do I find out what the User clicked on so I can put it in the DoWork method of that BGW? Or is this not possible?It's possible, but it's not really possible for us to determine. You'd have to first define the process you want to move to that background worker, then define when/where the user could cancel.
ASKER
ASKER
Is it even possible to call the button click as the processI'm not sure, but I'd think you could not. If you have code that needs to be run from the background worker, then move that code to a function or sub, and call that function/sub.
cross-thread operation not validThat often means you're trying to work with UI components (like a Textbox, perhaps) in the background worker. For example, you could not change the value of a Form's Label in the RunWork function.
ASKER
The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.
TRUSTED BY
ASKER
Thanks for your help,
jimbo99999