Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a word doc from VFP
Message
De
20/04/2015 12:05:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618752
Message ID:
01618790
Vues:
28
>>>
>>>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
>
>I can't see how to use it but thanks anyway
>
>I really need a command I can insert into shell execute to disable error printing

That is not possible.
IIRC there is a flag on a bitmapped long in ShellExecuteInfo structure used by ShellExecuteEx.
That is the way to control some aspects of ShellExec, other than trying to manipulate the registry keys for the specific action verb of the file type.

rgds

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform