Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do not show VFP window
Message
De
23/03/2016 11:36:33
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01633604
Message ID:
01633622
Vues:
56
>>>>>>>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?
>>>>
>>>>Dimitry,
>>>>
>>>>more then NODIALOG / NOCONSOLE or the quietmode of the listener (what is NODIALOG) I have no idea. Is this REPORTBEHAVIOR 80 or 90?
>>>
>>>In this project I don't have REPORTBEHAVIOUR set.
>>
>>So 80, what is default.
>>Just for testing - try 90, make shure the reportapps are there.
>
>Thank you. But, first, I want to try embedding the Config.fpw into the .EXE. I think this could resolve the problem.

:O

good idea. I haven't followed the other fillaments of this thread that close.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform