Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute
Message
From
29/01/2002 03:04:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
ShellExecute
Miscellaneous
Thread ID:
00612029
Message ID:
00612029
Views:
57
Hi All

I am using VFP6/SP5 and VFP7/SP1. I am using ShellExecute to run the default application associated with a particular file, eg a word doc. Syntax from the UT API section:

lnResult = ShellExecute( 0, "Open", tDocFile, "", "", 3 )

Sometimes Word loads the document and becomes the active window. Other times Word loads the same document but then my VFP app jumps to the fore and becomes the active window. How can I force Word to stay the active window.

TIA

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Next
Reply
Map
View

Click here to load this message in the networking platform