Creating a ThinVNC Client

Top  Previous  Next

 

Let's create a simple ThinVNC client using Microsoft Visual Studio.

 

1) Create a new project.

Open Microsoft Visual Studio and start a new Windows Form Application project. Let's name it "VncClient".

 

2) Add ThinVNC Client Control to the toolbox.

Open the toolbox, right-click on it and select "Choose Items". Select the "COM Components" tab and look for the ThinVNC Client Control. Select it and click OK.

 

3) Look for the ThinVNC Client Control in the toolbox, and drop it on the form. Add a textbox and a "Start" button as shown:

 

ThinVNC SDK HTML5, Web-based VNC desktop sharing control remote screen

 

4) Add code to the "Start" button.

 

Private Sub bStart_Click(ByVal sender As System.Object, ByVal e As System.                EventArgs) Handles bStart.Click

   AxThinVNCClient1.Connect(textURL.Text)

End Sub

 

5) Try it.