Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execution of commands one after the other
Message
 
À
17/04/2008 13:21:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01310723
Message ID:
01311512
Vues:
29
>>>>>I picked some code from "Play multimedia files using MCI commands" (in Windows API section)
>>>>
>>>>Nope, with pure API you stick to timer, just because VFP can't handle callback function. You could download FLL that handle Callback function.
>>>
>>>Ok then. I really have to know when it's finished. I'll try the other one you mentioned. Do you know how I could play audio files with that other one? Example is for video only.
>>
>>Not tested:
>>
>>thisform.VCR.DeviceType = [WaveAudio]
>>ThisForm.VCR.FileName = 'SomeFile.WAV'
>>ThisForm.VCR.Shareable = .F.
>>ThisForm.VCR.Command = 'Open'
>>ThisForm.VCR.Command = 'PLAY'
>>
>>Where VCR is instance of MCI.MMControl.1 ActiveX control.
>
>Thank you Borislav.

But if you play WAV files why not:
SET BELL TO 'SomeFile.WAV'
? CHR(7)
SET BELL TO
I thing that will stop and wait until WAV file is finished (Not sure though).
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform