Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How determine is it running compiled exe file or not
Message
From
26/10/2005 04:00:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062144
Message ID:
01062146
Views:
13
>Hello,
>
>I would like to determine is form is running on Foxpro IDE or on executable file.
>How?
>
>Thanks

Check
_VFP.StartMode
in HELP:
From there:
0 - A development version of Visual FoxPro was started in an interactive session.
1 - Visual FoxPro was started as an application object. For example, the following
    command creates an instance of Visual FoxPro as an application object: 
    oMyObject = CREATEOBJECT('VisualFoxPro.Application')
2 - Visual FoxPro was started as an out-of-process .exe automation server.
3 - Visual FoxPro was started as an in-process .dll automation server.
4 - Visual FoxPro was started as a distributable .app or .exe file.
5 - Visual FoxPro was started as an in-process .dll automation server for multithreaded use
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform