Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picking up WAV files in project compilation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Picking up WAV files in project compilation
Divers
Thread ID:
00114433
Message ID:
00114433
Vues:
73
Can anybody tell me why in a project that includes the files 'Graphic.bmp' and 'Whoosh.wav', these two actions work differently?

DEFINE CLASS Pic AS IMAGE
* this picks up the graphic file nicely
Picture = 'Graphic.bmp'
ENDDEFINE

* this cannot file the file!!!!
SET BELL TO 'Whoosh.wav', 1
??CHR(7)

I want to play little clicks when forms open without having to reference the sounds with absolute path names, or forcing the user to have a sub-directory containing the actual .Wav files.

John Burton
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform