On Sat, 28 Oct 2006 15:43:24 +0530
Nataraj S Narayan <[EMAIL PROTECTED]> wrote:
> Hi
>
> I need to write a lazarus program that searches a specified directory
> (recursively) for file type *.jpg,*.avi,*.png... and movies files
> *.mov etcetra. The program should display the files for a specified
> number of seconds only, then go to the next one.
TImage for .jpg, .png, .bmp, ...
I don't know about a component for .avi, .mov.
> Does lazarus have a movie viewer compo? If not, if I load another
> movie viewer program from outside, how do i limit the execution for a
> specified amout of time? Using TTimer compo?
Maybe start a player with TProcess and use TTimer to stop it.
> The TImage component doesnt display .jpg files in runtime. But the
> TDBImage shows both in runtime as well as design time. Is it a bug in
> TImage?
TImage works with .jpg if you use the jpegforlazarus or the
imagesforlazarus package.
Because TDBImage works I assume you already use one of the above.
Maybe you made a mistake. Please provide a small example.
> The idea is check on the pen drives of Students studying in my school
> for any porn kinda files.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives