Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Approch for Multiple Tasks
Message
 
To
24/10/2002 11:15:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00714893
Message ID:
00714927
Views:
22
If you use a combination of CreateProcess and WaitForSingleObject, you can be assured that each task will finish before another starts. Here's a good article on the subject:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q191584 - HOWTO:
Determine When a 32-bit Process has Completed from VFP

>After a user types a drawing number in a text box the following needs to take place:
>Verify the Drawing Revision(SPT to AS400 database)
>
>Find the Drawing in the proper release folder
>
>Copy Drawing Files to Temporary Folder
>
>Run a batch file that takes each Drawing file Opens it up in it's native application and then through script plots the Drawing out to a postscript file.
>
>Automate Acrobat Distiller to take the .ps files and make them .pdf files.
>
>Erase .bak, .ps, and .log Files
>
>Automate Acrobat to take all the pdf files and make them one pdf file.
>
>I can get all these pieces to work when involked one at a time. How do I get these steps to work in a liner fashion without overrunnig each other.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform