>>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?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham