G
Guest
I added a Splashscreen to my Windows Forms project.
I specified it in Project - Application Tab - Splash screen.
When I launch the project the splash screen turns up, which is fine.
BUT then a NullReferenceException is thrown!
I turned on "Break when an Exception is thrown" but it will not stop on a
code line that is visible to me.
My application uses a frmMain as start form.
The frmMain code is enclosed by a Namespace.
When I enclosed the SplashScreen code in the same Namespace and modified
Project - Application Tab - Splash screen to point out the new full name,
then the problem disappears, but so does the SplashScreen .......!
As far as I can see there are no more settings I should have set to get it
working.
I specified it in Project - Application Tab - Splash screen.
When I launch the project the splash screen turns up, which is fine.
BUT then a NullReferenceException is thrown!
I turned on "Break when an Exception is thrown" but it will not stop on a
code line that is visible to me.
My application uses a frmMain as start form.
The frmMain code is enclosed by a Namespace.
When I enclosed the SplashScreen code in the same Namespace and modified
Project - Application Tab - Splash screen to point out the new full name,
then the problem disappears, but so does the SplashScreen .......!
As far as I can see there are no more settings I should have set to get it
working.