473,385 Members | 1,606 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,385 software developers and data experts.

Notify clients?

Part of a c# WinForms system I'm developing allows department managers to log
tasks for their employees. The task information is saved to SQL Server db,
and appears in a 'tasks' pane when users load the system.

What is the best way to update a users tasks pane if a task is logged for
them when they already have the system open? When the task is logged to the
db, i need to force the user it's logged for to have their pane refreshed..

Thanks
Dec 21 '05 #1
4 933
May want to research CacheSync (aka Query Notifications). Not sure if SQL
2005 and .NET 2.0 are both requirements or not.

Greg
"DylanM" <Dy****@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
Part of a c# WinForms system I'm developing allows department managers to
log
tasks for their employees. The task information is saved to SQL Server db,
and appears in a 'tasks' pane when users load the system.

What is the best way to update a users tasks pane if a task is logged for
them when they already have the system open? When the task is logged to
the
db, i need to force the user it's logged for to have their pane
refreshed..

Thanks

Dec 21 '05 #2
http://msdn2.microsoft.com/en-us/library/ms178604.aspx

Doesn't look like you can use this outside of ASP.NET app. But I could be
wrong about that too. :)
"Greg Burns" <bl*******@newsgroups.nospam> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
May want to research CacheSync (aka Query Notifications). Not sure if SQL
2005 and .NET 2.0 are both requirements or not.

Greg
"DylanM" <Dy****@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
Part of a c# WinForms system I'm developing allows department managers to
log
tasks for their employees. The task information is saved to SQL Server
db,
and appears in a 'tasks' pane when users load the system.

What is the best way to update a users tasks pane if a task is logged for
them when they already have the system open? When the task is logged to
the
db, i need to force the user it's logged for to have their pane
refreshed..

Thanks


Dec 21 '05 #3
http://msdn.microsoft.com/library/de...tification.asp
"Greg Burns" <bl*******@newsgroups.nospam> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
http://msdn2.microsoft.com/en-us/library/ms178604.aspx

Doesn't look like you can use this outside of ASP.NET app. But I could be
wrong about that too. :)
"Greg Burns" <bl*******@newsgroups.nospam> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
May want to research CacheSync (aka Query Notifications). Not sure if
SQL 2005 and .NET 2.0 are both requirements or not.

Greg
"DylanM" <Dy****@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
Part of a c# WinForms system I'm developing allows department managers
to log
tasks for their employees. The task information is saved to SQL Server
db,
and appears in a 'tasks' pane when users load the system.

What is the best way to update a users tasks pane if a task is logged
for
them when they already have the system open? When the task is logged to
the
db, i need to force the user it's logged for to have their pane
refreshed..

Thanks



Dec 21 '05 #4
Hi Greg - thanks for the links, looks interesting.
Unfortunately don't have SQL 2005 on all our production servers yet, so
can't implement this approach.

Definitely one to work with in the future though!
"Greg Burns" wrote:
http://msdn.microsoft.com/library/de...tification.asp
"Greg Burns" <bl*******@newsgroups.nospam> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
http://msdn2.microsoft.com/en-us/library/ms178604.aspx

Doesn't look like you can use this outside of ASP.NET app. But I could be
wrong about that too. :)
"Greg Burns" <bl*******@newsgroups.nospam> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
May want to research CacheSync (aka Query Notifications). Not sure if
SQL 2005 and .NET 2.0 are both requirements or not.

Greg
"DylanM" <Dy****@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
Part of a c# WinForms system I'm developing allows department managers
to log
tasks for their employees. The task information is saved to SQL Server
db,
and appears in a 'tasks' pane when users load the system.

What is the best way to update a users tasks pane if a task is logged
for
them when they already have the system open? When the task is logged to
the
db, i need to force the user it's logged for to have their pane
refreshed..

Thanks



Dec 22 '05 #5

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

Similar topics

1
by: Alessandro GARDICH | last post by:
Hi to all I have problem with NOTIFY/LISTEN ... I'm writing a C++ application with libpqxx, I thought was a problem of the lib but I try also with a C program using libpq with the same result,...
4
by: Joe Lester | last post by:
I'm using PostgreSQL 7.4.1. I have 140 clients connected on average using libpq. When one client sends "NOTIFY timeclock;" to the server all 140 clients are listening for it. After receiving a...
3
by: Frank van Vugt | last post by:
L.S. Either the docs or I are missing something.... While using libpq I noticed that listen/notify calls were being converted to lowercase. A further look showed that the listen/notify calls...
5
by: Ted Shab | last post by:
Hi, I'm trying to come up with a relatively simple multi-master replication solution. This is for multiple databases that need to be discreet, and change relatively infrequently (10-30 updates...
3
by: Mark Denardo | last post by:
Does anyone have any good VB.NET example code that shows how to use the NOTIFY option using the mciSendString API and then handle the return value. The only examples I can find show the VB way...
1
by: chandu | last post by:
hello, in a multi client environment . at the same time two clients open the Application. one client updated some data in the database. at that time another client wants to update some data.....
1
by: namrataa | last post by:
i have a notify icon for our media player developed in wpf. included files are notify.cs,notify.resx,notify.designer.cs. i have also added a class file called app.cs . now the problem is how...
5
by: Peter | last post by:
I have a webpage which creates reports, a report can take few seconds or several minutes to create. This webpage calls a web service which in turn does a remoting call to a windows service and the...
4
by: Christian Welzel | last post by:
Hi there, can somebody tell me if there is a mechanism in db2 which implements a notify/listen for external db clients? Postgres has such a mechanism where a client programm can connect to the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.