Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to give Reminders to Users ?
Message
 
À
20/01/1999 09:34:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00177975
Message ID:
00178135
Vues:
25
Hi John,

> I am writing one application in VFP and i got following requirement.
>i.e. if customer's credit limit is over then automotically system should give the user reminder that pl. check this customer's status , his limit is over.

Based on what I read so far in this thread, let me summarize what you need:

You have an application that runs on several computers in one network. When the credit limit of one client is exceeded, you need to display a message. This message should be displayed on computer (probably on the one of the boss) and immediately popup, even if the application is running minimized. Right?

OK, what I probably would do is this. I'd create an OLE server that is installed on the system where the message should appear. Every client creates an instance of this object via DCOM. That means, the object reference is on the client machine, but the code is actually executed on the computer where the message should appear. Via a trigger I'd check for a client that exceeds the credit limit, ie. whenever she places an order. The Update trigger calls a method of the remote object in this case. The call is routed across the network automatically (that's DCOM) and is executed on the boss' computer. There you can display a message or do whatever you need. This doesn't even require that your application is launched on that computer, just that the computer is available and responds to DCOM messages.

Others here have more experience with DCOM and hopefully will jump in.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform