|
-
Dec 11th, 2000, 02:32 PM
#1
Thread Starter
Junior Member
Can anyone help me with this:
I have made a program, and if you drag the form elsewhere on the screen, a WAV file is played. For the WAV file I have to specify a certain address. Doing that, everything works. Lets say, my WAV file is located in, C:\Media\hello.wav, and my executable file is located in C:\VB\cool.exe.
To play that file, I just enter that file path in my code to play it.
Suppose, I was to give my program to someone else with all the necessary files in their corresponding folders.
Suppose If the person moves my program in to the Program Files folder. By doing this the sound will not be played.
I dont think I am making much sense inn explaining this, so let me try to go in further details:
I have seen programs, which have WAV's playing in their application. No matter what folder i install the application to, the WAV will still play. That is, unless I change the wav files name itself. Make sense? This is what i think How u would do it, but apparently it doesnt work.
\Media\hello.wav
by doing this, i would think even if the user put the Media folder in Program Files, it would still play, but it doesnt! Please someoen HELP!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|