473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Client and Server

I have a program that write information to a database. I'm currently in the
process of writing another program that monitors the database and everytime a
new entry is made this program will update its datagrid. I guess you could
call this program a monitoring program. The problem is that I am not sure
how to do this. How can I raise an event from the server that tells me that
data has been written? Is there a way that I could shoot out something over
the network from the program that writes to the database to the program that
monitors it. The program that sends data to the database is a program that
records weights of trucks and railcars that go in and out of a fertilizer
plant. I need the monitoring program so that the supervisor can watch what
is going on.

Thanks for any help,
DCSTech
Nov 21 '05 #1
2 857
Set a timer event at the client.

Every minute the query executes and the screen repopulates.

Allow the user to adjust the period of the timer refresh.

If the floor is hot and they want to have more frequency. set the timer
refresh lower.
If they know there is no action on the floor. set it higher, as to not use
overhead.

Joe

"dcstech" wrote:
I have a program that write information to a database. I'm currently in the
process of writing another program that monitors the database and everytime a
new entry is made this program will update its datagrid. I guess you could
call this program a monitoring program. The problem is that I am not sure
how to do this. How can I raise an event from the server that tells me that
data has been written? Is there a way that I could shoot out something over
the network from the program that writes to the database to the program that
monitors it. The program that sends data to the database is a program that
records weights of trucks and railcars that go in and out of a fertilizer
plant. I need the monitoring program so that the supervisor can watch what
is going on.

Thanks for any help,
DCSTech

Nov 21 '05 #2
That will work. Thanks for the help.

"jam96-BuffaloJoe" wrote:
Set a timer event at the client.

Every minute the query executes and the screen repopulates.

Allow the user to adjust the period of the timer refresh.

If the floor is hot and they want to have more frequency. set the timer
refresh lower.
If they know there is no action on the floor. set it higher, as to not use
overhead.

Joe

"dcstech" wrote:
I have a program that write information to a database. I'm currently in the
process of writing another program that monitors the database and everytime a
new entry is made this program will update its datagrid. I guess you could
call this program a monitoring program. The problem is that I am not sure
how to do this. How can I raise an event from the server that tells me that
data has been written? Is there a way that I could shoot out something over
the network from the program that writes to the database to the program that
monitors it. The program that sends data to the database is a program that
records weights of trucks and railcars that go in and out of a fertilizer
plant. I need the monitoring program so that the supervisor can watch what
is going on.

Thanks for any help,
DCSTech

Nov 21 '05 #3

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

Similar topics

5
by: Matt | last post by:
I think this is the basic concept in ASP server-side development. My boss told me web application is NOT client-server application. I argued with him because browser is the client, and the server...
2
by: Microsoft | last post by:
I'm about to start converting my application from a old-style monolith exe (with flat files and limited database support for sharing some of the data) to a layered .NET SQL server version. I have...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
0
by: Harley | last post by:
Hello, I am just learning the tcp/ip functions etc under vb.net so please look over me if this is obviouse. I have been all over looking into any functions that I didn't totaly understand and...
4
by: rs | last post by:
how I the client tell the server that the socket is closed? or this there an even that informs the server that the clients socket is close? Oh, I am using vb.net 2003 Thanks
10
by: Ben | last post by:
Hi, I made an application in classic asp (reservation of books and video stuffs for students) and want to migrate to asp.net. The user has to chose a date, then pushung on a submit button. The...
2
by: Frank Swarbrick | last post by:
I am trying to understand "client authentication" works. My environment is DB2/UDB LUW 8.2 on zSeries SLES9 as the database server and DB2 for VSE 7.4 as the client. We currently have DB2/LUW set...
2
by: nsaffary | last post by:
hi I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.