Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote Program Execution
Message
De
15/01/1999 09:37:12
 
 
À
14/01/1999 16:59:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00176224
Message ID:
00176462
Vues:
25
>Sounds like a job for remote automation or DCOM. Never
>used either one so I could sure use some pointers. Does
>the PC that will run the VFP program need to be a server?
>

Hmm... I don't see why you couldn't do this with DCOM... Although, I think the remote COM object will go away if it's reference dies... so, you can start a remote server and then disconnect and it continues running.

What you may need to do, is create two .EXE's.... one is the COM object that will be fired remotly... it will have a method that the remote client calls which will kick of another program to run the report... sort of like...

********
method DoReport( creportname, cemail )

run /n RunReport with cReportName,cEmail

return .t.
*********

Now the com object can go away and the RunReport program will continue to run.

No, the COM Server doesn't actually have to be on a server, just a Windows machine with the VFP runtime. It has to be registered as a com object.

I would try to get something working on your local machine first... then move to a remote machine on your local LAN, then, once that works, it should be no problem to move it to a remote machine on the internet.

>Any help offered will certainly be appreciated...

Something that may simplify this, is to use a web server which will kick off the remote application. Check out www.west-wind.com... there is a great article about client server over HTTP.

Sounds like a fun project... enjoy!

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform