See
http://www.emoreau.com/Entries/Artic...us-ADONet.aspx
--
ALP
Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc. (
http://www.emoreau.com)
"Bill Gower" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have an app that allows the user to build a query and then click on a
>button to execute the query and the results are then used to fill a grid.
>Can I have the retrieval run in a backgroundworker and have a button that
>would allow the user to cancel the query if it is running for too long of a
>period? Is the BackgroundWorker able to populate a grid which is running
>in the primary thread?
>
> Bill
>
>