Creating a ThinVNC Server |
Top Previous Next |
Let's create a simple ThinVNC server 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 "ThinVncServer".
2. Add a reference to "ThinVNC Server" ActiveX library: On the Solution Explorer pane right-click on the ThinVncServer project node and select "Add Reference".
3. Add a few controls to the form:
4. Add code:
An initialization code.
The "Start" button code
5. Compile and run the project.
6. Try it out by typing a port number into the textbox and press the "Start" button. Most likely, Windows Firewall will ask you to set up an exception. Add the exception and then open a Web Browser (preferably in another PC) and type http://yourpc:port.
You should be able to see and control the PC desktop.
|