|
-
Jun 26th, 2004, 08:48 AM
#1
Thread Starter
Lively Member
Splash Screen [Resolved]
I hat to keep harping on this subject, but I am using the code below as the startup.
Code:
Module Module1
Dim frm1 As New Form1()
Dim frm2 As New Form2()
Public Sub Main()
frm1.ShowDialog()
frm2.ShowDialog()
End Sub
End Module
and it works great, what I have been searching for is a means to load the splash (Form1) overtop of the main form (Form2) like Microsoft products do. Both forms at the same time but one in front of the other.
I tried setting Form1 to TopMost but that doesn't work either. Any thoughts?
Last edited by teamdad; Jun 26th, 2004 at 12:42 PM.
-
Jun 26th, 2004, 12:03 PM
#2
PowerPoster
Hi,
VB Code:
Module Module1
Dim frm1 As New Form1()
Dim frm2 As New Form2()
Public Sub Main()
Application.Run(frm1)
End Sub
End Module
In the Load event of Form1 put
VB Code:
Dim frm2 as New Form2
Me.Show
frm2.ShowDialog
frm2, being the splash screen, will appear on top of frm1, so you will have to set the Location property of Form2 to get the appearance you require.
Last edited by taxes; Jun 26th, 2004 at 12:07 PM.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|