Form Display With Splash Screen
Dec 7, 2009
I'm writing a small app which I want to display a splash screen. The problem is my form 1 is appearing before the splash screen disappears. In fact is appears on startup blocking the splash screen. I have some code in form_load and have managed to figure out which line is causing the error, but I cant figure out why or how to prevent it.
The line reads
LoadSettings()
If I comment out this line everything runs fine and there's nothing in that sub that should affect form1. I'm doing this in vb express 2010.
Here's the code for my form_load:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
LoadSettings() ' this line is causing the problem
My.Application.MinimumSplashScreenDisplayTime = intSSDelay * 1000
'resolution check
[Code] .....
View 5 Replies
ADVERTISEMENT
Jan 14, 2010
Hello.. I'm using a splash screen for the first time in an exercise. I have it set up to display the splash screen before going to the main form. I made changes to the splash screen title and copyright information. When I execute the program, the splash screen comes up but it's not displaying the information I changed. When I view the splash screen the changes are saved. It displays the project name where the application name should be.
View 18 Replies
Oct 31, 2011
I have an application with a SplashScreen. While loading the application, the application will check certain conditions and if the condition fails it throws a message window. I problem is when the message window is thrown it is displayed just behind the splashscreen and user is not able to see the message and unable to understand whats happening while the SplashScreen is displayed as it is till he clicks ok on the message box.
View 13 Replies
Dec 4, 2007
My application opens pretty quick but just for looks I put the splash screen and loading has slowed down. can i decrease the normal time for which the splash screen is shown?
View 5 Replies
Jun 21, 2010
While my program loading, I have a splash screen. After the program is done loading my Splash-screen closes and the main form (form1) shows (all good up to that point). But the problem is after the Splash-screen I cannot close form 1, nor can I move it. here is what have.
[Code]...
View 6 Replies
Aug 20, 2011
was trying to make a splash screen using a form (so that it fades in and out) however i cant get it to stop for the person to read it (at least for 5 seconds) this is the code
Public Class Form1 Private increase As Boolean = True Dim time As Integer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]...
View 19 Replies
Nov 27, 2009
I am experiencing an annoying problem with my second for when it opens. Here is the code :
If
My.Settings.NoSplash Then
Me.Hide()
[Code].....
None of these makes any difference. If issue a Close() on form1, the entire program closes and not just form1. Is there a property I need to tweak or set on either of the forms to stop/fix this?
What I am trying to do is show a splash screen then the next form. I have given them the option to "skip" the splash screen if they don't want to see it any longer and this is where I am having the problem.
View 3 Replies
Apr 7, 2011
Is there a way to load the data for my form during the splash screen and simply show the form when the user clicks on the button? I'm using a thread which fills my DataAdapter using Form.DataAdapter.Fill(Form.Dataset.Table), but when I open the form the data isn't shown (I removed the line from my form_load event to prevent a double load). Is there anyway to tell the form that the DataAdapter has been filled already and to look at the information there instead of loading the data everytime the form loads?
My problem is that the form takes a while to load due to the amount of data it is looking for. If I could already have the data ready and then display the form when the user clicks a button it'd be perfect. I apologize if I'm missing something, this is my first time diving into VB.Net with VS2010 after using Access VBA for awhile.
View 2 Replies
Jul 2, 2010
I would like to display my splash screen for a set amount of time (5 seconds). While the splash screen is displayed, I added code to the load function to determine which form to load next. I have the splash screen selected in the Application Properties settings. I also have to select a "Startup form:" in the Application Properties settings.
I'm having a couple of problems. First, the form selected in the "Startup form:" is loaded and displayed along with the splash screen.Next, the form I select in the splash screen load is not started. Only the "Startup form:" is loaded.
View 2 Replies
Oct 7, 2009
i have created a splash screen by removing form border and importing an image to the picture box. also i have set a timer for 7 sec after which the splash screen will close itself and will open the MDI form. But after seven second altough the splash screen closes but it also closes the MDI form too. I am not able to figure out the problem.
Form1.vb
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code].....
View 2 Replies
Jul 5, 2009
Let's say I want to put a 10 second delay on my splash screen before loading the next form or app.I use a timer, but would it be a simple integer value or several different lines of code?
View 3 Replies
May 11, 2011
Namespace My
Partial Friend Class MyApplication
Protected Overrides Function OnInitialize(
[code].....
View 5 Replies
Feb 16, 2012
My main form shows at the same time as my splash screen.
ApplicationEvents.vb:
Partial Friend Class MyApplication
Protected Overrides Function OnInitialize( _[code]....
View 1 Replies
Jul 15, 2010
I have created a splash screen and would like it to display for 5 seconds and then display the MainMenu form. The book I am following suggested using
Threading.Thread.Sleep(5000)
but it just makes the splash screen APPEAR after 5 seconds of nothing.
View 21 Replies
Dec 18, 2009
Im trying make my application display my splash screen for 5secs before loading my main form. I have read lots of threads on this and they all seem to point to the following:Add the following code to the New() sub of the splashscreen.
My.Application.MinimumSplashScreenDisplayTime = 5000
I have also seen a suggestion to add the following code to the OnInitilalize event in the ApplicationsEvents file.
Me.MinimumSplashScreenDisplayTime = 5000
I've have tried both ways, and although it successfully makes my splashscreen wait 5 seconds before closing, it doesnt prevent the Main form from waiting for the splashscreen to close before loading. The mainform simply loads over the top of the splashscreen.This thread is exactly what im after but i cant seem to get mine to work.
[URL]
I have application framework enabled. I have my startup form set to my main form, and i have set my splashscreen in the application tab of my project properties. Im using VS2008.I also noticed that when i clicked on the "View Application Events" button in the application tab of my project properties, the file was blank. I have seen that some other people have had problems with this. I just cut and paste the following code into my ApplicationEvents file. Potentially an issue??? Any reason why the code was not auto-generated to begin with?
Namespace My
' The following events are availble for MyApplication:
'
' Startup: Raised when the application starts, before the startup form is created.
[code]....
View 4 Replies
Feb 9, 2012
I have a Windows Form Application to which I added a splash screen created using the splash screen template. I also added an MDI Parent Form. In my project properties, I chose the splash screen and the MDI Parent as the loading form.
I want the MDI Parent to load Maximized, so I changed the WindowState Property in the list to do just that. Now here is the problem:
If I leave the WindowState set to Normal, the splash screen loads, does its thing, closes, then loads my MDI Parent just like it is supposed to, BUT, if I set the WindowState of the MDI Parent to Maximized, the splash screen displays for about a second, the MDI Parent loads on top of the splash screen, and the splash screen finishes in the background and then closes.
I tried giving Focus back to the splash screen in the Lost Focus event but that didn't work. I know splash screen is still open and working when it gets covered up because I can hit ALT+TAB and see it just before it closes on its own like its supposed to. I also never adjusted any of it's time settings or any other settings.
How do I keep the splash screen on top while my MDI form is Maximized? or how do I delay the MDI until the splash screen has done its job? I dont understand why I am getting this result.
View 3 Replies
Apr 29, 2011
I have my start up form in maximized window state, but this cause the splash screen appear behind the startup form, which cause it cannot be seen.Even i have set the time longer to display the splash screen.It still do now work. I have tried below code in the start up form but it is not working...
Private Sub Main_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
Me.WindowState = FormWindowState.Maximized
End Sub
View 2 Replies
Feb 15, 2010
I've tried adding a splash screen ]...to one of my applications and after exploring a while I somehow managed to get it working what bugs me now is that my splash screen is in fact a image inside a picture box and the form always shows the control color behind so what I tried is adding the form color to the transparency key this worked, somehow now, I use a png image that has some transparent effect also what I've noticed is that where I would want to show the transparent effect from the image the transparent color that is set in the forum shows below is the image to get my point of view:
I'm wondering if I can remove that "pink" color (set by me in the forum) from the image .I want to get a effect like the one Adobe products have for example
View 7 Replies
May 25, 2009
I am using the following code in the 'Application.Designer.vb' to set one of the two forms as the the mainform for my splash screen.The global string array gSetupStr(0,1) only produces a correct result when any Msgbox is inserted before the 'If' statement.However,I do not want the Msgbox during a splash screen, but do want to control the mainform. [code]
View 1 Replies
Sep 24, 2010
I have a splash screen, the default from Visual studio. It loads up, is shown for a few seconds, then, when it disappears, the main form is loaded. Now here is the problem: the main form appears in the back, behind the windows explorer window I load the application from.
The weird thing is that this only happens on some computers, particularly Windows XP machines.I tried a lot of things like BringToFront() or TopMost = true in the on Load event of the form but nothing seems to change this.
View 3 Replies
Jan 25, 2011
To create splash screen before InitializeComponent, the WithEvents statement for the BackgroundWorker component needs to be moved from the Form's Designer.vb file into the constructor as indicated in the first commented lines of the constructor below.
[Code]...
View 19 Replies
Dec 20, 2009
I'm coding a splash screen in VB.Net that displays for 3 seconds then shows a login screen. But the splash shows up even when login shows and I have told the splash to hide. Here is my code:
[code]...
View 3 Replies
Oct 21, 2009
I am in a dual monitor environment. I have developed an application using VB.NET 2005.When I start my application, the splash screen always displays on the monitor where the mouse cursor is at, even if it is not the same monitor that the login and primary form open on.
View 3 Replies
Aug 2, 2010
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)
[CODE]...
So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.
View 1 Replies
Jul 24, 2009
I want to know how to add a splash screen, but i can't do it through the properties because i use another file as startup so that i can close the main form and leave other open for it to minimize to taskbar, so how would acomplish this?
View 7 Replies
Mar 13, 2009
I am trying to add Splash Screen to my app.
I use the one provided with VB. However, the splash screen fade time is too fast, how do I set it to lengthen the display time?
View 9 Replies
Feb 21, 2009
How to use splash screen
View 9 Replies
Apr 1, 2010
Ii want a welcome screen like Nero have: This welcome secrren should appear after the user has logged into his account.Do i need to use the splash screen? How to do this?
View 5 Replies
Jan 20, 2010
I made a splash screen and want to have some text change on it as different parts of the program are loaded but the screen isnt updating when i use refresh or update.
[Code]...
View 4 Replies
Jun 2, 2011
I have already completed my projects by using visual basic 2008 express
but i want to know is it possible for me to add a video in splash screen..after the 10 seconds video finish, i want the want the main form to be appear.
View 19 Replies