Form Loading Over Splashscreen?
Aug 11, 2010
I am using Visual Basic Express Edition 2008. I want my main (and only) form to not be re-sizeable.
FormBorderStyle = FormBorderStyle.FixedDialog
To my main form load function. However, when I add this code, the form loads over my splashscreen. I am trying to have my splash screen displayed for a set amount of time
[code].....
View 6 Replies
ADVERTISEMENT
Jul 4, 2009
I have set a splash screen form as the application splash screen in VB.net 2008 I have set a form login as the start object. On load event it executes inital process. It runs fine except when the form login, during executing inital process, must be display a modal form, a messagebox, etc. because these are displayed behind the splash screen. How I can do it to show the msgbox, form dialog at the front?
View 1 Replies
Feb 12, 2011
So I'm developing a game and it's a little heavy on some systems, so here's what I would like to do when the game opens (pseudo code):
Show Splashscreen
Load GameForm
When GameForm Is Completely Loaded
Splashscreen Close
Show GameForm
How is this done in actual VB code?
View 4 Replies
May 29, 2012
So I'm developing a game and it's a little heavy on some systems, so here's what I would like to do when the game opens (pseudo code):
Show Splashscreen
Load GameForm
When GameForm Is Completely Loaded
Splashscreen Close
Show GameForm
How is this done in actual VB code?
View 2 Replies
Aug 14, 2011
I have created a project that shows a splash screen first and then shows the main form once the main form has been fully loaded. I only want to show my splash screen once the main form has completely loaded in the background. My main form by itself takes like 3 seconds to load, so I would like to display the splash screen for about 3 seconds and then show the main form because the main form will then be fully loaded, but instead it shows the splash screen for 3 seconds and then the main form still has to load anyway.How can I load the main form in the background and then show it when it is fully loaded?
View 8 Replies
Aug 26, 2011
Im Using VB 2008. I have MsgBox() statements in all Mouse & Form Click events to TEST & NOTHING FIRES during Form Load when I click on Form or Button Controls !!! The Form Load event contains code for Displaying the Label.Text control many times with changes in the Text to simmulate annimation.
[Code]...
View 7 Replies
Jul 27, 2009
With my project I have created a small splash screen called splashscreen1.vb
In my project form2-is startup form [MDI-Parent].So where I have to mention this splash screen to load first?
And how many forms can be included with one project?
View 1 Replies
Jan 30, 2012
Simple question but I can't seem to find the answer - can someone tell me which event causes the splash screen to be closed.
I thought it would be either the startupform.Activated or some application level event but I can't find it.
The reason for the question is that I want to control when the splash screen is closed myself - can I do this?
View 2 Replies
Apr 23, 2012
does anyone know how to get a .avi video on a splashscreen
View 4 Replies
Mar 1, 2011
I 'm working on a quite large VB application, and recently I started profiling the memory usage, because there were some issues with objects not being collected.I noticed that the SplashScreen (boilerplate SplashScreen hooked up via Project Properties) never gets collected, because is remains referenced by My.MyProject.MyForms.m_SplashScreen. This is apparantly a private member, and I can't figure out how and where to set it to nothing with reflection code.I looked into my code to make sure i'm not doing anything special; I don't even reference the form anywhere.
View 4 Replies
Oct 18, 2011
this is the error I started getting only when I added a splashscreen to my application. Please note that I haven't added any code there - on the contrary - I removed everything from the Splash class. The issue seems not to occur when debugging - I got it from my Virtual machine - what makes the problem a bit more complicated as I have no idea which line may cause it. The problem shows up between splash_screen_dispose and main_show (when I click continue all is ok).
The details of my err. message:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
[code]....
View 5 Replies
Oct 26, 2009
Where do I put the line SplashScreen.Show? Before of after InitializeComponent()?
View 1 Replies
Apr 1, 2011
Main form loads and displays a table of records. Form1_load goes through each record and looks up external data for updates and this takes noticeable time. I have a splash screen that comes up while the main form is loading and I want the splash screen to display the status in a progress bar named ProgBar. I recall the method used a 'delegate' and my SplashScreen1 uses this code:
Delegate
Sub UpdateBar(ByVal
X As
Long)
[Code]....
The main form already loops through each record and all I want it to do is update the progress bar if the splash screen is open.
View 4 Replies
Jun 14, 2010
Is there a way to turn off all visual updates to a .NET form while I am manipulating it? When my program first loads, for example, I set the tab control to the tab that was last open. The user can see the program switching tabs.
I have looked into SuspendLayout and ResumeLayout, but either I don't understand what they are doing, or I am not using them correctly, because they don't seem to have any effect. Someone told me that there used to be a way to turn off paint events in VB 6. Does this still exist in .NET?
View 3 Replies
Aug 29, 2011
I have 2 forms. When a user clicks something on form1, form2 pops up. After user is done with form2 and closes it (where the dataset is updated), I want form1 to "reload" the dataset to reflect changes made in form2.
View 1 Replies
Jan 11, 2010
make a splashscreen with an installer like the image below.. I know how to make a splashscreen. Say i made a splashscreen in vb2008 i added a button saying install Is there a way i can get a app into the button..Sorry for my bad english.. Do you see the image below? If i click copytodvdsetp it will open the installer and start installing
If i click the serial button it will open a text box.. How do i make that??
View 2 Replies
Apr 20, 2010
I have created a splashscreen in visual basic 2005 express edition, when trying to build the project i keep on getting the following error messages.
Name 'ApplicationTitlte' is not declared.'text' is not a memeber of 'System.Version'.
Name 'copyright' is not declared
View 1 Replies
Nov 30, 2011
Is there a way to adjust the timer event of the default splashscreen?
View 1 Replies
Jun 29, 2010
I defined a procedure in splash screen to check application trial time, but now it is still working after deleting the procedure from splash screen form. I am not able to understand why and from where it is working.
View 4 Replies
Mar 8, 2011
I have a splash screen for my program that I want to have a background image that changes each time the program opens.One way I saw to do this is to load it from a ImageList, but that has an maximum image size of 256x256.The splash screen is 498 x 305, which means that I need to find something besides ImageList but hopefully with a similar ability to organize the images.I did try just putting them into resources, but wasn't able to get it to set the background without erroring, and I'd prefer not to have 30 images cluttering the place up.
View 1 Replies
Apr 30, 2012
Windows Forms VB Application.. I added a splashScreen to my application. And it was flashing only for a second then going away so I added a sleep timer to my Form Load event... The problem is now the splashScreen stays open even After Application exits, instead of simply closing at the end of the sleeptimer.. The Part of the Form Load event that is causing this is as follows:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load
Threading.Thread.Sleep(5000)
[Code].....
View 3 Replies
Jul 5, 2011
how to create a simple yet cool Splashscreen?
View 9 Replies
Apr 26, 2012
How do i load the Main form of a WPF so that a seperate thread goes and gets data from the database while the form is in an apartmentstate ? (drag-able / movable) I Know this is possible with opening a new window from your main form like this :
Private Sub openOrderWindow()
Dim OrderWindow As Orders = New Orders
OrderWindow.ShowDialog()
End Sub
[code]....
I've tried putting MyBase.ShowDialog() and .Show() and .9000+ other things The only benefit I've got out of using a seperate thread to load from the databse is i can see the screen right away (as oppose to it being a transparent box until it loads) but i cannot move it around or minimize itis there any way to make it Movable while it loads?
View 1 Replies
Dec 3, 2002
Does anyone know of anyway that it would be possible to speed up the process of loading forms.With VB6, forms (simple ones) was extremely fast but with VB.net, the initial loading of a form (even the simplest one) takes very long. Although it gets better once it's loaded once and the reloaded the next time (almost instanttaneous), but the first time loading gives a bad impression to any user that .net is actually much slower.
View 7 Replies
Mar 6, 2009
I've got 2 forms; form1 and form2.
Button1 is added to form1.
When I click button1, I want to close form1 and open form2.
I tried the following.
me.close
form2.show
Its not working. Form1 gets closed but form2 is not showing up.
When I use the following code
me.hide
form2.show, its working.
But hide will not unload form1 and it will still occupy memory.
View 5 Replies
May 5, 2011
In my form3 i have this code
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim vs As Integer
[code].....
View 1 Replies
Jun 8, 2011
I have a form let's call it Form1 that calls another form(Form2) Form2 to has a bit a code that needs to load in the LOAD_EVENT and takes about 4 seconds.
I have made a new form(frmProgress) that only has a progress bar.I want frmProgress to show up and load the progress bar meanwhile Form2 is loading.I've tried using BackgroundWorker but I can't seem to get the grasp of it.
View 5 Replies
Aug 10, 2009
How I insert loading bar into vb.net form? I want insert loading bar with information that step in loading. I want to show info like when we install new program, in install program we will see progress installing.
View 6 Replies
Jul 5, 2009
I have an application developed in VB.NET 9.0. I am trying to load a form when the application loads. It is basically a form without border and has a .gif on it. Actually when the form loads I cannot see the gif.
frm.FormBorderStyle = Windows.Forms.FormBorderStyle.None
frm.StartPosition = FormStartPosition.CenterScreen
frm.ShowInTaskbar = False
frm.TopMost = True
frm.Show()
View 6 Replies
Jan 7, 2009
could you please tell me how to load a child form in a parent form. since i am a beginner i have some confusion ..
View 1 Replies