Hello,
Could anyone please answer me a simple question ...
How to get the process ID of the VB application itself when it is started
(I need to use it for some timing problems) ? I can enumerate all
Windows and find it by name, but there is probably a simpler method.

Actually one more question: How to get a handle to a system window
by its Class Name ? There is always a system window associated with
Clipboard, its Class Name: CLIPBRDWNDCLASS. How to get a handle to it ?

I am able to do that first copying something to the clipboard and than call :
GetClipboardOwner(), but I need to get a handle to it before copying.
Is it possible ? When I enumerated all Desktop children, this system window is
not shown in the list.