Click here to Skip to main content
15,909,898 members
Home / Discussions / C#
   

C#

 
GeneralRe: Detect MouseNotMove event Pin
Mark Salsbery21-Sep-08 14:37
Mark Salsbery21-Sep-08 14:37 
GeneralRe: Detect MouseNotMove event Pin
baranils21-Sep-08 19:38
baranils21-Sep-08 19:38 
QuestionDetecting thumb drive insertion and suppressing Autorun. Pin
ihaxxu20-Sep-08 9:05
ihaxxu20-Sep-08 9:05 
AnswerRe: Detecting thumb drive insertion and suppressing Autorun. Pin
Perspx20-Sep-08 9:26
Perspx20-Sep-08 9:26 
GeneralRe: Detecting thumb drive insertion and suppressing Autorun. Pin
ihaxxu21-Sep-08 10:33
ihaxxu21-Sep-08 10:33 
QuestionPls pls pls help me been working on it for weeks Pin
yefeng_law20-Sep-08 7:16
yefeng_law20-Sep-08 7:16 
AnswerRe: Pls pls pls help me been working on it for weeks Pin
Harvey Saayman20-Sep-08 9:45
Harvey Saayman20-Sep-08 9:45 
GeneralRe: Pls pls pls help me been working on it for weeks Pin
Colin Angus Mackay20-Sep-08 12:15
Colin Angus Mackay20-Sep-08 12:15 
Harvey Saayman wrote:
Your trying to get the data from a flat text file, and these can only be accessed by one program / thread / object at a time


Not strictly true. It is possible to set a sharing mode for the file. If you open the file as Exclusive (aka DenyAll or ShareNone) then nothing else can access it. If you open the file as ShareRead then multiple things can open the file as Read Only (so long as they all allow other processes to read the file too)


Harvey Saayman wrote:
What strikes me as strange in your code is your using just the stream reader


What struck me was that the file never gets closed. The OP needs a using block around that stream. That is the most likely reason as the program that generates the file is probably expecting readers simultaneous with it writing the file and will have the file open accordingly.


GeneralRe: Pls pls pls help me been working on it for weeks Pin
yefeng_law20-Sep-08 19:09
yefeng_law20-Sep-08 19:09 
GeneralRe: Pls pls pls help me been working on it for weeks Pin
yefeng_law20-Sep-08 18:46
yefeng_law20-Sep-08 18:46 
QuestionGet refference to active excel instance and callback? Pin
s-p-s20-Sep-08 5:23
s-p-s20-Sep-08 5:23 
QuestionCapture a link click to open a web page... Pin
devzav20-Sep-08 4:51
devzav20-Sep-08 4:51 
AnswerRe: Capture a link click to open a web page... Pin
#realJSOP20-Sep-08 9:49
professional#realJSOP20-Sep-08 9:49 
QuestionMultiQC & QCFile-LinkA interfacing. Pin
Dinker Batra20-Sep-08 3:26
Dinker Batra20-Sep-08 3:26 
AnswerRe: MultiQC & QCFile-LinkA interfacing. Pin
danmol20-Sep-08 23:33
danmol20-Sep-08 23:33 
GeneralRe: MultiQC & QCFile-LinkA interfacing. Pin
danmol20-Sep-08 23:34
danmol20-Sep-08 23:34 
GeneralRe: MultiQC & QCFile-LinkA interfacing. Pin
Dinker Batra20-Sep-08 23:42
Dinker Batra20-Sep-08 23:42 
Questionretrieve a msaccess column description Pin
djjedi20-Sep-08 2:50
djjedi20-Sep-08 2:50 
AnswerRe: retrieve a msaccess column description Pin
Harvey Saayman20-Sep-08 9:47
Harvey Saayman20-Sep-08 9:47 
GeneralRe: retrieve a msaccess column description Pin
djjedi20-Sep-08 11:04
djjedi20-Sep-08 11:04 
GeneralRe: retrieve a msaccess column description Pin
Harvey Saayman20-Sep-08 11:12
Harvey Saayman20-Sep-08 11:12 
GeneralRe: retrieve a msaccess column description Pin
djjedi23-Sep-08 1:48
djjedi23-Sep-08 1:48 
QuestionHow to save with unique ID Pin
manju#12320-Sep-08 2:25
manju#12320-Sep-08 2:25 
AnswerRe: How to save with unique ID Pin
User 665820-Sep-08 2:39
User 665820-Sep-08 2:39 
GeneralRe: How to save with unique ID Pin
HosamAly20-Sep-08 3:42
HosamAly20-Sep-08 3:42 

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.