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
Divers
Thread ID:
00114433
Message ID:
00114845
Vues:
21
>>I've found that wav files, whether included in the project or not, will not be found by SET BELL unless the full path to the wav file is there. I don't include wav files in the project anymore and issue LOCFILE() to get the full path to the wav file for SET BELL.
>
>***********
>
>Ta Steve
>
>I was hoping to find someone would know a way of being able to obtain the contents of a file (any file) that was known to be a part of the project. The next step would be to get SET BELL to play it. Or perhaps to get a sound player OCX to do it.
>
>The LOCFILE() method is similar to having (as I do) a variable that permanently holds the path to the WAV file folder. But I don't want a WAV file folder!
>
>I don't need a bitmap folder to show pictures.
>
>John Burton

So true, bitmaps don't require one. But you also don't need the full path for commands to show bitmaps where it appears that SET BELL does require the path. I don't have a workaround to this but I hope that one comes up. Right now, I'm just including wav files in the root folder with the exe.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform