Only had a brief look but one comment I would make is that your "Active" method which just returns a boolean that shows whether or not the process is currently active should really be a propertyA method (ie a sub or a function) should be used when some work is actually going to be done, if you are just going to check a boolean value and return the current value then that is an ideal place to use a property.
E.g
vb.net Code:
Public ReadOnly Property Active() As Boolean Get Return Running End Get End Function




A method (ie a sub or a function) should be used when some work is actually going to be done, if you are just going to check a boolean value and return the current value then that is an ideal place to use a property.
Reply With Quote