Search found 2 matches

by Crazybyte
Thu Jan 17, 2019 9:58 am
Forum: PowerShell GUIs
Topic: Stop Unhandled Exception Alert
Replies: 3
Views: 1614

Re: Stop Unhandled Exception Alert

I saw there was an 'exit' inside a function. This is the cause, I suppose I cannot use exit inside a form. Do you think I can use jobs to let that function run in background, so when the exit will be executed it will just terminate the job?
by Crazybyte
Thu Jan 17, 2019 9:11 am
Forum: PowerShell GUIs
Topic: Stop Unhandled Exception Alert
Replies: 3
Views: 1614

Stop Unhandled Exception Alert

Hi all, I'm wondering if there is any way to totally suppress any Unhandled exception windows error except putting all the code in a try-catch statement. I have a project with lots of lines and it work properly in any case, but all the times the program run, the followed alert appear. I really would...