Results 1 to 7 of 7
  1. #1
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic

    Question [Help]Splashscreen

    in my app i added a splash screen

    how can i make the splash screen popup before my form1 for about 5 sec then form1 pops up and the splash screen goes away???

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  2. #2
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    I don't think you can change how long it appears for.
    But to add it before you program starts up, go to the Solution Explorer.
    Then at the top, right click [your programs' name] and select properties.
    Then under the "Application" Tab, find the SplashScreen option at the bottom. Then select your spashscreen from the Combo Box.

    You're DONE!

  3. #3
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Pretty simple to do really using a timer.

    Firstly add a timer to the form let's say... Timer1 is it's name.

    now add this to the splashscreen load sub.

    Code:
        Private Sub SplashScreen1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    
    Timer1.Interval = 5000 'set this to how long you want it to be for
    Timer1.Enabled = True
    
        End Sub
    Then for the timer

    Code:
           Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            Form1.Show()
            Me.Hide()
        End Sub
    And you're done!

    Hoep that helped.

    J-Deezy

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  4. #4
    Samueldo's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Meh
    Posts
    1,023
    Reputation
    29
    Thanks
    348
    My Mood
    Inspired
    I used this in InjectPlz on the Form Load sub:

    Code:
    Splash.Show()
    System.Threading.Thread.Sleep(5000) 'wait for how many ms
    Splash.Close()
    This works perfectly as the form doesn't show until all events in the Load sub are done.
    Quote Originally Posted by Grim View Post
    glad to be an inspiration
    Minions rule. /endof

    InjectPlz Refresh - download v1.0 now!

  5. #5
    hopefordope's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Herndon,VA
    Posts
    264
    Reputation
    9
    Thanks
    86
    My Mood
    Psychedelic
    ok so the interval is in milli seconds
    ahahh its so hard to add a timer
    Last edited by hopefordope; 05-16-2010 at 02:17 PM.

    Press Thank You[IMG]https://i45.tinypic.com/2hg8w0n.jpghttps://img1.UploadScreensho*****m/images/main/2/3203234450.jpg[/IMG]










    My Releases
    Injector 3G
    Injector 2G
    Injector 1G
    Super Spammer
    CA Cleaner
    My Tutorials
    How to Make a real Injector(PerX)
    How to Make a Calculator(leeched)

  6. #6
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    No it isn't >.<
    Of course it's in milliseconds.
    More useful for precise timing.

  7. #7
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Hmm...the best way is to change the default time for the splash screen:

    To do this goto project settings > application tab > View Application Events as shown in the pic below:



    Then add the following code to the startup sub-procedure:

    Code:
     Dim seconds As Integer = 5 * 1000
                Application.MinimumSplashScreenDisplayTime = seconds


    Hope this helps !!
    Last edited by Hassan; 05-17-2010 at 08:23 PM.

  8. The Following User Says Thank You to Hassan For This Useful Post:

    hopefordope (05-17-2010)

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  4. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM
  5. [Help]Splashscreen[Solved]
    By /b/oss in forum Visual Basic Programming
    Replies: 3
    Last Post: 05-17-2010, 07:36 AM