Connect(Client As Object) As Integer

Application object

This is a callback function called by remote clients in order to connect to a FORMS module. When this method is called, the AppConnect event is fired, and the return value from the handler is passed back to the connecting client.

The return value is normally EV_OK (0), which indicates that the connection was accepted. If the return value <> 0 then the connection failed. The Client parameter should be the connecting objects’ IDispatch interface.

Disconnect

The Application object