Click here to Skip to main content
15,881,516 members
Home / Discussions / C#
   

C#

 
GeneralRe: process dieng Pin
Eddy Vluggen26-Feb-09 1:13
professionalEddy Vluggen26-Feb-09 1:13 
QuestionCPU Pin
shefa' isied25-Feb-09 20:31
shefa' isied25-Feb-09 20:31 
AnswerRe: CPU Pin
Cracked-Down25-Feb-09 22:26
Cracked-Down25-Feb-09 22:26 
AnswerRe: CPU Pin
lawrenceinba25-Feb-09 23:54
lawrenceinba25-Feb-09 23:54 
QuestionSocket Programming : Reading From Multiple RFID Reaer Pin
Ravindra Bisen25-Feb-09 20:13
Ravindra Bisen25-Feb-09 20:13 
AnswerRe: Socket Programming : Reading From Multiple RFID Reaer Pin
krishnajaga19-Nov-09 1:52
krishnajaga19-Nov-09 1:52 
GeneralRe: Socket Programming : Reading From Multiple RFID Reaer Pin
krishnajaga19-Nov-09 1:54
krishnajaga19-Nov-09 1:54 
Questionhow to read a file content, that file was already opened ? Pin
CooperWu25-Feb-09 19:55
CooperWu25-Feb-09 19:55 
I try these code, but doesn't work,
            string file = @"e:\test.log";<br />
<br />
            FileStream fs1 = new FileStream(file, FileMode.Append, FileAccess.Write, FileShare.Read);<br />
            FileStream fs2 = new FileStream(file, FileMode.Open, FileAccess.Read);            <br />


throw an exception:

System.IO.IOException: The process cannot access the file 'e:\test.log' because it is being used by another process..

how to solve this?

Glad to discuss with you and best wishes.

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

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.