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
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?
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?
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.
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.
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)
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.
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?
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.
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??
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.
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.
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)
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?
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.
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.
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.
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()