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:
01132314
Views:
10
>>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.
>
Thanks BB. Prompt as usual. It's as if you're just the other side of the room from me.

Hmmmm, as usual VFP offers several means of achieving this, and this is one I've not seen.

I'll give it a go.

Cheers

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform