I am developing an windows application in VB 2008, My requirment is such that I have to change the applications Splash and Startup object on the basis of "Custom Constants" (Compilation Constants).
As far as I have .Net idea it should be done in Application.Startup Event (guide me if i am wrong)
Now, in Application.Startup_Event when I write the code
Expand|Select|Wrap|Line Numbers
- Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
- My.Application.SplashScreen = SplashScreen2
- My.Application.MainForm = Form2
- End Sub
Can anyone guide me in this regard?
Thanks,
Maverick.