Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Com Objects?
Message
 
À
07/06/2001 14:21:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00516525
Message ID:
00516588
Vues:
8
This message has been marked as the solution to the initial question of the thread.
>I need the start a process from a users machine to run off site on teh server. Can anyone tell how I can go about making this happen? I have a project file with the prg that needs to run but I don' tknow where to go from there..

Hi Jeffrey,

Seems like you need a DCOM object on your server.

Basically, create the project for it, put your class in there, make your PRG a custom method in that class. If you have it as visual class mark it OLEPUBLIC (under Class menu \Class Info), mark all unnecessary PEM as Protected to reduce the exposed interface. You may use the light non-visual Session class, but then it should be created in PRG. Compile it as EXE (you will need Main.prg for that)

See this thread for more details on instantiation of DCOM:

http://www.levelextreme.com/wconnect/wc.dll?UniversalThread~?2,15,493789
(there are many other threads too)
Ask for more details after you start with it. (I am sure there will be more questions).
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform