Click to See Complete Forum and Search --> : help!!!!!!!!!!!!!!!!


ant
June 24th, 2001, 05:47 PM
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: cgeorge@thevortex.com
for the address

Tower
June 24th, 2001, 06:43 PM
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.

d.paulson
June 24th, 2001, 09:12 PM
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

Clearcode
June 25th, 2001, 03:45 AM
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

Cimperiali
June 27th, 2001, 03:00 AM
... 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.