Click here to Skip to main content
15,790,175 members
Home / Discussions / C#
   

C#

 
QuestionSocket Programming : Reading From Multiple RFID Reaer Pin
Ravindra Bisen25-Feb-09 21:13
Ravindra Bisen25-Feb-09 21:13 
AnswerRe: Socket Programming : Reading From Multiple RFID Reaer Pin
krishnajaga19-Nov-09 2:52
krishnajaga19-Nov-09 2:52 
GeneralRe: Socket Programming : Reading From Multiple RFID Reaer Pin
krishnajaga19-Nov-09 2:54
krishnajaga19-Nov-09 2:54 
Questionhow to read a file content, that file was already opened ? Pin
CooperWu25-Feb-09 20:55
CooperWu25-Feb-09 20:55 
AnswerRe: how to read a file content, that file was already opened ? Pin
Xmen Real 25-Feb-09 21:03
professional Xmen Real 25-Feb-09 21:03 
GeneralRe: how to read a file content, that file was already opened ? Pin
CooperWu25-Feb-09 21:21
CooperWu25-Feb-09 21:21 
GeneralRe: how to read a file content, that file was already opened ? Pin
Xmen Real 25-Feb-09 21:25
professional Xmen Real 25-Feb-09 21:25 
GeneralRe: how to read a file content, that file was already opened ? Pin
CooperWu25-Feb-09 21:37
CooperWu25-Feb-09 21:37 
Sorry for my mistake, i create a test project like the first message, and it works.
but in my real project, it always throw the exception...

I wrote a singleton mode class, Logger class, to write log to file.
This logger class has 'LogLevel' property, the actions like in log4net.
then, i wrote a unit test class to test its LogLevel property setting will work.
...
I use the first FileStream in Logger class, then
I use the second FileStream in Logger Unit Test class, to check log message is corrent.
...
the second FileStream always throw that exception.
Frown | :(

Glad to discuss with you and best wishes.

AnswerRe: how to read a file content, that file was already opened ? Pin
CooperWu25-Feb-09 21:43
CooperWu25-Feb-09 21:43 
GeneralRe: how to read a file content, that file was already opened ? Pin
Xmen Real 25-Feb-09 23:53
professional Xmen Real 25-Feb-09 23:53 
QuestionOOP Concepts Any article Pin
Rameez Raja25-Feb-09 20:30
Rameez Raja25-Feb-09 20:30 
AnswerRe: OOP Concepts Any article Pin
aaCog25-Feb-09 22:46
aaCog25-Feb-09 22:46 
QuestionConsole application in intranet Pin
C. Hariharan25-Feb-09 20:22
C. Hariharan25-Feb-09 20:22 
AnswerRe: Console application in intranet Pin
ABitSmart25-Feb-09 21:58
ABitSmart25-Feb-09 21:58 
GeneralRe: Console application in intranet Pin
C. Hariharan25-Feb-09 23:22
C. Hariharan25-Feb-09 23:22 
AnswerRe: Console application in intranet Pin
Shyam K Pananghat25-Feb-09 23:59
Shyam K Pananghat25-Feb-09 23:59 
Questioninheritance [modified] Pin
aratireddy25-Feb-09 20:00
aratireddy25-Feb-09 20:00 
AnswerRe: inheritance Pin
Xmen Real 25-Feb-09 21:09
professional Xmen Real 25-Feb-09 21:09 
Questiondatagrin in combobox Pin
behzadcp25-Feb-09 19:51
professionalbehzadcp25-Feb-09 19:51 
AnswerRe: datagrin in combobox Pin
Christian Graus25-Feb-09 19:52
protectorChristian Graus25-Feb-09 19:52 
GeneralRe: datagrin in combobox Pin
behzadcp25-Feb-09 21:07
professionalbehzadcp25-Feb-09 21:07 
Questiondynamically add Flash C# application Pin
Zap-Man25-Feb-09 19:40
Zap-Man25-Feb-09 19:40 
AnswerRe: dynamically add Flash C# application Pin
Christian Graus25-Feb-09 19:52
protectorChristian Graus25-Feb-09 19:52 
GeneralRe: dynamically add Flash C# application Pin
Zap-Man25-Feb-09 20:17
Zap-Man25-Feb-09 20:17 
GeneralRe: dynamically add Flash C# application Pin
Zap-Man25-Feb-09 20:21
Zap-Man25-Feb-09 20:21 

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.