Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote Program Execution
Message
From
15/01/1999 09:37:12
 
 
To
14/01/1999 16:59:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00176224
Message ID:
00176462
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform