Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am calling a stored procedure in my application which takes some time.I want to display a progress indicator in the meantime.

I can't use progress bar because they need max value. For timer could not get pointer to start and stop.
I am trying to use animation control for that i need .avi file which is running like as progress bar.

Please help me, if any one can get me a .avi file that plays like a progress bar.
I searched for such file on internet but unable to find one.

Thanks & Regards
Sandeepak
Posted
Updated 17-Jun-10 18:25pm
v3
Comments
Sandeep Mewara 17-Jun-10 11:25am    
Working on desktop application or Web application?

You don't have any tags to say what version you're working in, so I can't say for sure, but...

Why not use the ProgressBar with the style set to 'marquee' ?

This will be the continuous look you're looking for.

Cheers,
-jc
 
Share this answer
 
Comments
SandeepKawade1978 18-Jun-10 0:12am    
I am Working on Visual Basic 6.0.u r talking abt .net
Thanks
TheyCallMeMrJames 18-Jun-10 11:41am    
hehe...no worries, but that's why it's important to use tags. Not all of us are on 12 year old technology ;o) Best of luck!

Cheers.
If you are working with VB6 then try using
Con.Execute strQry, , adAsyncExecute

Here con is the ADODB.Connection Object

This will make your execution Async
use con_ExecuteComplete Event for the completion message

use MSComCtl2.Animation object and show a Animated AVI file for your progress indicator.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900