Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I control outlook messages when sending email
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00880675
Message ID:
00884021
Views:
55
Hi Chuck,

The case dosn't make a difference. Now run two following lines from VFP command window. It should open a window with script running. The window should close after 20 seconds or whatever delay you set in the waitforoutlook.vbs.
lcRun = [RUN /N4 cscript "] + FULLPATH("waitforoutlook.vbs") + ["]
&lcRun
If it works as I described, try to combine it with your call to Outlook.


>Sergey
>I see:
>Windows Script Host Version 5.6
>Copyright <c> Microsoft Corporation 1996-2001 All Rights Reserve
>Usage: CScript scriptname.extension [options] [arguments]
>Options: (list of switches)
>
Does it make a difference if I typed lower case cscript?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform