Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement