DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: progress bar

  1. #1
    Join Date
    Nov 2005

    Exclamation Report status of database query

    Hi Guy's................

    I want an animated STATUS BAR, or PROGRESS BAR, or animated picture which will dynamically informs the user that the database query or update is 50% done or is in progress.
    Is there any way to Display Simultaneously Animation with the Database Operations. How can i Get The My Project / Module will be Required The amount of time for this processing it may be report generation or File Uploading or DataBase Operation.
    i am wishing to do that Whenever user request for the Report Generation or Database operation but when the project is in that process animation gets stopped. n after that process gets completed animation again started as before the process

    Plz Help me if anybody have an idea regarding to that.

    When it's complete, the user gets the results.

    jones Henry
    Last edited by Phil Weber; 11-08-2005 at 07:47 AM.

  2. #2
    Join Date
    May 2005
    There are two event handlers that can be declared on your data layer as a whole
    which when subscribed to can give you a status message and a progess indicator in percentage

    public event ProgressNotifyHandler ProgressNotify;
    public event StatusNotifyHandler StatusNotify;

    protected virtual void OnProgessNotify(int i)
    if ( ProgressNotify != null )
    ProgressNotify( i );

    protected virtual void OnStatusNotify(string message)
    if (StatusNotify != null)

    Now in each of your database operation you could include calls for OnProgressNotify or OnStatusNotify. These event handlers can be used by the
    progress bar control . All though they would be best suited in huge operations involving a loop or counter and you have a fixed number of iterations

Similar Threads

  1. VB.NET Mdi project problem
    By H.w.Hendrick in forum .NET
    Replies: 0
    Last Post: 10-10-2005, 02:16 PM
  2. Another Language
    By Steven Bell in forum .NET
    Replies: 260
    Last Post: 06-01-2001, 04:32 PM
  3. A moderate view.
    By Paul Mc in forum .NET
    Replies: 214
    Last Post: 06-01-2001, 07:27 AM
  4. Replies: 1
    Last Post: 05-01-2001, 01:24 AM
  5. array declarations in VB.NET
    By Bill McCarthy in forum .NET
    Replies: 14
    Last Post: 04-10-2001, 05:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center