Click here to Skip to main content
15,922,166 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to block shutdown/logoff in Windows Vista? Pin
Pete O'Hanlon3-Dec-10 11:11
mvePete O'Hanlon3-Dec-10 11:11 
QuestionRebooting to safe mode... Pin
Jacob D Dixon30-Nov-10 7:08
Jacob D Dixon30-Nov-10 7:08 
AnswerRe: Rebooting to safe mode... Pin
Henry Minute30-Nov-10 7:52
Henry Minute30-Nov-10 7:52 
GeneralRe: Rebooting to safe mode... Pin
Jacob D Dixon30-Nov-10 8:20
Jacob D Dixon30-Nov-10 8:20 
GeneralRe: Rebooting to safe mode... Pin
Henry Minute30-Nov-10 9:26
Henry Minute30-Nov-10 9:26 
GeneralRe: Rebooting to safe mode... Pin
Jacob D Dixon1-Dec-10 3:44
Jacob D Dixon1-Dec-10 3:44 
GeneralRe: Rebooting to safe mode... Pin
Rose WiFiTech & Electronics Library Research Cen26-Oct-11 5:36
Rose WiFiTech & Electronics Library Research Cen26-Oct-11 5:36 
Questionc# Webbrowser control with frames Pin
Franklin Smith30-Nov-10 2:03
Franklin Smith30-Nov-10 2:03 
AnswerRe: c# Webbrowser control with frames Pin
Henry Minute30-Nov-10 4:09
Henry Minute30-Nov-10 4:09 
GeneralRe: c# Webbrowser control with frames Pin
Franklin Smith30-Nov-10 13:07
Franklin Smith30-Nov-10 13:07 
QuestionC# debug in vs2010 Pin
polycom12330-Nov-10 1:59
polycom12330-Nov-10 1:59 
AnswerRe: C# debug in vs2010 Pin
Luc Pattyn30-Nov-10 3:03
sitebuilderLuc Pattyn30-Nov-10 3:03 
GeneralRe: C# debug in vs2010 Pin
polycom12330-Nov-10 18:39
polycom12330-Nov-10 18:39 
QuestionCSV file logging data on timer event Pin
cages29-Nov-10 10:26
cages29-Nov-10 10:26 
QuestionRe: CSV file logging data on timer event Pin
Luc Pattyn29-Nov-10 10:28
sitebuilderLuc Pattyn29-Nov-10 10:28 
AnswerRe: CSV file logging data on timer event Pin
cages29-Nov-10 10:37
cages29-Nov-10 10:37 
AnswerRe: CSV file logging data on timer event Pin
Luc Pattyn29-Nov-10 10:47
sitebuilderLuc Pattyn29-Nov-10 10:47 
AnswerRe: CSV file logging data on timer event Pin
PIEBALDconsult29-Nov-10 11:08
mvePIEBALDconsult29-Nov-10 11:08 
Ummm... how much can the temperature change during so short a time period? Confused | :confused:

First; yes, open and close each time you write to the log.

But, you shouldn't keep writing needless repetitive data. My first professional programming job involved polling some equipment for temperature and such and then passing it to a specialized database system. The database didn't simply store everything my software sent; it tested the incoming data and made a determination as to whether or not it was significant. Each datum could be configured as to what was significant -- for instance if a temperature changed by a one-hundredth of a degree; or if a value hadn't been stored for some period of time (perhaps ten minutes). This greatly reduced the amount of data stored and sped up reporting without losing significant detail.

I strongly suggest you implement a similar technique.
AnswerRe: CSV file logging data on timer event Pin
Pete O'Hanlon29-Nov-10 11:13
mvePete O'Hanlon29-Nov-10 11:13 
QuestionPrinting from a C# application Pin
memorexr29-Nov-10 8:58
memorexr29-Nov-10 8:58 
AnswerRe: Printing from a C# application Pin
Henry Minute29-Nov-10 10:32
Henry Minute29-Nov-10 10:32 
GeneralRe: Printing from a C# application Pin
Luc Pattyn29-Nov-10 11:09
sitebuilderLuc Pattyn29-Nov-10 11:09 
QuestionA service to process scheduled tasks PinPopular
musefan29-Nov-10 4:46
musefan29-Nov-10 4:46 
AnswerRe: A service to process scheduled tasks Pin
#realJSOP29-Nov-10 4:50
professional#realJSOP29-Nov-10 4:50 
GeneralRe: A service to process scheduled tasks Pin
musefan29-Nov-10 5:21
musefan29-Nov-10 5: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.