|
-
Feb 14th, 2000, 06:22 PM
#1
Thread Starter
Hyperactive Member
Hi,
I have a number of large sound files on the same CD-ROM as my program. They are .wav files and realaudio files. I'm wondering if there is any way to stop people playing the files, unless they are opened through my App. Do you know what I mean? - if the user clicks a button on the interface of my Application it will open the linked sound file. But if the user double clicks the sound file itself, it won't open.
Any help would be appreciated.
-
Feb 14th, 2000, 11:00 PM
#2
-
Feb 15th, 2000, 01:39 AM
#3
Addicted Member
Try this:
Remove the first 7 chars ( they are allways the same for a WAV or MP3 files) of each file and then save them in the cd.
Each time you must play a file add the first 7 chars ad play it.
Like that no one can ear them.
------------------
Jorge Ledo
[email protected]
Portugal
-
Feb 15th, 2000, 02:23 AM
#4
Thread Starter
Hyperactive Member
JorgeLedo,
I'm not too sure what you mean. Do you mean 'characters'? How can the first 7 chars always be the same - unless you name them the same? For instance, if I have a file named funnysound.wav and animal.wav, the first 7 characters are different.
Thanks.
-
Feb 15th, 2000, 03:15 AM
#5
Addicted Member
Sorry I meant the first 4 letters "RIFF".
Try taking them out and play it.
Then add them again at the beggining and play it again.
------------------
Jorge Ledo
[email protected]
Portugal
-
Feb 15th, 2000, 04:30 AM
#6
Hyperactive Member
Is there a way to force a file being opened to launch another executable? I have an interface to another program and I don't want the user going into Explorer and launching the other program directly.
Thanks,
Wade
-
Feb 15th, 2000, 10:57 AM
#7
Addicted Member
Hi JorgeLedo
Do you mean opening the file in your wordpad, then removing the first 4 chars. then saving???
It did not work for me!
Would you please clear it up.
Thanx.
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
|