Creates a new OLE object in the specified remote server application (if security on the server allows it) and associates the new object with a PowerBuilder OLEObject variable. ConnectToNewRemoteObject starts the server application if necessary.
OLEObject objects
oleobject.ConnectToNewRemoteObject ( hostname, classname )
Integer. Returns 0 if it succeeds or a negative value if an error occurs.