CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2001
    Posts
    155

    help!!!!!!!!!!!!!!!!

    how do you make an extension un-readable? like if my program creates a file with the extension *.csj
    how do you make that extension un-readable to any software except for the program that creates it??

    --Ant
    --------------------------------------------------
    check out my newest freeware
    E-mail me at: [email protected]
    for the address

  2. #2
    Join Date
    May 2001
    Location
    Russia
    Posts
    200

    Re: help!!!!!!!!!!!!!!!!

    This is not possible. This information store in registry and can be change any program. You can test this registry code in startup your program, but if user don't start your program, any other program can change.

    Andy Tower

  3. #3
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: help!!!!!!!!!!!!!!!!

    I would suspect that you would need to encrypt the file. Although it could still be viewed with notepad, your program would only have the encryption key to decrypt it. You can also make a file association so that any file 'double clicked' with the .csj extension would bring up your program to decrypt it. Make a search here and on other sites for encryption to start you on the right track.

    David Paulson

  4. #4
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: help!!!!!!!!!!!!!!!!

    I believe it might be possible to write a program with a three letter extension made of unprintable characters?
    Why would you wish to do this?

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  5. #5
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: And with this, welcome back in Top 10

    ... As your name sounds better than mine!


    Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured