Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / October 2004

Tip: Looking for answers? Try searching our database.

timer use?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
matthew c. harad - 26 Oct 2004 21:13 GMT
hello,

i am building a distributed client/server trading support system for use in
a hedge fund which trades stocks.  ultimately i envision using distribute app
technology to communicate realtime prices/volumes and other info from the
server (which will interface with a data feed) to the client where our
traders sit.

however, i am putting in place a temporary solution.  the client will be a
windows forms app w/ several datagrids.  i would like these datagrids to
update periodically by querying my sql server db for newly computed data.  
what's the best way to do this?  in my current solution, which is written in
vba, i use a timer.  should i continue to use a windows forms timer?  is that
form of the timer class appropriate?  or is there a better way to do it?

much appreciated,
matthew
Justin Rogers - 27 Oct 2004 01:05 GMT
For infrequent updates, your use of a Windows Forms timer will be fine. Note
that during long running operations on the main UI thread the timer can stall
until the UI thread becomes available again. I don't foresee this as a problem
for you though.

Infrequent means anything greater than 500 ms or so... The resolution on the
timer is somewhere around 50ms, but it isn't very stable there.

Signature

Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

> hello,
>
[quoted text clipped - 13 lines]
> much appreciated,
> matthew

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.