Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
AnswerRe: Memory usage problem Pin
Frank Horn16-Sep-08 0:12
Frank Horn16-Sep-08 0:12 
AnswerRe: Memory usage problem Pin
Dave Kreskowiak16-Sep-08 2:06
mveDave Kreskowiak16-Sep-08 2:06 
GeneralRe: Memory usage problem Pin
Dan Neely16-Sep-08 2:12
Dan Neely16-Sep-08 2:12 
QuestionWhy is like that ? [modified] Pin
Mogaambo15-Sep-08 22:35
Mogaambo15-Sep-08 22:35 
AnswerRe: Why is like that ? Pin
N a v a n e e t h15-Sep-08 22:45
N a v a n e e t h15-Sep-08 22:45 
GeneralRe: Why is like that ? Pin
Mogaambo15-Sep-08 23:02
Mogaambo15-Sep-08 23:02 
GeneralRe: Why is like that ? Pin
DaveyM6915-Sep-08 23:23
professionalDaveyM6915-Sep-08 23:23 
GeneralRe: Why is like that ? Pin
Mogaambo15-Sep-08 23:42
Mogaambo15-Sep-08 23:42 
//I tried this code but the result is not reflecting in app.config

//WHY


// Get the configuration file.
Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);

// Add an entry to appSettings.
int appStgCnt = ConfigurationManager.AppSettings.Count;
string newKey = "NewKey" + appStgCnt.ToString();

string newValue = DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToLongTimeString();
config.AppSettings.Settings.Add(newKey, newValue);

// Save the configuration file.
config.Save(ConfigurationSaveMode.Modified);

// Force a reload of the changed section.
ConfigurationManager.RefreshSection("appSettings");

“You will never be a leader unless you first learn to follow and be led.”
–Tiorio

"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford

GeneralRe: Why is like that ? Pin
DaveyM6916-Sep-08 0:06
professionalDaveyM6916-Sep-08 0:06 
AnswerRe: Why is like that ? Pin
dojohansen16-Sep-08 2:55
dojohansen16-Sep-08 2:55 
Questionrichtextbox 's DetectUrls property Pin
Lim Yuxuan15-Sep-08 22:22
Lim Yuxuan15-Sep-08 22:22 
AnswerRe: richtextbox 's DetectUrls property Pin
DaveyM6915-Sep-08 22:42
professionalDaveyM6915-Sep-08 22:42 
GeneralRe: richtextbox 's DetectUrls property Pin
Lim Yuxuan15-Sep-08 22:50
Lim Yuxuan15-Sep-08 22:50 
GeneralRe: richtextbox 's DetectUrls property Pin
DaveyM6915-Sep-08 22:58
professionalDaveyM6915-Sep-08 22:58 
Questioni want assing a user define password 2 my project pls help me out Pin
bhargav12315-Sep-08 21:37
bhargav12315-Sep-08 21:37 
AnswerRe: i want assing a user define password 2 my project pls help me out Pin
Harvey Saayman15-Sep-08 21:45
Harvey Saayman15-Sep-08 21:45 
GeneralRe: i want assing a user define password 2 my project pls help me out Pin
#realJSOP15-Sep-08 23:26
mve#realJSOP15-Sep-08 23:26 
GeneralRe: i want assing a user define password 2 my project pls help me out Pin
Harvey Saayman15-Sep-08 23:29
Harvey Saayman15-Sep-08 23:29 
Questioninvalid cast exception Pin
preetpal15-Sep-08 21:09
preetpal15-Sep-08 21:09 
AnswerRe: invalid cast exception Pin
N a v a n e e t h15-Sep-08 21:12
N a v a n e e t h15-Sep-08 21:12 
GeneralRe: invalid cast exception Pin
preetpal15-Sep-08 21:56
preetpal15-Sep-08 21:56 
GeneralRe: invalid cast exception Pin
N a v a n e e t h15-Sep-08 22:40
N a v a n e e t h15-Sep-08 22:40 
AnswerRe: invalid cast exception Pin
Russell Jones16-Sep-08 4:42
Russell Jones16-Sep-08 4:42 
QuestionFocus previous TextBox Pin
Tavbi15-Sep-08 21:02
Tavbi15-Sep-08 21:02 
AnswerRe: Focus previous TextBox Pin
N a v a n e e t h15-Sep-08 21:16
N a v a n e e t h15-Sep-08 21:16 

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.