Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDI curiosity
Message
From
18/02/1999 23:32:01
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00189126
Message ID:
00189135
Views:
9
If your app starts and immediately exits, it is probably because of one of two things:

1. You don't have a READ EVENTS statement

or

2. Your main form is set as "In-Screen" and when you make the _screen invisible, the form goes invisible with it. In this case, your application is not gone, it is just hiding.


>I had done it already: the problem is that the application starts and exits inmediately.
>
>What I find a gem in your answer is that I can include CONFIG.fpw in thew project and don't need to distribute it separatedly. Wish I had know it before.
>
>Thanks a lot.
>
>Silvio.
>
>>Silvio, if you have a SDI app, make sure that the form's ShowWindow property is set to 2 (As top level form).
>
>>Then, to suppress the VFP screen from showing up, you'll need a config.fpw file in the same folder as the exe with the following line in it:
>
>>SCREEN=OFF
>
>>This file does not have to be distributed with the exe if you include it as a text file in your project.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform