Hi all,
I'm trying to stop my program in my class library. If I put an 'End' statement the compiler gives me an error that "the statement cannot be used within a class library." I could do System.Threading.Thread.CurrentThread.Abort() but it throws an exception so my program doesn't end properly.
Any ideas?
Thanks!
I'm trying to stop my program in my class library. If I put an 'End' statement the compiler gives me an error that "the statement cannot be used within a class library." I could do System.Threading.Thread.CurrentThread.Abort() but it throws an exception so my program doesn't end properly.
Any ideas?
Thanks!