Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Console app no main window writing to the dos window
Message
From
27/01/1999 15:48:52
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00180936
Message ID:
00181022
Views:
16
>Hello all,
> i am writing a Console app with no main window or forms normaly. If the parameters are correct I want it to just execute the program without any user feedback. Otherwise I want to display to the dos box a classic USAGE: message or open a GUI.

You can start with SCREEN=OFF, and then bring up an appropriate form.

Also, how do you call a use like the following:
>
>sTable = MyFoxTable.dbf
>USE sTable
>
>

sTable = 'MyFoxTable.DBF'
USE (sTable)

You can specify a full path in the file name string, and the extension doesn't have to be .DBF.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform