Hello,
I wish to write a program on C#(Windows Form) which kept in inself data which the user enters, so then they could read and change this data. I do not want save this data in database or file. Thanks in advanced.
Georgy Ivanov
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
GogoPosted Apr 8, 2010, 12:26 AM
Thanks for the answer. I can't use the resource files because I want to change the data in runtime.
Jaish MathewsPosted Apr 7, 2010, 3:09 PM
One need is a need itself. You tried with resource fil? They will be embeded to the assembly once build. More over this resource file can read during run time. Numbers and Strings you can already keep as key/value pair. For DataSet, use typed dataset and add that file to resource. Add file option is available. I never tried with these. But you can go through these ways.
GogoPosted Apr 7, 2010, 2:59 PM
Thanks for the answer, but I want to have only one file - my application file(executable file). With serialization I will have more than one file. I am trying to do something like CrypDitor(please see above)
GogoPosted Apr 7, 2010, 2:48 PM
I do not want to save data within configuration or other files. I want to save data within my application(executable file). This file can be move from one to other computer, so I think isolated storage is not good idea. I found one application - Cryptditor(see above) which is doing what I want, but I do not know how.About type of data - numbers, strings, and dataset.
Thanks
GogoPosted Apr 7, 2010, 2:33 PM
Thanks for the answer.
Yes, I want to save user data in executable file and this data also needs to be changed by the user. There is a program which is doing the same. Its name is Crypditor - http://www.protectcom.net/products/crypditor/. It's free(see atached file). Here you are some info about Crypditor :
Cypditor is a new free text editor to save your data with a high-secure encryption algorithm (AES).
No other software needed: application and documents are in one, because the mechanism to encrypt and decrypt the text files is part of it.
Crypditor is designed to store your serial numbers, passwords, phone numbers and notes fast and simple in a safe place.
No installation required!
Create your secure datafile and copy it on a USB stick. You do not have to install any software: the encrypted data is hidden within the software and protect by your password. If you lost the file, noone can open it or review the data.
Simple but secure
Crypditor works like a text editor. Write your text or import your existing textfiles (tabbed working is supported) within Crypditor and save the file. Double-click at the file and enter your password: you have access to your text files again.
Security
Your informations will be encrypted using a password with the most modern AES 256bit encryption technology. Innovative: a implemented Password-quality-check shows, how secure your password is.
Freeware
Free for download - free for use! English Version!
Features
- Application and documents in one!
- Support tab controls: it keeps everything in one window
- Import your existing textfiles
- Password-quality-check
- No installation required!
- High-secure encryption algorithm (AES)
- Freeware: Free for download - free for use! English Version!
- and much more...
Sam HobbsPosted Apr 7, 2010, 11:02 AM
Jaish MathewsPosted Apr 7, 2010, 9:10 AM
You can use serialization ie. any information in a clas can be saved as a file. Later yo can take back that file as a class and can modify. Just look on of my old article
http://www.vbdotnetheaven.com/UploadFile/jaishmathews/ApplySerializationinaRealLifeSituation11142006034411AM/ApplySerializationinaRealLifeSituation.aspx?ArticleID=5b7034a7-2839-44f2-a713-7ab09686e4a2
Hirendra SisodiyaPosted Apr 7, 2010, 9:09 AM
you can save some data in application configuration file or you can use concept of isolated storage...which type of data needs to store???
thanks
Please mark as answere if it helps