Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regaining Focus from ShellExecute
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01324662
Message ID:
01324675
Views:
14
>
> ShellExecute( 0, "open", SYS(5) + CURDIR() + "WHccGet.exe", lcEXE, SYS(5) + CURDIR() ,2)
>

After searching the Internet and looking at the VB parameters for it, I found that setting the 2 to 7 will work...

ShellExecute( 0, "open", SYS(5) + CURDIR() + "WHccGet.exe", lcEXE, SYS(5) + CURDIR() ,7)

7 = Minimize but don't give focus
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform