Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
Questionc# and XML validation [modified] Pin
mocasu3-Mar-09 0:51
mocasu3-Mar-09 0:51 
AnswerRe: c# and XML validation Pin
Greg Chelstowski3-Mar-09 3:29
Greg Chelstowski3-Mar-09 3:29 
GeneralRe: c# and XML validation Pin
mocasu3-Mar-09 4:55
mocasu3-Mar-09 4:55 
Questionis there in tool available in c#.net to resizeing of images? Pin
poonam jagdale3-Mar-09 0:20
poonam jagdale3-Mar-09 0:20 
AnswerRe: is there in tool available in c#.net to resizeing of images? Pin
stancrm3-Mar-09 3:32
stancrm3-Mar-09 3:32 
AnswerRe: is there in tool available in c#.net to resizeing of images? Pin
Shyam K Pananghat3-Mar-09 3:42
Shyam K Pananghat3-Mar-09 3:42 
QuestionRegex to find the Code blocks using C# Pin
aaCog2-Mar-09 23:59
aaCog2-Mar-09 23:59 
AnswerRe: Regex to find the Code blocks using C# Pin
musefan3-Mar-09 2:47
musefan3-Mar-09 2:47 
AnswerRe: Regex to find the Code blocks using C# Pin
PIEBALDconsult3-Mar-09 3:54
mvePIEBALDconsult3-Mar-09 3:54 
GeneralRe: Regex to find the Code blocks using C# Pin
aaCog3-Mar-09 16:53
aaCog3-Mar-09 16:53 
Questionkrish Pin
krishnakarthik2-Mar-09 23:29
krishnakarthik2-Mar-09 23:29 
AnswerRe: krish Pin
Calin Tatar3-Mar-09 0:03
Calin Tatar3-Mar-09 0:03 
AnswerRe: krish Pin
Ashfield3-Mar-09 1:52
Ashfield3-Mar-09 1:52 
Questionaccess denied Pin
shefa' isied2-Mar-09 23:21
shefa' isied2-Mar-09 23:21 
AnswerRe: access denied Pin
monstale2-Mar-09 23:50
monstale2-Mar-09 23:50 
GeneralRe: access denied Pin
shefa' isied3-Mar-09 0:05
shefa' isied3-Mar-09 0:05 
GeneralRe: access denied Pin
EliottA3-Mar-09 3:00
EliottA3-Mar-09 3:00 
AnswerRe: access denied Pin
monstale3-Mar-09 4:19
monstale3-Mar-09 4:19 
QuestionKnowing when the date changes with less cost... Pin
Mel Feik2-Mar-09 23:19
Mel Feik2-Mar-09 23:19 
I have an application that writes any data it receives on a port to a file. The files have the date appended to them which means I have to keep an eye out for a new day to roll around.

At present I'm using this little bit of code...
DateTime today = DateTime.Now;
//..........
if (!(today.Date == DateTime.Now.Date))
{
    today = DateTime.Now;
    //... do my new day stuff
}

...which is straight forward enough. I am just wondering if there is a better (more efficient) means to know when the clock rolls over to a new day? As it is, I'm running that bit of code immediately before EVERY file write, and change the file name as needed. For now, its not an issue take the time to do things this way, but as my incoming data load increases I can see where streamlining is going to become an issue.

Any suggestions?

---------------------------------------------
Help... I'm embedded and I can't get out!

If they don't get the basic research and learning skills down then they'll end up having a very hard life (Either that or they'll become managers) - Micheal P Butler

AnswerRe: Knowing when the date changes with less cost... Pin
#realJSOP2-Mar-09 23:44
professional#realJSOP2-Mar-09 23:44 
AnswerRe: Knowing when the date changes with less cost... Pin
J4amieC2-Mar-09 23:54
J4amieC2-Mar-09 23:54 
GeneralRe: Knowing when the date changes with less cost... Pin
Mel Feik5-Mar-09 12:31
Mel Feik5-Mar-09 12:31 
QuestionWait for program to continue till webbrowser finish loading site Pin
Member 44178922-Mar-09 22:31
Member 44178922-Mar-09 22:31 
AnswerRe: Wait for program to continue till webbrowser finish loading site Pin
Calin Tatar3-Mar-09 0:11
Calin Tatar3-Mar-09 0:11 
GeneralRe: Wait for program to continue till webbrowser finish loading site Pin
Member 44178923-Mar-09 2:48
Member 44178923-Mar-09 2:48 

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.