troubleshooting Question

cancel backgroundworker from a separate form

Avatar of hrodriguez761
hrodriguez761 asked on
Visual Basic.NET.NET ProgrammingVisual Basic Classic
9 Comments1 Solution297 ViewsLast Modified:
Hi Experts,
 
i'm very new at VB and here is my dilema, i have form A that calls a backgroundwoeker to run a very long process. once the user clicks on submit on form A it calls the BGworker and opens form B.

 on form B load i'm closing form A - form B has a progress bar, a cancel button and other info i display to the user what i'm stuck is with the cancel button - how can i have form B send a cancelationrequest to the backgroundworker.

 Also if not too much to ask - how can i catch progresschangeevents and workercompleted events in form B

Many thanks in advance.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros