Click here to Skip to main content
15,897,371 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: One more question Pin
Colin Angus Mackay8-Dec-03 6:58
Colin Angus Mackay8-Dec-03 6:58 
GeneralRe: One more question Pin
Arash Sabet8-Dec-03 7:08
Arash Sabet8-Dec-03 7:08 
GeneralRe: One more question Pin
Colin Angus Mackay8-Dec-03 7:42
Colin Angus Mackay8-Dec-03 7:42 
GeneralRe: One more question Pin
Arash Sabet8-Dec-03 7:47
Arash Sabet8-Dec-03 7:47 
QuestionIs the compiler part of the Framework? Pin
Matt Philmon4-Dec-03 7:44
Matt Philmon4-Dec-03 7:44 
AnswerRe: Is the compiler part of the Framework? Pin
Ruchi Gupta10-Dec-03 8:00
Ruchi Gupta10-Dec-03 8:00 
Questionc# alarm class implementation? Pin
AndrewCherry4-Dec-03 4:00
AndrewCherry4-Dec-03 4:00 
AnswerRe: c# alarm class implementation? Pin
Matt Philmon4-Dec-03 7:35
Matt Philmon4-Dec-03 7:35 
There doesn't appear to be any clear "best" way of dealing with this kind of thing. I have a couple of Windows Services that have to do various things at "scheduled" times. At the time I needed to write them, I chose the services route. Who knows now whether another method would have worked better... but from my experience it doesn't matter much. I run a timer as you suggested. Since my timing is accurate to the minute (not second) then I fire the timer every 60 seconds. Start the timer when the application starts and let it go with that. Don't use the Forms Timer. Use one of others. They're much better (like the System.Timers or the System.Threading.Timers).

Another option (which I could have taken) is to use the .NET framework wrappers for the Windows Scheduler service. There's an article on here all about that. Then you can write an application that runs when it's scheduled to and that's it. Simple as you please as long as the user is letting this service run.
AnswerRe: c# alarm class implementation? Pin
Not Active4-Dec-03 7:53
mentorNot Active4-Dec-03 7:53 
GeneralRe: c# alarm class implementation? Pin
AndrewCherry4-Dec-03 8:25
AndrewCherry4-Dec-03 8:25 
GeneralReduce the time intensive phases of .Net application development Pin
smars3-Dec-03 22:14
smars3-Dec-03 22:14 
GeneralRecursive Search and Replace in Files Pin
prowler023-Dec-03 17:12
prowler023-Dec-03 17:12 
GeneralBuilding GUI that resembles MS Project 2000 Pin
Hangten3-Dec-03 8:30
Hangten3-Dec-03 8:30 
GeneralWindows Forms Application Design Guidelines Pin
Jeffrey Kirk2-Dec-03 4:40
Jeffrey Kirk2-Dec-03 4:40 
GeneralRe: Windows Forms Application Design Guidelines Pin
Sean McCormack3-Dec-03 2:34
Sean McCormack3-Dec-03 2:34 
GeneralRe: Windows Forms Application Design Guidelines Pin
Philip Fitzsimons4-Dec-03 2:50
Philip Fitzsimons4-Dec-03 2:50 
GeneralRe: Windows Forms Application Design Guidelines Pin
eggie527-Dec-03 7:26
eggie527-Dec-03 7:26 
Questioncreating pocket pc programs using visual studio .net 2002? Pin
$0.05$30-Nov-03 10:03
$0.05$30-Nov-03 10:03 
AnswerRe: creating pocket pc programs using visual studio .net 2002? Pin
Matt Philmon4-Dec-03 7:39
Matt Philmon4-Dec-03 7:39 
QuestionAccessing Remote Objects from the Server? Pin
GrzegorzKowalski197930-Nov-03 8:59
GrzegorzKowalski197930-Nov-03 8:59 
QuestionCan't using System.Runtime.Remoting.Channels.Tcp . Why? Pin
redchilde28-Nov-03 19:09
redchilde28-Nov-03 19:09 
GeneralDirectoryEntry Class Constructor Pin
thilol28-Nov-03 4:23
thilol28-Nov-03 4:23 
GeneralInstallUtilLib.dll: Unknown error in CorBindToRuntimeHost Pin
solidstore27-Nov-03 0:14
solidstore27-Nov-03 0:14 
QuestionHow Managed C++ client connect to https url Pin
Cristina Rodriguez Garcia26-Nov-03 21:53
Cristina Rodriguez Garcia26-Nov-03 21:53 
QuestionByRef still doubling the overhead of ByVal? Pin
Toni Danza26-Nov-03 13:30
Toni Danza26-Nov-03 13:30 

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.