| | |
File type help
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Thread Solved
![]() |
•
•
Join Date: Dec 2007
Posts: 3
Reputation:
Solved Threads: 0
I want to store data that will be read from and written to by two executable files. This data file will be used to store settings that are common to both executables. To keep the user from inadvertantly modifying the data file, I would like to limit its write access. Ideally, the write access would be limited to the two executables. Also, it would be nice to have the data file be unreadable, encrypted, or un-openable to keep the user from viewing the data file. Is all of this possible? If so, which file type should I use to store the data?
All of those things will not stop the determined (or the incompetent) from modifying the file.
What's wrong with a nice simple text file, with a banner at the top which reads something like
# This file is auto-generated. Any changes you make could be lost
# or cause the programs to fail in unexpected ways.
It seems to work for a lot of other programs.
What's wrong with a nice simple text file, with a banner at the top which reads something like
# This file is auto-generated. Any changes you make could be lost
# or cause the programs to fail in unexpected ways.
It seems to work for a lot of other programs.
•
•
Join Date: Dec 2007
Posts: 3
Reputation:
Solved Threads: 0
Thanks for your quick response to my first question. Would a text file be the most professional way to save the settings for an executable? I'll give an example to clarify what I mean by 'settings'. In IE7 under the tools menu, there is an option to turn the popup blocker on or off. When you make your selection(on/off), I'm guessing there is a value in a data file somewhere that is changed. I assume that there would be an if/then statement in the IE7 code based on this setting value. I have looked through the 'Internet Explorer' folder on my computer and can't find a text file. So, what kind of file is IE7 or most mainstream programs using to store user defined settings?
>Would a text file be the most professional way to save the settings for an executable?
Why wouldn't it be? If you don't need anything more sophisticated it would be unprofessional to push more of a solution than you require.
>So, what kind of file is IE7 or most mainstream programs using to store user defined settings?
If I were to guess, I'd guess that it's adding and updating keys in the registry. That's not a recommended practice.
Why wouldn't it be? If you don't need anything more sophisticated it would be unprofessional to push more of a solution than you require.
>So, what kind of file is IE7 or most mainstream programs using to store user defined settings?
If I were to guess, I'd guess that it's adding and updating keys in the registry. That's not a recommended practice.
I'm here to prove you wrong.
> In IE7 under the tools menu, there is an option to turn the popup blocker on or off.
Windows has this massive global variable called the registry.
> Would a text file be the most professional way to save the settings for an executable?
In the absence of compelling alternative requirements, there's no need to make settings unreadable by using some proprietary encoding format. Even Microsoft is coming around to the idea that what users really like is nice open standards for storing THEIR data, not some proprietary binary format which changes every couple of years and renders their precious data obsolete (and unsupported).
Windows has this massive global variable called the registry.
> Would a text file be the most professional way to save the settings for an executable?
In the absence of compelling alternative requirements, there's no need to make settings unreadable by using some proprietary encoding format. Even Microsoft is coming around to the idea that what users really like is nice open standards for storing THEIR data, not some proprietary binary format which changes every couple of years and renders their precious data obsolete (and unsupported).
![]() |
Similar Threads
- Anyone know what .AL file type is. Please help (Mac Software)
- Convert any file type to pdf with distiller (C#)
- How do I get the default action of a specific file type? (Visual Basic 4 / 5 / 6)
- Windows media player- Does not support file type! (Windows Software)
- PHP & File Extensions (PHP)
- file wont delete (Windows NT / 2000 / XP)
- Having problems with a file type (Geeks' Lounge)
- Missing Mailto Protocol Reg File (Web Browsers)
Other Threads in the Computer Science Forum
- Previous Thread: CPU - Operating system algorithm issue
- Next Thread: Final year project
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bletchleypark bomb business cern codebreaker compiler computer computerscience computertrackingsoftware connect conversion csc dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea internet iphone ipod itcontracts jobs kindle laser laws lsmeans mainframes marketing mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles rasterizer research sam-being-cute sas science software spying stephenfry study supercomputer sweden technology textfield turing turingtest two'scompliment uk virus ww2






