Show The Loginform When Splash Form Colse

Jan 30, 2011

I make a parent form (IsMidContainer=true) name Form1.vb. When form1.vb shows then Splash.vb shown its fine working. But now i want to show the Loginform when Splash form colse. I close the splash form in the timer tick event of progress bar. I start the timer from parent as

[Code]...

View 3 Replies


ADVERTISEMENT

Show A Splash Screen Then The Next Form?

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

VS 2008 : Show Dialog In Splash Form?

Apr 6, 2011

i have form1 and form splash..i used the splash as processing indicator i place gif in the splash form...and in form1 i call the splash in separate thread..

like this..

Dim splashthread As Thread = New Thread(New ThreadStart(AddressOf SplashScreen.ShowSplashScreen))
splashthread.IsBackground = True
splashthread.Start()

[code]....

now,my problem is when form1 is loaded and click button process in it..the splash form will not display modally...is it because i called the splash in separate thread?..

View 4 Replies

Forms :: Exception On Calling Form1 From LoginForm And LoginForm From Form1

Mar 11, 2010

I have login form as start up form and i call Form1 after successful validation and in Form1, i have close button on click of Close i would like to reset username and password fields on loginform to null. If i add code in form1 below i get exception Dim fmLogin As New LogInForm

An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll

Make sure you do not have an infinite loop or infinite recursion

I get above on LoginForm below statement Dim fmMain As New Form1

View 1 Replies

Calling Properties Of Form1 Into Another Form (loginform)?

Dec 1, 2009

I have 2 forms, main Form1 and a loginform. When I start the application, first "Form1" is loaded and then with a button click, user can load "loginform" if required to enable/disable some features/controls on Form1.The sequence is like this:

1) Load main form Form1
2) click a button on Form1
3) Load the loginform.
4) enter user/pwd and click OK button
5) enable/disable "GroupBox" control on Form1 if login sucessful.

For this,I made a click event for OK button in loginform, so once user clicks the OK button, I want to call one function which is defined in Form1 as a Public, which enables/disables the "GroupBox" control on Form1. The code structure is like this:in main Form1, i created a function like this:

Class Form1()
Public Function DoThis() ' Function to enable/disable GroupBox control
....some task...

[code]....

I am not able to call the DoThis() function in loginform. Please suggest me with a piece of code how to do this?? remember that Form1 is my main form which is loading first.

View 5 Replies

Show A Splash Screen In WPF That Has Animation?

Sep 9, 2010

Is it possible to show a splash screen in WPF that has animation. I want my name of the company and the name of the application to fly in and a progress bar that continously animates. [code]..

View 1 Replies

Show A Splash Screen With Delay?

Jul 11, 2009

i want to show a splash screen with delay. I have added a new splash screen and in the project properties the splash screen is the start form.

But i couldnt code a delay.

Public NotInheritable Class frm_splash
'TODO: Dieses Formular kann einfach als Begrüßungsbildschirm für die Anwendung festgelegt werden, indem Sie zur Registerkarte "Anwendung"

[Code]....

View 5 Replies

Show A Splash Screen For 5 Seconds Before Login?

Nov 26, 2009

i want to show a splash screen for 5 seconds before my login but the code i am using is giving problems.. i have tried to fix but is still not working.it is asking for comman somewhere... how can i fix it

Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)As Boolean)
Me.MinimumSplashScreenDisplayTime = 5000
Return MyBase.OnInitialize(commandLineArgs)
End Function

View 2 Replies

Forms :: How To Show A Wait Dialog Or Splash Screen

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

VS 2008 Set Module As Start Object And Before To Show The Splash Screen?

Jul 2, 2009

my application starts executing a module. it runs process.

Quote:

Public Sub SubMain()
'run process
.
.
Application.Run(New frmLogin)
End Sub

But now I want to add a splashscreen. But when I go to set it to "My Project" / "Application", I can not to set this module as start object.How I can set my module as start object and before to show the splash screen?

View 4 Replies

VS 2010 Load The Splash And Login Form Twice And Mdi Form

Aug 1, 2011

I have a code which when used, firstly application will run the Splash Screen application. Splash Screen will be active for several second, and then the main of application will show in full screen. Before the user use the application, user must Log in first. This works but the problem is that it loads the splash and login form twice. To worsen the situation, the second login form that appears gives access to the system even when the cancel button is clicked while the first login form just works fine. My codes for the three forms are as listed below:

[Code]...

View 6 Replies

Splash,login And Mdi Form?

Aug 2, 2011

I have a code in vb.net 2010 which when executed,should load the splash screen for a few seconds,then load the main form,but this main form will only be active after a user logs in with the correct password.I have implemented the code but its giving me an error of two splash screens and two login forms.The 1st splash appears which gives way to the login form.When i enter the correct password and click OK,it again displays another splash screen which again gives way to a second login form.The second login form even has a bigger problem.It logs me into the system even when i click the cancel button.

Here is my mdiform code:
Private Sub mdiMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[code].....

View 1 Replies

Cannot Close Form After The Splash-screen

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

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

Make A Splash Screen Using A Form?

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

Splash Form Shows But No Controls Appear

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

App Very Slow In Startup (Splash Form) On Users PC

Oct 1, 2009

We created a vb.net desktop application in Microsoft visual studio 2005, in deployment phase we found that the application are vary slow in startup (Splash screen), we try many solution (ngen, remove unused name space, code, references) to speed the load but we could not solve it.

View 5 Replies

Display The Splash Screen Before Going To The Main Form?

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

Load Form Data During Splash Screen

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

Splash Screen And Select Next Form To Load?

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

Splash Screen By Removing Form Border?

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

Splash Screen Load Delay Next Form

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

VS 2010 Splash Screen & Main Form?

May 11, 2011

Namespace My
Partial Friend Class MyApplication
Protected Overrides Function OnInitialize(

[code].....

View 5 Replies

Changing Splash Form And Startup Object At Runtime?

Jun 24, 2010

I am developing an windows application in VB 2008, My requirment is such that I have to change the applications Splash and Startup object on the basis of "Custom Constants" (Compilation Constants).As far as I have .Net idea it should be done in Application.Startup Event (guide me if i am wrong)Now, in Application.Startup_Event when I write the code

Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
My.Application.SplashScreen = SplashScreen2

[code]....

The application dont work as desired, instead it starts with Form2 (which is OK), while in case of Splash it doesnt changes the splash form.

View 5 Replies

Forms - Create A Splash Form With Dynamic Graphics

Nov 5, 2010

I need to create a splash form with dynamic graphics like in splash screen in new Outlook 2010.

View 3 Replies

Main Form Shows At The Same Time As Splash Screen?

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

Make Splash Screen Go Away After 5 Seconds And Load Another Form?

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

Power Point Slides Or Splash Screens In Form?

Apr 1, 2011

I have some apppliction....interface is good but its not that advance in visual style...so i manage to implement power point slide in web browser (webbrowser.navigate "pps "to twick the look of the program...but when im changing the tabs or opening other windows and then go back to tab where is pps it wont refresh properly.(web browser spec. fill)And i got flickering when im changing tabs or pages.

1.Is it because i have slow comp?

2.Or it have another way (faster) to implement power point slides in application instead of the web browser?

3.Or in general the visual basic is a poor program(when u talking about visual stile) that have some limitations and works very slow when u implementing some visual staff?

View 3 Replies

Splash Screen Delay Before Loading Main Form?

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

VS 2010 Splash Screen Hidden By Maximized Form?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved