Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Services and running an external .exe
Message
From
30/04/2002 19:13:27
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00650813
Message ID:
00651147
Views:
20
Hi Sergey,

Thanx. I am reviewing the material. I also have another idea. How about making a vfp program that polls the directory that my users are uploading to. Then if a file is found it can do a run of myprogram.exe. I will have to set up the vfp exe as a windows "service" so it runs in the background. The only question I have is: will my vfp exe that runs in the background be capable of launching myprogram.exe because myprogram.exe has UI.

Any thoughts?

Dr.G.(Neil)

>>Hi,
>>
>>I have posted this request under different categories and I have not received too many nibbles. However it appears as if "services" might hold the key. I have users uploading files to my server that have a format that can only be read by an executable called GeoDigm.exe. In fact the syntax is: GeoDigm.exe filename. I manually check the uploading directory during the day and if I find a file I open it with Geodigm.exe. GeoDigm produces 3 jpg files that I then post to my web site. Please note that Geodigm.exe has UI but knows to shut down when all of the jpgs are displayed and saved. I wanted to be more automatic about this so I have attempted to run Geodigm.exe from an ASP. Nothing I do works. I tried WSH, API calls, etc. Although each of these methods worked in the command window, all failed on the ASP. Geodigm.exe always fails to run. Someone thought that I should create a little vfp program that instantiates Geodigm.exe and then wrap the entire thing up as a service.
>What
>>does that mean. A service?? And how does one use and create on?
>>
>
>See mskb#Q137890 and SYS(2340) function in VFP 7.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform