Luis,
the starting steps are quite simple. First of all you must set target VNC server IP address, this can be done via HostIP property. Actually at this point you already can call the Connect method to establish connection to the server. 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.