¡@

Home 

c# Programming Glossary: periodically

Winforms Progress bar Does Not Update (C#)

http://stackoverflow.com/questions/1068720/winforms-progress-bar-does-not-update-c

option may be to do the processing on a BackgroundWorker periodically switching to the UI thread to update things Control.Invoke but..

Sending commands to cmd prompt in C#

http://stackoverflow.com/questions/11767654/sending-commands-to-cmd-prompt-in-c-sharp

either need to invoke asynchronously using BeginInvoke or periodically call DoEvents in your long running code. EDIT Per your comment..

How to get timestamp of tick precision in .NET / C#?

http://stackoverflow.com/questions/1416139/how-to-get-timestamp-of-tick-precision-in-net-c

_stopwatch.Elapsed.Ticks You also may want to periodically reset _starttime and _stopwatch to keep the resulting time from..

WPF Application that only has a tray icon

http://stackoverflow.com/questions/1472633/wpf-application-that-only-has-a-tray-icon

that starts minimized to tray. The idea is that it periodically fetches an RSS Feed and creates a Toaster Popup when there are..

Alarm clock application in .Net

http://stackoverflow.com/questions/1493203/alarm-clock-application-in-net

clock. Or I could use a while loop with Thread.Sleep n to periodically check the system time and call the method when the desired time..

How do I update an ObservableCollection via a worker thread?

http://stackoverflow.com/questions/2091988/how-do-i-update-an-observablecollection-via-a-worker-thread

batch up a bunch of items and post them to the UI thread periodically so that you're not calling across threads for each item. The..

What's the fastest way to bulk insert a lot of data in SQL Server (C# client)

http://stackoverflow.com/questions/24200/whats-the-fastest-way-to-bulk-insert-a-lot-of-data-in-sql-server-c-client

Do inserts into a temporary table with the same schema and periodically transfer them into the main table to keep the size of the table..

Needed: A Windows Service That Executes Jobs from a Job Queue in a DB; Wanted: Example Code

http://stackoverflow.com/questions/3266420/needed-a-windows-service-that-executes-jobs-from-a-job-queue-in-a-db-wanted-e

insert a row into the DB. I need my windows service to periodically poll for rows in this table and it should execute a unit of..

Using Process.Start() to start a process as a different user from within a Windows Service

http://stackoverflow.com/questions/362419/using-process-start-to-start-a-process-as-a-different-user-from-within-a-windo

different user from within a Windows Service I'd like to periodically run an arbitrary .NET exe under a specified user account from..

Question about terminating a thread cleanly in .NET

http://stackoverflow.com/questions/3632149/question-about-terminating-a-thread-cleanly-in-net

patterns. You need to get a CancellationToken and the periodically check IsCancellationRequested . To request cancellation you..

DateTime vs DateTimeOffset

http://stackoverflow.com/questions/4331189/datetime-vs-datetimeoffset

according to the rules of your timezone which change periodically due to daylight savings times and changes in legal definitions..

What's the best way to monitor a socket for new data and then process that data?

http://stackoverflow.com/questions/453609/whats-the-best-way-to-monitor-a-socket-for-new-data-and-then-process-that-data

device and Java is the only option. The Java app will be periodically writing new data to the socket and my app's job is to take in..

How to stop BackgroundWorker correctly

http://stackoverflow.com/questions/4732737/how-to-stop-backgroundworker-correctly

DoWork delegate that is being ran in the background must periodically check this property and handle the cancellation itself. The..

Any way to SQLBulkCopy “insert or update if exists”?

http://stackoverflow.com/questions/4889123/any-way-to-sqlbulkcopy-insert-or-update-if-exists

if exists&rdquo I need to update a very large table periodically and SQLBulkCopy is perfect for that only that I have a 2 columns..

C# Raise an event when a new process starts

http://stackoverflow.com/questions/4908906/c-sharp-raise-an-event-when-a-new-process-starts

by means of polling and will check for new events only periodically here every 1 second . Decreasing the WITHIN duration to fractions..

Disabling RichTextBox autoscroll

http://stackoverflow.com/questions/4919969/disabling-richtextbox-autoscroll

not go to the core of problem because control is being periodically redrawed which is very distracting. Is there some cleaner solution..

How might I schedule a C# Windows Service to perform a task daily?

http://stackoverflow.com/questions/503564/how-might-i-schedule-a-c-sharp-windows-service-to-perform-a-task-daily

or set up a timer inside your service which fires periodically every 10 minutes for example and check if the date changed since..

What are best practices for using SmtpClient, SendAsync and Dispose under .NET 4.0

http://stackoverflow.com/questions/7276375/what-are-best-practices-for-using-smtpclient-sendasync-and-dispose-under-net-4

. The scenario is a WCF service which mails out email periodically when calls are made. Most of the computation is fast but the..

How to write a scalable Tcp/Ip based server

http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server

applicaiton in which my server sends status data periodically to the clients. Any suggestions on the best way to make this..