Results 1 to 4 of 4

Thread: i dont want to see a blank screen

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    ottawa, canada
    Posts
    233

    Unhappy i dont want to see a blank screen

    I am not a VB Programmer by occupation so please bear with me,

    I have written a database program to help organise my calibration data at work. The problem is that i have quite a few image files stored in the database and so when i click to run the program, there is a pause of about 5 to 8 seconds, before the program actually loads.

    Rather than seeing a blank screen for 8 seconds, is it possible to have something like a form with a progress bar on it, that comes up instead.(until my main form loads ), and what would be the code to make progress bar work.

    Any suggestions/help would be greatly appreciated. I feel that this would make my program look just that bit more 'professional'.


    sparkash

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Another form is the perfect answer - unfortunately the progressbar is not the way to go (it isn't possible to work out how long a form will take to load).

    Just have a simple screen which has a message on it ("Loading Program..." or something similar)


    Make this new form the startup form, and put this code into form load:
    VB Code:
    1. Me.Show
    2. Form1.Show   'replace Form1 with the name of your form

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    ottawa, canada
    Posts
    233
    Thanks mate

  4. #4
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    good old splash screens

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