Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do not show VFP window
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01633604
Message ID:
01633614
Views:
52
>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

I ran another test. In a command prompt I changed to some random folder and then ran my .EXE as follows:
d:\Vfp9AppFolder\MyApp.exe
And in this case, the VFP Window flashes. What this tells me is that I need to build/include the config.fpw into the .exe.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform