Results 1 to 7 of 7

Thread: opening files through my App only, please

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Glasgow,Scotland
    Posts
    281

    Post


    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.

  2. #2
    Lively Member mrdarkwarez's Avatar
    Join Date
    Feb 2000
    Location
    Australia
    Posts
    113

    Post

    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

  3. #3
    Addicted Member
    Join Date
    Oct 1999
    Location
    Oporto, Portugal
    Posts
    134

    Post

    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

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 1999
    Location
    Glasgow,Scotland
    Posts
    281

    Post


    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.

  5. #5
    Addicted Member
    Join Date
    Oct 1999
    Location
    Oporto, Portugal
    Posts
    134

    Post

    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

  6. #6
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363

    Post

    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

  7. #7
    Addicted Member
    Join Date
    Jul 1999
    Location
    Portland, OR.
    Posts
    226

    Post

    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
  •  



Click Here to Expand Forum to Full Width