Accessing PowerBuilder COM servers from clients

You can access the methods on a PowerBuilder COM component from clients built with any COM-compliant tool. For COM+, the client must have Microsoft Windows Installer. The COM server must be registered on the client machine, or the COM+ application proxy file must be installed.

For how to access PB COM servers from a remote client, see “Using PowerBuilder COM servers and objects with DCOM”.

The following examples show how you access a PowerBuilder COM object from Visual Basic or C++. They use a PowerBuilder COM object that was generated from a user object called ccuo_employee and has the Program ID PB105.employee.

For information about building PowerBuilder clients and an example using the same COM object, see Chapter 28, “Building a COM or COM+ Client.”