Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute
Message
 
To
25/04/2006 13:59:03
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01116445
Message ID:
01119332
Views:
14
>The problem is that I need to wait until the compression is complete before I do any
>processing of the finished compressed PDF file.
>
>SHellExecute is not modal and I need to wait for it to finish before processing the
>result. ShellExecute returns a window handle. I tried using the API IsWindow(Handle)
>but it always returns 0.
>
>Does anyone know how to ask the question: Is the external process finished?

John, I know it's a little late, but here's some VB code that answers that question nicely. Shouldn't be too hard to convert.

http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21418540.html
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform