Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filesearch.avi 2

Status
Not open for further replies.

KoenPiller

Programmer
Apr 4, 2001
270
NL
Hi,

I would like to play the FileSearch.AVI file whilst the SQL SELECT() is composing my array.

Any Idea how to do?

Thanks,

Koen
 
Maybe thread184-39909 is helpfull?

Diederik Vermeeren
verm1864@exact.nl
 
Diederik,

Oops, I am looking for a way to play the "findfile.avi" and not the filesearch.avi, sorry.
Yes I have studied Vlad's suggestion on 184-39909 already, that does not bring me to the result yet. Have also studied and tried the advice on Microsoft HowTo Question 136763, but you don't want to know howmany error numbers I have seen when I copied and run that program.
Wil keep on looking.
Koen
 
Koen,

Sorry to have stated the obvious (but then, it seems that so much people don't use the 'search' facility...)

Maybe this is helpfull (didn't create a class myself yet):
Check out Q260155 on It contains a (downloadable) example, using Microsoft Animation Control 6.0 (MSCOMCT2.OCX)

Once again, didn't have the time yet to implement it myself, but it seems straight forward enough.

Have fun implementing, Diederik Vermeeren
verm1864@exact.nl
 
Hi Koen,

Tom Gahagan did an introduction to playing AVI files using the MS Animation Control in the August '00 & October '00 VFUG newsletters. They are available, with sample downloads, at
A simplistic example of this functionality:

WITH MyForm.MyAnimationControl
.Open('C:\mypath\findFile.Avi')
.Play()
SELECT * FROM MyTable WHERE MyCond=MyCry INTO ARRAY MyArr
.Stop()
.Close()
ENDWITH

Also, the Windows Media Player includes an OCX. See:
Jon Hawkins

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Hi Jon,
This was a golden tip. Tom's article is as simple and with your simplistic example even more simple all works fine. Thanks!
 
Dear Jon,

Here is a learning experience to use "find-file". I put it in the click event of the splash form just before I open the 00001rolodexsearch form. here is what I did...

alfcod=''
select dex
WITH 000001SPLASH.MyAnimationControl
Open('C:\JOHN\findFile.Avi')
Play() SELECT * FROM DEX
WHERE MyCond=MyCry
INTO ARRAY MyArr
Stop()
Close()ENDWITH
do zcolectionsall.prg
set filter to
set order to
go top
set order to TAG
thisform.refresh

do forms 000111rolodexsearch.scx

====any corrections and tnx ahead of time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top