Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do not show VFP window
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01633604
Message ID:
01633609
Vues:
64
>>>Hi,
>>>
>>>I have created a small VFP 9 application that connects to the SQL Server, gets a record and prints a one-page report. I run this .EXE from the ASP.NET application (using class Process).
>>>
>>>So far it works. Except when this .EXE is executed, I see a blank window that pops up (over the web page of the ASP.NET app) for a fraction of a second. I presume that this is the VFP main window.
>>>I set the Config.fpw to have the following values:
>>>Screen=Off
>>>Resource=Off
>>>
>>>Yet, still the window flashes.
>>>
>>>How can I run this VFP EXE completely "silently"?
>>>
>>>TIA
>>
>>The call in .net might have some parameters to run hidden / minimized or so?
>
>No. the .net method does not have such a parameter.
>
>Interesting that if I "force" an error in my VFP program (that simply writes an error to the log and EXIT the .EXE) the VFP window does not flash. Could it be that I have to add some parameter to the REPORT FORM command to suppress it from showing a message?

Are you using NOCONSOLE keyword in that command?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform