-
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.
-
is quite hard to do what u want, but one simple way is to go to the registry and delete the shell keys of the files u want, that way - nothing will happen when the user double clicks on the wav or ra file.
However, the user can always open up a wav or ra player to play the files on ur cd.
the best way is to encrypt your files...
well, best of luck.. :)
ICQ# 29792493
-
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
-
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.
-
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
-
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
-
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.