Results 1 to 2 of 2

Thread: Help with SlashScreen and ProgressBar

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2006
    Posts
    43

    Help with SlashScreen and ProgressBar

    Alright. I have a fairly good application which takes a bit of time to load. So, I added a splashscreen (hoping that this would be a loading screen) and added a progress bar. Now, for my question. How do I make the progress bar's value show how much my application has loaded?

    Any changes, solutions, or suggestions are greatly appreciated.
    I can help with C++, Java (some), vB, Ruby/RoR, Python, JavaScript, and TorqueScript

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Help with SlashScreen and ProgressBar

    You know your application best, and you obviously know what operations are occurring in the form load event for your first/main/only form. Let the main form startup in a hidden mode, with the splash screen showing, but have the progress bar be updated from the main form's page load event, after every significant event. So, in the page load event:

    VB Code:
    1. GetValuesFromDatabase()
    2. 'Update progress bar to 30%
    3. PopulateAllControls()
    4. 'Then update progress bar to 50%

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width