{"id":21158699,"url":"https://github.com/wqweto/vbvncserver","last_synced_at":"2026-01-02T12:20:41.251Z","repository":{"id":145870838,"uuid":"347765308","full_name":"wqweto/VbVncServer","owner":"wqweto","description":"Simple VNC Server in VB6 using DXGI Desktop Duplication","archived":false,"fork":false,"pushed_at":"2023-12-13T11:36:49.000Z","size":146,"stargazers_count":27,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-08T20:43:40.908Z","etag":null,"topics":["desktop-duplication-api","directx11","rfb","ultravnc","vb6","vnc","vnc-server"],"latest_commit_sha":null,"homepage":"","language":"Visual Basic 6.0","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wqweto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-14T22:03:55.000Z","updated_at":"2025-02-13T06:44:05.000Z","dependencies_parsed_at":"2023-12-13T12:45:46.919Z","dependency_job_id":"53e91b44-9f5d-4e2a-aef4-ac825912cbc8","html_url":"https://github.com/wqweto/VbVncServer","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wqweto%2FVbVncServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wqweto%2FVbVncServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wqweto%2FVbVncServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wqweto%2FVbVncServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wqweto","download_url":"https://codeload.github.com/wqweto/VbVncServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243602101,"owners_count":20317569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-duplication-api","directx11","rfb","ultravnc","vb6","vnc","vnc-server"],"created_at":"2024-11-20T12:32:26.683Z","updated_at":"2026-01-02T12:20:41.175Z","avatar_url":"https://github.com/wqweto.png","language":"Visual Basic 6.0","funding_links":[],"categories":[],"sub_categories":[],"readme":"## VB VNC Server\r\n\r\nSimple VNC Server in VB6 using DXGI Desktop Duplication\r\n\r\n### Description\r\n\r\n - [ ] Supports password based authentication \r\n     - Plain, VNC and Tight security types (DES in ECB mode)\r\n     - UltraVNC and UltraVNC_MsLogonIIAuth (Diffie-Hellman KX for the shared key and DES in CBC mode)\r\n - [ ] Supports Raw, CopyRect, Zlib and Tight encodings\r\n     - Windows Imaging Component (WIC) for fast JPEG compression in Tight encoding\r\n - [ ] Uses Desktop Duplication from DirectX 11 for incremental screen updates\r\n     - Chunks output in 256x256 tiles\r\n     - Multiple clients per desktop duplication source\r\n - [ ] Supports cursor pseudo-encodings\r\n     - Including cursor with alpha\r\n - [ ] Supports file transfer protocol extensions\r\n     - UltraVNC (including ZIP compression on folder downloads)\r\n     - TightVNC (latest version of protocol extension only)\r\n - [ ] Single-thread asynchronous implementation\r\n - [ ] Conditional compilation to reduce footprint on final executable\r\n     - Optional ZLib support\r\n     - Optional histograms for JPEG quality estimation\r\n\r\n### How to use\r\n\r\nCopy `VBD3D11.tlb` type library from `lib\\VBD3D11\\typelib` to your local disk and register it before adding a project reference to this newly registered \"DirectX 11 for VB6 1.0\" from Project-\u003eReferences menu in VB IDE.\r\n\r\nAdd `cVncServer.cls`, `cAsyncSocket.cls` (from `lib\\VbAsyncSocket\\src`) and `cZipArchive.cls` (from `lib\\ZipArchive\\src`) to your project and use `cVncServer.Init` method to start a new VNC server like this:\r\n\r\n```\r\nOption Explicit\r\n\r\nPrivate m_oServer As cVncServer\r\n\r\nPrivate Sub Form_Load()\r\n    Dim lPort           As Long\r\n    \r\n    lPort = Val(Environ$(\"MYLOBAPP_VNC_PORT\"))\r\n    If lPort \u003c\u003e 0 Then\r\n        Set m_oServer = New cVncServer\r\n        m_oServer.Init \"0.0.0.0\", lPort, Environ$(\"MYLOBAPP_VNC_PASSWORD\")\r\n    End If\r\nEnd Sub\r\n```\r\n\r\nThe snippet above allows optionally starting the built-in in your LOB application VNC server by configuring a listening port through the `MYLOBAPP_VNC_PORT` environment variable and optionally securing it with a password through the `MYLOBAPP_VNC_PASSWORD` environment variable.\r\n\r\nPlease when copy/pasting the sample code  use common sense and change the prefix of these environment variables to include your LOB application name.\r\n\r\nTo reduce footprint on final executable you can optionally exclude `cZipArchive.cls` from your project by using `VNC_NOZLIB = 1` in conditional compilation settings which will remove (or reduce) some of the server functionalities.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwqweto%2Fvbvncserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwqweto%2Fvbvncserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwqweto%2Fvbvncserver/lists"}