Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a word doc from VFP
Message
From
20/04/2015 12:20:16
 
 
To
20/04/2015 07:38:52
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01618752
Message ID:
01618791
Views:
27
>>I realy need a command I can insert into shell execute
>
>Maybe you can use Windows Scripting Host instead of ShellExecute, since WSH has a function called SendKeys() which you can use to send keystrokes to the activated application. See here for sample code: https://support.microsoft.com/en-us/kb/259103?wa=wsignin1.0


While I also sometimes had to go this way when crossing the ways some windows subsystem was coded [and it works if you give the OS time to react], I miss the "NB" line stating that such a Goldbergian approach should be avoided if possible ;-))
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform