Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which mode is running?
Message
From
21/11/2002 16:39:18
 
 
To
21/11/2002 16:32:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00725462
Message ID:
00725472
Views:
9
>Does _vfp.startmode help?

Yes, I just found it at the same time in the help. Basically, I only want to apply the following SYS() command when the app is executed from a COM mode:
* Suppress modal dialog message
* Only do it in COM mode
IF Application.StartMode=2
   SYS(2335,0)
ENDIF
So, StartMode=2 should not load the SYS() command when I start the EXE manually. I had problems with this command being loaded in memory when I start the EXE manually. So, I wanted to avoid loading it when being loaded manually.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform