Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Don't want dos window
Message
De
14/08/1998 08:01:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00126830
Message ID:
00126839
Vues:
23
>How do you prevent the dos window from appearing when issueing a run on something in winnt\system32 ie.
>
>lcCommand = "c:\winnt\system32\notepad somefile"
>run &lcCommand
>
>Eric K.
Eric you can either use ShellExecute() (visit David Frankenbach's site - http://www.geocities.com/ResearchTriangle/9834/mainfram.htm if I'm not wrong) or winexec() API calls as preference. Or you could add a /N for windows apps.
run /N c:\winnt\system32\notepad somefile
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform