|
-
Oct 19th, 2021, 12:35 PM
#9
Re: Load Event Aborting
 Originally Posted by si_the_geek
In some circumstances errors that occur in the Load event get swallowed up, try moving the code to the Shown event instead, as that doesn't have the same issue.
Yeah, it is documented here: https://docs.microsoft.com/en-us/pre...vs.85)#remarks. Notifications generated by the 64-bit window manager (e.g. Load) silently ignore exceptions, but I want to say that this was resolved in Windows 8 and I want to say that it only happens when a debugger is attached.
Could you compile the application and run the executable from the bin file to see if any exception is thrown?
P.S. - I would say that the code that is currently in the Load event should probably be moved to the constructor.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|