Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - notification of changes between apps on different pc's on the network

Reply
 
Old 09-26-2008   #1 (permalink)
Jurjen de Groot


 
 

notification of changes between apps on different pc's on the network

I will be developping a planning application for wich it's necessary for
multiple users to view and edit the same data, all changes made by one user,
must be visible to the other user's more or less immediately (on their pc).
So I'm looking for a mechanism with wich I can notify the 'other'
applications on the network of any changes so they can update their 'view'
if necessary.

Although I think I'm capable of solving this problem by re-inventing the
wheel, I'm pretty sure it's already been done, and probably better and more
robust than my first few attempts would be... So can anyone help me out ?


thanks,
Jurjen.


My System SpecsSystem Spec
Old 10-05-2008   #2 (permalink)
Michel Posseth [MCP]


 
 

Re: notification of changes between apps on different pc's on the network


Well i can think of 3 easy ways of acomplishing that


1. if you use SQL server as database backend you could setup notification
services the database performs a callback to your app whenever the dataset
you subscibed to has a change

2. You could create a change mechanism yourself ,,, actually i have done
this a few years ago before we had notification services the following way
let a trigger in your database create a new guid in a watch table
whenever there are changes made in the main table ( you could even implement
this with a low entry "database" as ACCESS however then you should do this
from code .

now when you app gets its dataset it will also retrieve the guid and compare
this once in a while with a backgound thread to the current database value
if it has changed if it has changed you know there are changes and thus need
to update your working set .

3. You could do a broadcast on the network whenever one of the applications
perfomed a change on the dataset , then all running instances can update
there datasets

Maybe someone else has some more ideas !?

regards
Michel Posseth [MCP]
http://www.vbdotnetcoder.com







"Jurjen de Groot" <Jurjen.de.Groot@xxxxxx> schreef in bericht
news:%23pD2Xt9HJHA.4408@xxxxxx
Quote:

>I will be developping a planning application for wich it's necessary for
>multiple users to view and edit the same data, all changes made by one
>user, must be visible to the other user's more or less immediately (on
>their pc). So I'm looking for a mechanism with wich I can notify the
>'other' applications on the network of any changes so they can update their
>'view' if necessary.
>
> Although I think I'm capable of solving this problem by re-inventing the
> wheel, I'm pretty sure it's already been done, and probably better and
> more robust than my first few attempts would be... So can anyone help me
> out ?
>
>
> thanks,
> Jurjen.
>

My System SpecsSystem Spec
Old 10-09-2008   #3 (permalink)
Jurjen de Groot


 
 

Re: notification of changes between apps on different pc's on the network

Michel,

thanks for your reply, in the mean Time I have found several articles
concerning PublishSubscribe scenario's and am looking into a solution
created by juval lowy from idesign wich seem to do the trick,

thanks.


"Michel Posseth [MCP]" <MSDN@xxxxxx> wrote in message
news:eCZmDXuJJHA.740@xxxxxx
Quote:

>
> Well i can think of 3 easy ways of acomplishing that
>
>
> 1. if you use SQL server as database backend you could setup notification
> services the database performs a callback to your app whenever the dataset
> you subscibed to has a change
>
> 2. You could create a change mechanism yourself ,,, actually i have done
> this a few years ago before we had notification services the following way
> let a trigger in your database create a new guid in a watch table
> whenever there are changes made in the main table ( you could even
> implement this with a low entry "database" as ACCESS however then you
> should do this from code .
>
> now when you app gets its dataset it will also retrieve the guid and
> compare this once in a while with a backgound thread to the current
> database value if it has changed if it has changed you know there are
> changes and thus need to update your working set .
>
> 3. You could do a broadcast on the network whenever one of the
> applications perfomed a change on the dataset , then all running instances
> can update there datasets
>
> Maybe someone else has some more ideas !?
>
> regards
> Michel Posseth [MCP]
> http://www.vbdotnetcoder.com
>
>
>
>
>
>
>
> "Jurjen de Groot" <Jurjen.de.Groot@xxxxxx> schreef in bericht
> news:%23pD2Xt9HJHA.4408@xxxxxx
Quote:

>>I will be developping a planning application for wich it's necessary for
>>multiple users to view and edit the same data, all changes made by one
>>user, must be visible to the other user's more or less immediately (on
>>their pc). So I'm looking for a mechanism with wich I can notify the
>>'other' applications on the network of any changes so they can update
>>their 'view' if necessary.
>>
>> Although I think I'm capable of solving this problem by re-inventing the
>> wheel, I'm pretty sure it's already been done, and probably better and
>> more robust than my first few attempts would be... So can anyone help me
>> out ?
>>
>>
>> thanks,
>> Jurjen.
>>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How many pc's can be hosted on a Vista home network? Vista networking & sharing
Newtork Map vs. Network - can't see PC's Vista networking & sharing
Network PC's with Windows XP doesn't show up Vista networking & sharing
Network PC's Where Are You Vista General
Network between to PC's Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46