Click here to Skip to main content
14,638,345 members
Home » Discussions » C#
   

C#

 
AnswerRe: How can i do it? Pin
Christian Graus29-Jun-08 21:11
mveChristian Graus29-Jun-08 21:11 
AnswerRe: How can i do it? Pin
Mbah Dhaim29-Jun-08 21:22
MemberMbah Dhaim29-Jun-08 21:22 
AnswerRe: Copying GroupBox Pin
Anthony Mushrow30-Jun-08 0:36
professionalAnthony Mushrow30-Jun-08 0:36 
QuestionSorting at runtime Pin
paresh_sarjani29-Jun-08 20:07
Memberparesh_sarjani29-Jun-08 20:07 
AnswerRe: Sorting at runtime Pin
Christian Graus29-Jun-08 20:13
mveChristian Graus29-Jun-08 20:13 
AnswerRe: Sorting at runtime Pin
rah_sin29-Jun-08 20:43
professionalrah_sin29-Jun-08 20:43 
AnswerRe: Sorting at runtime Pin
Mbah Dhaim29-Jun-08 21:28
MemberMbah Dhaim29-Jun-08 21:28 
QuestionHow to Write new line in text file Pin
wasimsharp29-Jun-08 19:26
Memberwasimsharp29-Jun-08 19:26 
Hi
i am creating log file and started to add New line
i user stream write class
 <br />
StreamWriter objWriter = new StreamWriter(path);<br />
       if (!File.Exists(path))<br />
          File.Create(path);<br />
objWriter.WriteLine("[" + DateTime.Now.ToString() + "] "+ Header + Message);<br />
      <br />
            objWriter.Close();<br />

when i compile the program and it start maintaining the Log and after closing the Programme i check the log file there is one one line written which the last activity that i logged.

wasim khan

AnswerRe: How to Write new line in text file Pin
Christian Graus29-Jun-08 19:29
mveChristian Graus29-Jun-08 19:29 
AnswerRe: How to Write new line in text file Pin
Guffa29-Jun-08 19:41
MemberGuffa29-Jun-08 19:41 
AnswerRe: How to Write new line in text file Pin
wasimsharp29-Jun-08 19:53
Memberwasimsharp29-Jun-08 19:53 
GeneralRe: How to Write new line in text file Pin
Christian Graus29-Jun-08 20:14
mveChristian Graus29-Jun-08 20:14 
QuestionHow to set the datetimpicker value back to current datetime on a buttion click Pin
Anu Palavila29-Jun-08 19:16
MemberAnu Palavila29-Jun-08 19:16 
AnswerRe: How to set the datetimpicker value back to current datetime on a buttion click Pin
darkelv29-Jun-08 19:19
Memberdarkelv29-Jun-08 19:19 
GeneralRe: How to set the datetimpicker value back to current datetime on a buttion click Pin
ali zaidi29-Jun-08 19:37
Memberali zaidi29-Jun-08 19:37 
GeneralRe: How to set the datetimpicker value back to current datetime on a buttion click Pin
ali zaidi29-Jun-08 19:37
Memberali zaidi29-Jun-08 19:37 
GeneralRe: How to set the datetimpicker value back to current datetime on a buttion click Pin
Christian Graus29-Jun-08 19:44
mveChristian Graus29-Jun-08 19:44 
AnswerRe: How to set the datetimpicker value back to current datetime on a buttion click Pin
Vimal Raj29-Jun-08 19:26
MemberVimal Raj29-Jun-08 19:26 
QuestionDatabase in not accessing on client machine Pin
ali zaidi29-Jun-08 19:08
Memberali zaidi29-Jun-08 19:08 
AnswerRe: Database in not accessing on client machine Pin
Christian Graus29-Jun-08 19:20
mveChristian Graus29-Jun-08 19:20 
QuestionRe:cannot implicitly convert type 'object' to 'int' Pin
twistz29-Jun-08 17:25
Membertwistz29-Jun-08 17:25 
AnswerRe:cannot implicitly convert type 'object' to 'int' Pin
Mark Churchill29-Jun-08 17:31
MemberMark Churchill29-Jun-08 17:31 
AnswerRe:cannot implicitly convert type 'object' to 'int' Pin
Christian Graus29-Jun-08 19:07
mveChristian Graus29-Jun-08 19:07 
QuestionCapture stderr through P/Invoke Pin
K.L.K29-Jun-08 17:02
MemberK.L.K29-Jun-08 17:02 
AnswerRe: Capture stderr through P/Invoke Pin
Luc Pattyn29-Jun-08 18:25
sitebuilderLuc Pattyn29-Jun-08 18:25 

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.