>>I tried to:
>> - create a project;
>> - built the project as an executable;
>> - run Setup Wizard and create the distribution kit;
>> - install the application and create an icon for it;
>> - start the application;
>>
>> The result is that the application window appears on the screen for an instant and dissapears.
>>
>> As I can see, the setup wizard has distributed the VFP runtime libraries...
>>
>> Can someone tell me what I miss here ?
>>
>>Thanks!
>
>You miss a READ EVENT (and a CLEAR EVENT, of course) probably. You must have a READ EVENT in your app. When you're develpment environment of VFP, you have the default READ EVENT which is in effect. When you run your exe you don't have it anymore, so you must issue one (usually after you activate your menu, but the place where you must put it depends on your app's structure).
>
>Vlad
I tried and it works. Thanks.
It works also if I set the form property Window Type to Modal.
Thanks again,
Daniela
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement