Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picking up WAV files in project compilation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Picking up WAV files in project compilation
Miscellaneous
Thread ID:
00114433
Message ID:
00114433
Views:
71
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
Next
Reply
Map
View

Click here to load this message in the networking platform