G
Guest
Hi
I have a Class Library with a class in it. The class has a method that
processes a whole load of stuff. I want to be able to pause this method from
the application using this class.
In VB6 I would have had a DoEvents statement in my method. This would have
allowed the user to select 'Pause' on the user interface, I would have then
set a variable in the class 'paused = True', and I would check the value of
this variable in my method.
However with VB.NET I'm not sure this is the way to go (for a start DoEvents
isn't available from my class library).
Can someone please give me some pointers?
Many thanks
Julia Beresford
I have a Class Library with a class in it. The class has a method that
processes a whole load of stuff. I want to be able to pause this method from
the application using this class.
In VB6 I would have had a DoEvents statement in my method. This would have
allowed the user to select 'Pause' on the user interface, I would have then
set a variable in the class 'paused = True', and I would check the value of
this variable in my method.
However with VB.NET I'm not sure this is the way to go (for a start DoEvents
isn't available from my class library).
Can someone please give me some pointers?
Many thanks
Julia Beresford