Forms :: Question After Splash-screen Shows Main Form Is In The Back?
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
ADVERTISEMENT
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
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
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
May 11, 2011
Namespace My
Partial Friend Class MyApplication
Protected Overrides Function OnInitialize(
[code].....
View 5 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
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
Mar 17, 2011
I've created a windows form application in vb 2010. I've got all my forms complete and now want to add a Login screen. One the login screen, after the username/password is entered and OK is pressed, I try to open the a connection string. Obviously if the connection fails, the user has entered the incorrect credentials. If the credentials are ok, True is returned and I then open up the Main form that shows the correct items for the logged in user.
[Code]...
View 5 Replies
Feb 5, 2009
I have a splash form that opens in the following Sub of the main form of the app[code]...
The Splash Form opens and closes fine, but no controls (a text box and a graphic, on a panel) appear on the form. I knew I was probably missing something (this was far easier than anything I found searching), but at least the form opens and closes. The app actually starts with a SubMain, which is only used to control how it opens with it's registered file type.
View 7 Replies
Apr 29, 2011
I have made quite a nice and tidy little game. Its based around space invaders and works quite well. however because i have finished my college project almost 2 weeks ahead of the assignments release date, my tutor has asked me to tweak my project and make it better.So far i have added a full main menu to the game and a full splash screen. I would like to add in a section for recorded high scores but have no idea how to attempt this at all.
View 3 Replies
Apr 22, 2010
I created a new application and add a splash screen ..when i wanna change the text "WindowsApplication1" in "text" field of splash screen i change for "Video Club", but press F5 and VB show me the same WindowsApplication1 ...that's is my problem..
View 2 Replies
Feb 15, 2009
I put my standard About Box and Splash Screen into a code library along with a number of other stadard things I use. The about box works fine in that I can instantiate a local version and then show.
My question is how can I select the splash screen out of the dll? The drop down box on the Properties page only shows forms in this project.
In C# I can instantiate the splash screen manually before the intialization process and then hide afterword. Is there a similar way in VB?
View 2 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
Sep 2, 2009
I designed a application on vb.net 2005. Some of the forms in this application has databindings controls. Now when such forms loads it takes some time. I want a splash screen containg "Please wait" message to appear till the form loads and the wait splash screen would be shown for every several forms in the application not only before the start up form.
View 1 Replies
Mar 30, 2010
I have an application with a main form, on loading the main form asks the user to select a file to work with. I have now been asked to add a splashscreen to the project so did the following:
* Right clicked in solution explorer and added the splashscreen
* Went into project properties and added the splashscreen to the dropdown for splashscreen and then clicked "View Application Events"
Within here I have added the following
Protected Overrides Function oninitialize(ByVal commandlineargs As System.Collections.ReadOnlyCollection(Of String)) As Boolean
Me.MinimumSplashScreenDisplayTime = 5000
Return MyBase.OnInitiallize(commandlineargs)
End Function
Now when I run the application the splash screen shows but within, a second the openfiledialog has appeared and hides the splash screen.
View 3 Replies
Dec 28, 2011
I have an application with a splash screen which gets shown before the application starts. One of the requirements of the application is to allow users to restart (or atleast clear the form) so that other test cases can be ran. Because there are so many forms and variables, we elected to simply call Application.Restart() to accomplish this.
What we would like to do now is disable the Splash Screen when Application.Restart() is called. That is, only show the Splash Screen when the application is initially started, not when it is restarted.
View 1 Replies
Oct 27, 2011
I'm trying to use a splash screen to check the logged on users rights and if all meets criteria it loads the default form. Currently in my load event of the spash form i had some code along the lines
[Code]...
View 2 Replies
May 31, 2011
I have an MDI parent screen that loads on startup and a lot of child forms that load when opening. So as the child forms load there's a lot of flashing and it looks really ugly. Once they're loaded all I have to do is use a bring to front, maximized command and it works smoother than closing a form and opening a new one every time a different form is selected. I've tried creating a splash screen, minimizing the forms on load, etc and everything still works in order so first the splash screen then the forms load.
How would you set it up so a splash screen stays on top of all other forms for like 5 seconds while the forms load in the background without seeing them load? Right now the screen shows then when it's done it moves on to step 2 which is loading the child forms. If no splash screen, how do I make it load so you don't see all the child forms opening at once?
View 3 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
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
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
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
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