Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't want dos window
Message
From
14/08/1998 08:01:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126830
Message ID:
00126839
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform