1 Attachment(s)
Show a continuous progress bar when do sql interrogation?
I made a small ERP for my firm ...and i have a problem. I have a lot of sql interrogation (client conected to a server in LAN) ..and this takes very long time..
It is possible to display a continuous progress bar when i do sql interrogation because it takes a very long time to wait for user.
I think i can use multi-threading but I do not know how.
Can someone help...
Here is a screenshot for my ERP:
Re: Show a continuous progress bar when do sql interrogation?
Multi-threading in VB isn't exactly easy & is relatively unstable; no room for error.
A possible solution could be to use asynchronous SQL execution and use a timer to update the progress bar or display a simple label saying to wait... May want to search the databases portion of the forum using the keyword: asynchronous.
Re: Show a continuous progress bar when do sql interrogation?
Re: Show a continuous progress bar when do sql interrogation?
you could use egg timer cursor, just so it looks like something is happening
Re: Show a continuous progress bar when do sql interrogation?
Quote:
Originally Posted by
westconn1
.. egg timer cursor...
never heard it called that before :)
Always known it as the hourglass
Re: Show a continuous progress bar when do sql interrogation?
i guess there is a few to choose from, depending on windows version