Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
hkjghkj14-Apr-09 3:43
hkjghkj14-Apr-09 3:43 
AnswerRe: Using Folder in the project Pin
Luc Pattyn4-Apr-09 3:57
sitebuilderLuc Pattyn4-Apr-09 3:57 
General[Message Deleted] Pin
hkjghkj14-Apr-09 4:08
hkjghkj14-Apr-09 4:08 
GeneralRe: Using Folder in the project Pin
Luc Pattyn4-Apr-09 4:55
sitebuilderLuc Pattyn4-Apr-09 4:55 
General[Message Deleted] Pin
hkjghkj14-Apr-09 5:07
hkjghkj14-Apr-09 5:07 
GeneralRe: Using Folder in the project Pin
Luc Pattyn4-Apr-09 5:09
sitebuilderLuc Pattyn4-Apr-09 5:09 
GeneralRe: Using Folder in the project Pin
Xmen Real 4-Apr-09 5:46
professional Xmen Real 4-Apr-09 5:46 
QuestionHow to link in a web page within windows project Pin
Rahad Rahman3-Apr-09 23:18
professionalRahad Rahman3-Apr-09 23:18 
AnswerRe: How to link in a web page within windows project Pin
DaveyM693-Apr-09 23:28
professionalDaveyM693-Apr-09 23:28 
Questiontreelistview key Navigation problem Pin
hirenkshah3-Apr-09 22:46
hirenkshah3-Apr-09 22:46 
AnswerRe: treelistview key Navigation problem Pin
Xmen Real 4-Apr-09 1:14
professional Xmen Real 4-Apr-09 1:14 
QuestionGridview Binding Pin
K V Sekhar3-Apr-09 22:33
K V Sekhar3-Apr-09 22:33 
AnswerRe: Gridview Binding Pin
Christian Graus3-Apr-09 23:16
protectorChristian Graus3-Apr-09 23:16 
QuestionCreating application settings at runtime? Pin
Sokka933-Apr-09 21:33
Sokka933-Apr-09 21:33 
AnswerRe: Creating application settings at runtime? Pin
DaveyM693-Apr-09 22:41
professionalDaveyM693-Apr-09 22:41 
AnswerRe: Creating application settings at runtime? Pin
Henry Minute4-Apr-09 6:21
Henry Minute4-Apr-09 6:21 
Answer[Message Deleted] Pin
rick05565-Aug-09 5:25
rick05565-Aug-09 5:25 
What you could do is create a new registry key
Name the new key "Your program settings".

RegistryKey ProgSettings = Registry.CurrentUser.OpenSubKey("Software,true);
ProgSettings.CreateSubKey("Your Program settings");
ProgSettings.Close();

Now you can add Sring Identifiers and values.
RegistryKey ProgSettings = Registry.CurrentUser.OpenSubKey("Software\\Your Program settings",true)
ProgSettings.SetValue("Setting Name",value) //store settings

string settings = ProgSettings.GetValue("Setting Name",false);// retreave settings

ProgSettings.DeleteValue("Setting Name",Setting Value);

Besure to close the registry key when you are done to avoid conflicts with other parts of your program that may write to the registry.

Many comercial software applications use these methods.
Code Project has many examples about Writing and reading to the registry.
This is much easyer the modifying the appconfig.xml file that is used when you create settings.
Hope this helps
GOD bless
Regards
AnswerRe: Creating application settings at runtime? Pin
rick05565-Aug-09 5:26
rick05565-Aug-09 5:26 
GeneralRe: Creating application settings at runtime? Pin
Sokka935-Aug-09 5:48
Sokka935-Aug-09 5:48 
QuestionHindi fonts are not shown in Exported PDF Pin
tauras813-Apr-09 20:52
tauras813-Apr-09 20:52 
QuestionPassing multiple parameters to query which counts number of rows in C# Pin
Deepali Khalkar3-Apr-09 19:23
Deepali Khalkar3-Apr-09 19:23 
AnswerRe: Passing multiple parameters to query which counts number of rows in C# Pin
Eddy Vluggen3-Apr-09 23:28
professionalEddy Vluggen3-Apr-09 23:28 
QuestionGetting the installation location in a post install task [modified] Pin
shaf2113-Apr-09 18:45
shaf2113-Apr-09 18:45 
AnswerRe: Getting the installation location in a post install task Pin
shaf2113-Apr-09 21:04
shaf2113-Apr-09 21:04 
Questionsql query Pin
Mangesh Tomar3-Apr-09 18:39
Mangesh Tomar3-Apr-09 18:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.