المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to store variables in C# exe file?



C# Programming
05-04-2009, 01:13 PM
I want to store dynamic variables in a exe file (C#), that I can access [mostly just strings] to read or write. I was using the Application Settings class but it apparently saves the files in Application Data but I want my exe to take the values from the form and write them to itself or store them inside the executable file so that when I send the file to someone else it will have the preferences stored without having to do anything.

If this is not possible is there any way of making a C# builder application that will ask for variables and then create a new exe file with the variables pre-stored? Thanks http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif