Click here to Skip to main content
16,005,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hi! Pin
MinhajuddinK4-Feb-07 20:22
MinhajuddinK4-Feb-07 20:22 
QuestionHi! Pin
Member 37946634-Feb-07 16:44
Member 37946634-Feb-07 16:44 
AnswerRe: Hi! Pin
TrooperIronMan5-Feb-07 1:42
TrooperIronMan5-Feb-07 1:42 
QuestionAdding Control inside Control with Designer [modified] Pin
Luc Pattyn4-Feb-07 14:19
sitebuilderLuc Pattyn4-Feb-07 14:19 
AnswerRe: Adding Control inside Control with Designer Pin
PIEBALDconsult4-Feb-07 16:39
mvePIEBALDconsult4-Feb-07 16:39 
AnswerRe: Adding Control inside Control with Designer Pin
Stefan Troschuetz4-Feb-07 21:39
Stefan Troschuetz4-Feb-07 21:39 
AnswerRe: Adding Control inside Control with Designer [modified] Pin
Martin#4-Feb-07 21:58
Martin#4-Feb-07 21:58 
Questionfile not found the first time applicatioin is run Pin
AceC0d3r4-Feb-07 11:20
AceC0d3r4-Feb-07 11:20 
i'm using devenv to compile projects

say
Process.start("devenv",@"<solution> /build Debug ........... /out C:\BuildLog.txt");

the next piece of code is:
StreamReader sr = new StreamReader("C:\\BuildLog.txt");
string line;
while((line = sr.ReadLine()) != null)
{
LogText += line;
}


this throws a filenotfound exception the first time. on running the application again, it finds the file and displays its contents too...

the file gets appended with every run. but on reading it thru this code it does not read the latest chunks written to file.

for eg say
the file contains
abc
xyz
def

the file reads only abc xyz

and the next time it runs it reads abc xyz as well as def... but by then.... more chunks r appended.


Kindly help.

thanks in advance.
AnswerRe: file not found the first time applicatioin is run Pin
Christian Graus4-Feb-07 11:49
protectorChristian Graus4-Feb-07 11:49 
GeneralRe: file not found the first time applicatioin is run Pin
AceC0d3r4-Feb-07 20:01
AceC0d3r4-Feb-07 20:01 
AnswerRe: file not found the first time applicatioin is run Pin
VirtualVoid.NET6-Feb-07 3:43
VirtualVoid.NET6-Feb-07 3:43 
QuestionDisable(gray out ) an item in CheckedistBox in C# Pin
happyrider4-Feb-07 9:43
happyrider4-Feb-07 9:43 
AnswerRe: Disable(gray out ) an item in CheckedistBox in C# Pin
Judah Gabriel Himango5-Feb-07 11:40
sponsorJudah Gabriel Himango5-Feb-07 11:40 
QuestionExteranal config for Remoting cause big problem Pin
TrooperIronMan4-Feb-07 9:18
TrooperIronMan4-Feb-07 9:18 
AnswerRe: Exteranal config for Remoting cause big problem Pin
TrooperIronMan5-Feb-07 1:41
TrooperIronMan5-Feb-07 1:41 
GeneralRe: Exteranal config for Remoting cause big problem Pin
VirtualVoid.NET6-Feb-07 3:45
VirtualVoid.NET6-Feb-07 3:45 
GeneralRe: Exteranal config for Remoting cause big problem Pin
TrooperIronMan14-Feb-07 1:38
TrooperIronMan14-Feb-07 1:38 
QuestionNested struct or Object property of a component? Pin
mike montagne4-Feb-07 9:03
mike montagne4-Feb-07 9:03 
AnswerRe: Nested struct or Object property of a component? Pin
Christian Graus4-Feb-07 9:09
protectorChristian Graus4-Feb-07 9:09 
GeneralRe: Nested struct or Object property of a component? Pin
mike montagne4-Feb-07 9:22
mike montagne4-Feb-07 9:22 
GeneralRe: Nested struct or Object property of a component? Pin
mike montagne4-Feb-07 19:15
mike montagne4-Feb-07 19:15 
GeneralUI Type Editor appears not to be the answer. Pin
mike montagne4-Feb-07 20:12
mike montagne4-Feb-07 20:12 
GeneralInterfaces? Pin
mike montagne4-Feb-07 20:17
mike montagne4-Feb-07 20:17 
GeneralRe: Nested struct or Object property of a component? Pin
mike montagne5-Feb-07 17:51
mike montagne5-Feb-07 17:51 
AnswerRe: Nested struct or Object property of a component? Pin
Martin#4-Feb-07 22:51
Martin#4-Feb-07 22:51 

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.