Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deploying
Message
From
14/09/2004 11:56:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/09/2004 11:45:17
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00941917
Message ID:
00941941
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform