Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if VFP native or runtime (exe)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01132311
Message ID:
01133013
Views:
20
Also SYS(16), If I remeber well in developer environment you'll get empty string.

>Hi BB
>
>I knew there were at least 3 ways of doing this (as usual in VFP). Just discovered in my other code:
>
>If VERSION( 2) = 0
>
>I recall an even older system of mine where $ and ".exe" appear ??? (I know, it's like giving the police a partial car registration number :-)
>
>Terry
>
>
>>>I'm having a brain seizure. I can't remember the technique for determining whether it's the exe main prog running or it's just being run from the command line.
>>>
>>>It's ... ?
>>>
>>>'ppreciate it
>>>
>>>Terry
>>
>>? _VFP.StartMode
>>
>>
>>StarMode values from HELP:
>>
>>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:
>>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