Process ID from ShellExecute

Is the return value of ShellExecute the process ID?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If the function succeeds, the return value is the instance handle of the application that was run, or the handle of a dynamic data exchange (DDE) server application.

If the function fails, the return value is an error value that is less than or equal to 32. The following table lists these error values:
 The operating system is out of memory or resources.
 The specified file was not found.
 The specified path was not found.
 The .EXE file is invalid (non-Win32 .EXE or error in .EXE image).
 The operating system denied access to the specified file.
 The filename association is incomplete or invalid.
 The DDE transaction could not be completed because other DDE transactions were being processed.
 The DDE transaction failed.
 The DDE transaction could not be completed because the request timed out.
 The specified dynamic-link library was not found.
 The specified file was not found.
 There is no application associated with the given filename extension.
 There was not enough memory to complete the operation.
 The specified path was not found.
 A sharing violation occurred.
Shiju SasidharanAssoc Project ManagerCommented:
You can use Shell method to get process id

pls have a look at this

ShellExecute sample

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shiju SasidharanAssoc Project ManagerCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.