Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Server - Sharing properties between two clients
Message
De
24/03/1997 16:35:32
 
 
À
24/03/1997 15:56:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00025434
Message ID:
00025453
Vues:
27
Jim

Thanks for your reply. Right now I am just testing and trying out the technology. I am trying to provide access to a program that for the most part runs in the background. It has a form with a timer. The timer activates about every 5 seconds and collects or sends information to machines out in a factory. At times I must disable the timer (currently using DDE), run a method or two(also using DDE) and then re-enable the timer. This is done from a data entry program written if VFP. We would like to add the capability to have numerous data entry clients and it will be neccessary to make sure that only one client has access at a given time. The Server and Clients will all be sharing the same tables, I just need to ba able to control the timer in the server. I hope I have made things a little more clear and easier to follow the intent of what I need to do?

When you asked about Public or Private datasessions were you speaking of the form property?

As a side note I would also like to thank you for your reply to my post in the microsoft newsgroup. How would you compare Universal Thread to what Microsoft offers for free? I may aproach my boss about becoming a Premier member. Any advice or opinion is welcome?

Thanks,
Dan Trigg

>Dan,
>
>Strictly from reading (ie have not had the opportunity to try this), I also recollect that PRIVATE datasessions can result in what you seem to be getting. Is your Server using PUBLIC or private?
>
>By the way, I would see your intent as counter to what most people might want! I would want and expect my client sessions to be handled AS IF the server knew of it and it alone, and I would want the data (ONLY) to be where collisions (intended or otherwise) were recognizeable by the client(s). So I would want a SINGLE instance of the Server, actually serving many clients, to (effectively) treat each client as if the server were standalone, serving only that client. In fact I sure HOPE that this is the basic design premise for a VFP Server application, else I would have to keep track of what work I am doing for who, where I am with them, etc. etc and I could surely not cover for each combination that users could throw at me.
>
>regards, and good luck
>Jim N.
>
>>I am trying to create an OLE server where two seperate applications have access to the server and have access to the same properties. In other words, if I change a property from one application I can detect the change from the other application. I have tried creating simple test custom olepublic classes, set them to Multi Use and built them into an exe. From
>>two foxpro sessions I ran x = getobject("","Myole.myClass") which creates one instance of Myole in the task list. However, after verifying a properties change from its default value in one session, the property is still at its default value when checked from the other session. Is what I
>>am trying to do possible? What am I missing?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform