Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deploying
Message
De
14/09/2004 11:56:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/09/2004 11:45:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00941917
Message ID:
00941941
Vues:
13
>Like I said this is my first deployment so not sure if designing this correctly, My main exe code is running this command DO FORM c:\dsm\master.scx

Test it dblclicking your generated exe before creating deployment.

*Main.prg
* Preparation code if any
* Menu or form... calling
DO FORM c:\dsm\master.scx
read events

* cleanup code if any


If there is no 'Read events' in code and no modal form (or anything causing a modal state) VFP would only flash and close.

When you include 'read events' VFP can start it events loop and keep app running. Be sure you also have 'clear events' in your code (anywhere - typically where app should 'Exit', ie:Menu\Exit).

If your app is only containing a single form you might find this easier and better:
*Form.Init
*Code if any
this.Show
read events

*Close/exit button
clear events
thisform.release


If you don't want main fox window
Set Form's ShowWindow to 2.
Create a text file named config.fpw with line:
screen=off

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform