473,473 Members | 4,185 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Display form before main form

Hi,

I would like to display a form (to add registration information) before
the main form loads obviously I would like to place this inside an IF
statement as I dont need to register every single time the program is
started.

I do not want the main form to be seen prior to sucessfu completion of
the registration form.

Can anyone suggest a method to do this? and can anyone tell me what I
need to look for on google to find the relevant information?

I believe its called a splash screen, but havent been able to find out
how to do this with VB.net

Yours gratefully

David

Dec 27 '05 #1
3 1206
go*************@hotmail.com wrote:
Hi,

I would like to display a form (to add registration information) before
the main form loads obviously I would like to place this inside an IF
statement as I dont need to register every single time the program is
started.

I do not want the main form to be seen prior to sucessfu completion of
the registration form.

Can anyone suggest a method to do this? and can anyone tell me what I
need to look for on google to find the relevant information?

I believe its called a splash screen, but havent been able to find out
how to do this with VB.net

Yours gratefully

David


Change your startup to a sub main. Then make a module and in it put sub
main.

Sub Main()
dim Splash as new SplashScreen
if Splash.ShowDialog = DialogResult.Ok then
dim Main as new MainScreen
Main.Showdialog
end if
end sub

End Sub
Dec 27 '05 #2
Thanks!

Can you recommend a project I can download and dissect to help me gain
a better understanding as I am relativly new to VB

cheers

David

Dec 27 '05 #3

<go*************@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Thanks!

Can you recommend a project I can download and dissect to help me gain
a better understanding as I am relativly new to VB


https://connect.microsoft.com/downlo...downloadid=241

(You probably need to have registered VB Express to get here)

http://www.microsoft.com/mspress/com...0-7356-2213-2/

For the code for the book.

BTW, where do you download the other promised books, on VC# and VWebDev ?

Jan 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: iggie | last post by:
Hello, everyone. How can I display text from another form that currently has the focus. I'm doing a search in sql 2000, to dot it. I call a search form and query my criteria, when it founds the...
0
by: Carl | last post by:
I have a main form with navigation buttons on it and a label showing for example Record 1 of 15 using recordsetclone on it and eveything works fine. When I move through the records the record...
1
by: Johnfcf | last post by:
I have a database consisting of 3 tables, the main table with main contact info, a second table with additional address info and a third table consisting of additional contact information, or more...
11
by: bala | last post by:
hi!!! i need to display a disclaimer which is two page in length in a word document. i also need to format the text. the idea is something as follows on opening the application, a form which...
3
by: Robert W. | last post by:
I have a separate thread that handles data transfer operations (with a mobile device). I've set things up so that a small notification form is displayed in the lower right corner of the window. ...
0
by: yasker | last post by:
Hi, I got a problem in display a sub form. My app contains two form: main and sub. I want sub form display before main form, to provide some information to it. I use a NotifyIcon to activity...
1
by: Regnab | last post by:
I've got a form where the user can edit the lookups available in the database. It consists of a list box of the various categories on the main form, a checkbox on the main form and a sub form which...
3
by: koutoo | last post by:
Is it possible to display messages in the python shell? I want to display error messages based on parameters in my scripts to the users. Is there another way to display messages other than log...
1
by: c0l0nelFlagg | last post by:
I need to display a main form with 48 identical subforms. 6 columns with 8 rows. I set up a separate query for each subform, identical in structure and underlying data except the criteria in...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.