Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Window in VFP exe
Message
From
28/03/2013 15:43:45
 
 
To
28/03/2013 15:38:02
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01569474
Message ID:
01569476
Views:
78
>Hello,
>
>Is there a possibility to show the command window when running the VFP application as an executable? Or maybe there is another alternative for the command window?


If you ran your exe from the vfp9.exe command prompt, yes. If you just launched the exe from a shortcut or Windows Explorer, then no.

If yes, you can always use the following sequence:
SET SYSMENU TO DEFAULT
CLEAR TYPEAHEAD
KEYBOARD '{CTRL+F2}'
These can be executed in the debugger as well if the command window is not naturally there:
_vfp.doCmd("SET SYSMENU TO DEFAULT")
_vfp.doCmd("_vfp.visible = .t.")
* OR _vfp.doCmd("_screen.visible = .t.")
Others may have a way to access the command prompt window directly. I don't know of a way to access it directly.
Previous
Reply
Map
View

Click here to load this message in the networking platform