I have a form I want to show that includes a progress bar with progress messages. In short, there are a ton of dropdowns on the form, each of whose options are read from the database, and then after the options are loaded, I check another data source to see if I need to select any of them by default. I would like to have a progress bar with status messages on the form "i.e. loading data 1 of 9..." and then "validating data 1 of 9..."
1. What is the recommended approach if I want to AUTOMATICALLY UNLOAD the form if any of the validations fail?
2. What is the recommended approach for AUTOMATICALLY UNLOADING the form if an error occurs in the Form_Load event handler?
This issue has been bugging me for years, so if there are industry-standard slick practices for handling these two things I'd love to hear them.