Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subject - Observer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01041764
Message ID:
01041774
Vues:
25
Hi 26578!

One way would be to have the application respond to the presence of specific files in certain folders that you can use for messaging among instances.

You could have an app running at a manager's machine watching this folder (there's a windows api for that, I recall) and then have that watcher raise events to which the main app responds.

The users' apps would place files there that the manager's app would respond to.

I think you can also achieve this with dcom, but am not sure if that works and/or how.

Alex


>Hi everybody,
>
>As I understand, subject-observer mechanism works inside the application. Is there a way to make it work accross the network? E.g. I have Manager's form. I want to update it every time one of the users updated information on his/her PC.
>
>That's one problem. What would be ideas to solve it?
>
>I have another problem. I have a complicated form with multiple biz objects. Some of them publish certain subject. I want to requery another form (the Manager's form I was talking in the first part of my message) when these biz objects save the information. My problem is that these biz objects are children of another biz object. Therefore the main transaction is not yet commited when OnStateChange method of one of these biz objects occurs. How can I solve this problem?
>
>Thanks a lot in advance.
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform