troubleshooting Question

Form Load Cancel

Avatar of JoeBo747
JoeBo747 asked on
Visual Basic Classic.NET ProgrammingVisual Basic.NET
3 Comments2 Solutions255 ViewsLast Modified:
Hi Experts

I need a clean way to cancel a forms load event and change the focus to a different form and load the other form.

My application starts and a splash screen loads, then form1 loads the mainstay of form1 is a listview, if the listview has no rows then Form2 should load and take the focus. At what point should I stop the form loading, bearing in mind that the form1 is the main start up form. Should I test the sql that fills the listview at form1s load  and then change the start form to form2. Or should I test the sql when the splash screen loads and change the form load at this time, what is the best option?
 
Regards,
Joe
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros