... object of an application (for example, Word), a new process is created. How do I get the ID of this process ? I can make 2 lists of oWmi processes:ExecQuery("select * from Win32_Process where Name=") before and after creating the OLE object, and then compare them. But maybe there are ...