Posts

Showing posts from May, 2008

Main Form and Splash Screen vb.net c# windows application

Splash screen in Visual Studio is a greatway to give user the feedback of loading the application.Problem I faced implementing the Splash Screen is main form always used to hide in the task bar.After doing a couple of searches I found out that spash screen delay time is the culprit.

I made the splash screen to show for few seconds than my main form which gives the focus to the main form that avoids the form staying in the task bar.

In Application Events.vb I added the following

Namespace My
' The following events are availble for MyApplication:
'
' Startup: Raised when the application starts, before the startup form is created.
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
' UnhandledException: Raised if the application encounters an unhandled exception.
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
' NetworkAvailabilityC…

Visual SourceSafe lost the keyboard when removed the bindings

Sometimes if I want to do lot of changes to my project, I always disconnect my netweok cable and make a copy of my project and open the solution.After opening the solution Visual SourceSafe prompts you to work in disconnected mode, permanently remove bindings or manually remove bindings.If you remove the bindings visual studio seems to lost the keyboard you cannot use any keys in the IDE except the Special Keys.I went ahead and change the readonly setting on the folders and everything works fine after that.

Visual Studio you are lost baby!