Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: help me to correct my code Pin
Christian Graus29-Aug-05 20:01
protectorChristian Graus29-Aug-05 20:01 
GeneralRe: help me to correct my code Pin
sajikp29-Aug-05 20:54
sajikp29-Aug-05 20:54 
QuestionProblems with FileStream Pin
Tehnoon Raza29-Aug-05 19:13
sussTehnoon Raza29-Aug-05 19:13 
AnswerRe: Problems with FileStream Pin
Christian Graus29-Aug-05 19:24
protectorChristian Graus29-Aug-05 19:24 
GeneralRe: Problems with FileStream Pin
Member 171916929-Aug-05 19:34
Member 171916929-Aug-05 19:34 
GeneralRe: Problems with FileStream Pin
Christian Graus29-Aug-05 19:40
protectorChristian Graus29-Aug-05 19:40 
GeneralRe: Problems with FileStream Pin
Matt Gerrans29-Aug-05 20:09
Matt Gerrans29-Aug-05 20:09 
GeneralRe: Problems with FileStream Pin
Dave Kreskowiak30-Aug-05 7:41
mveDave Kreskowiak30-Aug-05 7:41 
Well, by default, the file is opened with Exclusive access. This means that all shared access, both read and write, is denied if another process tries to open the same file. This is actually a good thing in your situation.

If the server process is in the middle of writing to the file while your other process reads it, you could read an incomplete record or data or whatever. Your server process SHOULD hold an exclusive lock on that file when it needs to update it. What you can do, is when your other process needs to read the file, try and open it. If it's unavailable, just wait say five seconds, and try again. Keep doing that until you can finally open the file.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionComparing string with string array Pin
binglin29-Aug-05 18:58
binglin29-Aug-05 18:58 
AnswerRe: Comparing string with string array Pin
Guffa29-Aug-05 19:04
Guffa29-Aug-05 19:04 
AnswerRe: Comparing string with string array Pin
mkani30-Aug-05 21:19
mkani30-Aug-05 21:19 
QuestionTimer Pin
Taurian11029-Aug-05 18:28
Taurian11029-Aug-05 18:28 
AnswerRe: Timer Pin
Andy Brummer29-Aug-05 18:41
sitebuilderAndy Brummer29-Aug-05 18:41 
AnswerRe: Timer Pin
Alomgir Miah29-Aug-05 18:47
Alomgir Miah29-Aug-05 18:47 
AnswerRe: Timer Pin
mav.northwind29-Aug-05 20:35
mav.northwind29-Aug-05 20:35 
Questionhow to add web refrence through coding in c# Pin
mkani29-Aug-05 18:15
mkani29-Aug-05 18:15 
AnswerRe: how to add web refrence through coding in c# Pin
Andy Brummer29-Aug-05 18:48
sitebuilderAndy Brummer29-Aug-05 18:48 
QuestionHow to call to MAIN Pin
levi's29-Aug-05 18:08
levi's29-Aug-05 18:08 
QuestionCheck TextBox To Confirm Number? Pin
...---...29-Aug-05 16:27
...---...29-Aug-05 16:27 
AnswerRe: Check TextBox To Confirm Number? Pin
Christian Graus29-Aug-05 16:43
protectorChristian Graus29-Aug-05 16:43 
GeneralRe: Check TextBox To Confirm Number? Pin
...---...29-Aug-05 16:50
...---...29-Aug-05 16:50 
QuestionCrystal report 8.5 - direct to printer Pin
Sarvesvara (BVKS) Dasa29-Aug-05 15:31
Sarvesvara (BVKS) Dasa29-Aug-05 15:31 
Questionwrite a C program Pin
trjskid29-Aug-05 15:16
trjskid29-Aug-05 15:16 
AnswerRe: write a C program Pin
Christian Graus29-Aug-05 16:00
protectorChristian Graus29-Aug-05 16:00 
GeneralRe: write a C program Pin
Judah Gabriel Himango29-Aug-05 17:37
sponsorJudah Gabriel Himango29-Aug-05 17:37 

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.