>>Nadya, what happens when you run the code below (after changing it to valid files of course and a valid connection)?
>
>I got Class definition "AWREM32.APPLICATION" is not found (Error 1733)
>on my machine.
>
That means the automation object has not successfully been installed on the system - either the version you have does not offer the COM object, or the COM object failed to register on the system. I know that the object is not installed under that name on my PCAnywhere 9.2 system, but a number of OLE objects related to PCAnywhere are present.