Solved

Play avi file during DB query

Posted on 2007-12-01
3
263 Views
Last Modified: 2012-06-22
Hi,

I have an c# .Net 1.1 Winforms application which has a long running query to my Sybase DB. This is not a problem, but I want to inform my user that the query is active and the application is not hanging. I have placed a lael on the form to inform users but I'd also like to add an avi file / video clip which illustrates this.

My question has 2 parts. Firstly where can I get a free, clean and professional avi file which conveys that a DB query is running. Secondly how do I display / run this avi file on my form and stop it once the query has returned a result.

Thanks for your help.
0
Comment
Question by:bowemc
3 Comments
 
LVL 11

Accepted Solution

by:
Mihai Stancescu earned 500 total points
ID: 20394018
For the second part to play an avi check this link:
http://dotnet.org.za/deon/pages/3057.aspx

To play it while you load the data from db, you must use the play method in a separate thread ( be careful on the invoke methods required);

For the first part:I think you must do your own loading avi, because I've searched a while and didn't found anything, or try to use some animated gifs, on the web.

Hope this helps!

Regards,
Mishu
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20592646
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add different cell to otherwise similiar row 4 45
InputLanguage 1 33
IEnumerable<T> to a List<T> 8 39
JQuery Detecting page post back 6 11
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question