But you probably would want to handle the Disconnected event. The rest is greatly depends on your application requirements and design. If you cannot open the VB sample in RealBasic, then you probably can open Samples\VB\ViewerX.frm in any text editor so you could see the sample source code. Kindest Regards,SmartCode Solutions Support