473,657 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Live Update

How to implement live update, like stock ticker updates shown in TV .
Nov 17 '05 #1
3 2097
pkumar,

It depends on the app you are trying to create. Are you trying to
figure out how to draw the scrolling values, or to get the values? The
values you see on TV are fetched from market data, and is constantly updated
(you have one thread updating the buffer with the values, and the UI thread
reads from that buffer).

What is it exactly you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"pkumar" <pk****@discuss ions.microsoft. com.> wrote in message
news:41******** *************** ***********@mic rosoft.com...
How to implement live update, like stock ticker updates shown in TV .

Nov 17 '05 #2
Thanks Nicholas ,
I am looking for the logic for the Updating thread. As soon as the data
is inserted into my database, I want to get the value on my screen. How do I
implement this thread.

thanks in advance
"Nicholas Paldino [.NET/C# MVP]" wrote:
pkumar,

It depends on the app you are trying to create. Are you trying to
figure out how to draw the scrolling values, or to get the values? The
values you see on TV are fetched from market data, and is constantly updated
(you have one thread updating the buffer with the values, and the UI thread
reads from that buffer).

What is it exactly you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"pkumar" <pk****@discuss ions.microsoft. com.> wrote in message
news:41******** *************** ***********@mic rosoft.com...
How to implement live update, like stock ticker updates shown in TV .


Nov 17 '05 #3
pkumar,

Well, there are two ways you can go about doing this. The first is a
pull method. Basically, you would have a timer, and you would update your
data whenever the timer fires. The second is a push method. You can use
notification services on SQL Server (if that is the database you are using)
to be notified when your data changes. When this happens, you can update
your data store on the client side automatically.

In both cases, make sure you lock access to the data itself, or you will
have problems with corrupt data.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"pkumar" <pk****@discuss ions.microsoft. com.> wrote in message
news:3C******** *************** ***********@mic rosoft.com...
Thanks Nicholas ,
I am looking for the logic for the Updating thread. As soon as the data
is inserted into my database, I want to get the value on my screen. How do
I
implement this thread.

thanks in advance
"Nicholas Paldino [.NET/C# MVP]" wrote:
pkumar,

It depends on the app you are trying to create. Are you trying to
figure out how to draw the scrolling values, or to get the values? The
values you see on TV are fetched from market data, and is constantly
updated
(you have one thread updating the buffer with the values, and the UI
thread
reads from that buffer).

What is it exactly you are trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"pkumar" <pk****@discuss ions.microsoft. com.> wrote in message
news:41******** *************** ***********@mic rosoft.com...
> How to implement live update, like stock ticker updates shown in TV .


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1411
by: chan | last post by:
how to apply online update function into program (the effect just like Norton system work live update) The situation is below: I want to develop a program that contains some product information (in the database) for customer choosing.
0
1227
by: Jordan Marton | last post by:
How do I add a live video stream to my website? Also, as a secondary option, can anyone suggest a good program that will update pictures from my camera every 30 seconds or so? But ideally, it would be a live stream! Thanks Jordan
5
1283
by: Zeng | last post by:
Hello, About once every two days, I need to update the live/production site with new code (dlls, aspx's etc..), I currently have to find a time when no one should be logged in to system like early in the morning. However, occasionally I need to update it in the middle of the day where users are still using the system. What worst case scenario for our users would be then? I remember reading when I first started learning about asp.net...
2
2256
by: Stephen Brown | last post by:
We've been using dotNet for a couple of years now and have been updating our live server by just overwriting (Explorer drag and drop) the aspx and assembly files until we had some errors reported to us a couple of months ago that some clients received application server errors at the moment we updated (if I remember correctly, they were sharing or process in use errrors). Since then, we've been paranoid about ensuring that there is no...
3
3218
by: Asim Qazi | last post by:
Hi all, I am trying to do some work like the All antivirus software do. -i-e LIVE UPDATE. for my software, wot is the starting point or any guidelines to start this thing ... I always did the Server side stuff so have no experience in such Windows application ... which will be running all the time and will check the server periodically and will update my software if any update found from the server...
1
6241
by: Alia Khouri | last post by:
I have been waiting for this ages and it's finally happened! Python meet Live, Live meet Python! There's now a wonderful (public) bridge between (arguably) the most exciting and innovative and easy-to-use realtime software sequencer and (arguably) the most exciting and innovative and easy-to-use computer programming language out there. I know the love will flow both ways (btw, they're having problems with the mac os x port, hint,...
2
2480
by: Jassim Rahma | last post by:
how can i make a live update feature for my application?
9
5996
by: =?windows-1252?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
I’ve been using Subversion for a while to maintain the PHP web apps and sites I develop in my Windows box. But when I want to publish a new release I update the live site manually and I want to improve this process. I can’t simply export to a fresh directory and upload all files because that won’t handle renames and deletions (and the upload will take forever anyway). I typically use WinMerge to find out what files changed but there’re...
1
1889
by: daniel2335 | last post by:
I’m attempting to program a text based online game using PHP and MYSQL, one of the pages will allow you to mine. This means the MYSQL will have a record of your mined resources and the remaining resources in the mine. On the page that controls the mining I would like a field with a live number showing how much has been mined and how much resources still remain. How do you think I could do this? If I was currently mining at a given rate would...
0
8402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6172
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.