Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and DOS programs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00160839
Message ID:
00160893
Vues:
27
>I was wondering, does the run command still work for DOS programs?
>Also, if it does, does it open a window while it is happening.
>If it does open a window, is there a way of not showing it.
>

It still works for DOS programs.

It opens a Window when you run a DOS program.

I posted a FAQ entry that will run a DOS application and wait on it's compeltion in the FAQ under Win32 and other APIs that will avoid the probvlem with showing a DOS box.

>Also, will it stop processing while the DOS program is running?
>(i.e. wait till the DOS app has completed.)

My LaunchAppAndWait() example from the FAQ does; RUN will also wait depending on command line parameters in the RUN statement.

>
>I have a piece of DOS software that polls specific hardware on a regular basis. The application presently is a Fox Dos (2.0) application. I need to upgrade it to VFP... (Ugly screens etc.)

You'll likely have trouble porting your application to the Windows environment if you're polling hardware directly. You'll have to lokok carefully at how you access hardware in the app carefully when porting.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform