Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:
  #1  
Old 10-23-2003, 03:57 PM
C. Hunter
Guest
 
Posts: n/a
Splash Screens


Hello fellow developers

I have a program that I have just finished using vb.NET, now I would like
to create a splash screen. How would I do get the splash screen to be displayed
for about 5 seconds and then my main form loads?

someone please help...
Reply With Quote
  #2  
Old 10-23-2003, 03:57 PM
Phil Weber
Guest
 
Posts: n/a
Re: Splash Screens

> How would I do get the splash screen to be displayed
> for about 5 seconds and then my main form loads?


C: http://www.ftponline.com/vsm/2003_04...ne/columns/qa/
--
Phil Weber

Reply With Quote
  #3  
Old 10-23-2003, 03:57 PM
C. Hunter
Guest
 
Posts: n/a
Re: Splash Screens


Hey Phil I haven't learned C# yet, are there any examples in VB.NET?

"Phil Weber" <philweber@hotmail.com> wrote:
> > How would I do get the splash screen to be displayed
> > for about 5 seconds and then my main form loads?

>
>C: http://www.ftponline.com/vsm/2003_04...ne/columns/qa/
>--
>Phil Weber
>


Reply With Quote
  #4  
Old 10-23-2003, 03:57 PM
Phil Weber
Guest
 
Posts: n/a
Re: Splash Screens

> I haven't learned C# yet, are there any examples
> in VB.NET?


C: You may be able to find one by searching the Web. If not, try this:
http://authors.aspalliance.com/aldot...translate.aspx
--
Phil Weber

Reply With Quote
  #5  
Old 10-23-2003, 03:57 PM
Bruce
Guest
 
Posts: n/a
Re: Splash Screens


You can try something like this, starting from a module:

Sub Main()

Dim oFrmStartup As New frmStartup

'Create thread to show splash screen
Dim thr As New Threading.Thread(AddressOf ShowSplash)
'---Start the thread
thr.Start()

'---Run the main application
Application.Run(oFrmStartup)

End Sub

Sub ShowSplash()
Dim oFrmSplash As New frmSplash
'Show the splash screen
oFrmSplash.Show()
'Place window on top
oFrmSplash.TopMost = True

'Pause for 3 seconds
Threading.Thread.CurrentThread.Sleep(3000)

'---All done
oFrmSplash.Dispose()

End Sub

Bruce

"C. Hunter" <cchyter@yahoo.com> wrote:
>
>Hello fellow developers
>
>I have a program that I have just finished using vb.NET, now I would like
>to create a splash screen. How would I do get the splash screen to be displayed
>for about 5 seconds and then my main form loads?
>
>someone please help...


Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:23 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.