Solved

Play avi file during DB query

Posted on 2007-12-01
3
260 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now