Click here to Skip to main content
12,503,591 members (55,333 online)

Comments by Phil J Pearson (Top 9 by date)

Phil J Pearson 14-Nov-14 10:15am View
   
That's not very helpful! OP may not know what an IDE is.
To be clear: an IDE is not really necessary; you could use Notepad.
Phil J Pearson 1-Oct-14 8:23am View
   
I'm glad you fixed it, but I think there's a much better way than using a timer. What if there isn't a new line in the csv file after 3 seconds? Or what if there's more than one new line after 3 seconds?
Look at the FileSystemWatcher class. You can set up a simple watcher to raise an event when the file changes -- much better than using a timer.
Phil J Pearson 8-Aug-13 11:18am View
   
Thanks. I fixed it.
Phil J Pearson 8-Aug-13 11:17am View
   
I suggest you post another question about the timing. It's a separate topic.
Phil J Pearson 8-Aug-13 10:35am View
   
Deleted
I suggest you post another question about the timing. It's a separate topic.
Phil J Pearson 24-Jul-13 6:49am View
   
However, it would not be wise to supply this as your homework answer unless you understand it!
Phil J Pearson 24-Jul-13 6:41am View
   
"the answer is : not possible"
That's just wrong! Of course it's possible:

for (bool first = true; first || condition; first = false)
{
// do whatever
}
Phil J Pearson 2-Apr-11 16:20pm View
   
Deleted
The main problem with this approach is that it uses Remoting (over which the programmer has no control). That can seriously mess up any Remoting you want to do yourself.
Phil J Pearson 16-Nov-10 16:13pm View
   
Deleted
Reason for my vote of 1
completely incorrect code

Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid