Splash Screen in VB.net project causes app to loose focus.

I have this annoying problem in VB.net im hoping someone else has seen/solved.

I created a splash screen for my application using the Splash screen template avalable in vb.net 2005 and set the Splash screen property in the project to the form.

Now when you start the compiled app (this doesnot happen when you run the app in dev environment)
the focus switchs away from the app to the next window in the task order. (if nothing else is open focus switches to the desktop)  

Anyone have any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jorge PaulinoIT Pro/DeveloperCommented:
How do you call the other form in the end on the events/timer ?

Application.Run(frm) ?
Jorge PaulinoIT Pro/DeveloperCommented:
Well try this method to use a splash screen:

1 - Select in My Project - StartUp Form the main form (second you want to see after the splash screen)
2 - Click in the View Application Events from Application Tab. You will see the Namespace My.
3 - Choose in the comboboxes the MyApplications Events - StartUp. You will see Private Sub MyMyApplication_Startup(..) Handles Me.StartUp
4 - Add this code (with the necessary changes)

Dim frm As New frmStartUp

I started a new Windows Application.  Added a SplashScreen.  Set the SplashScreen to SplashScreen1.
I was unable to duplicate you results.  The SplashScreen1 retained the focus in both debug and release versions.  Have you done anything besides the three steps I did?
mnichols1202Author Commented:
This only happens on system where visual studio is NOT installed. If vs is on the system it works fine
I also had the same problem and i found the following under http://www.thescripts.com/forum/thread638041.html

They think that this problem is caused by the internal implementation of splash

They describe here a workaround to display the splashscreen in the application's Startup event handler and close it later in the main form's Load event handler. For me this workaround was okay and i have used it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.