Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Help with opening vnc from a web page.

Post Reply
Flemming

Help with opening vnc from a web page.

Post by Flemming »

Hi all

I been trying to find a solution of my problem on the net, but so far no luck, so I though I’d give it a try here. I use UltraVNC myself, though my colleges user the “good” old RealVNC. Trying to convince them to change, since I think this is bar better.

Well to my question:

We have several computer that I admin via vnc and now I decided to make a web-page for easy access to them all. But I have a problem getting the vncviewer.exe to open when I use a link. I found a way to integrate so that vnc: opens UltraVNC, but I want it to input the ip and if possible to connect directory. Here is the integration I’m using:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\VNC]
"URL Protocol"=""

[HKEY_CLASSES_ROOT\VNC\shell]

[HKEY_CLASSES_ROOT\VNC\shell\open]

[HKEY_CLASSES_ROOT\VNC\shell\open\command]
@="\"C:\\Program Files\\UltraVNC\\vncviewer.exe\""

From the htm I use:

<a href="vnc:server">server</a>

Is this the right way to do it or is there a different/better way to do this? It must be possible somehow, though I cant figure it out. 

Hope someone can help.

Flemming
Favio

Web and VNC

Post by Favio »

I wrote an asp page a while back to interface with Real VNC, and it worked great, but now I'm also replacing it with Ultra VNC, of course now my links don't work, because we are using the integrated security feature...
Anyways, Here is the link that works for the real vnc
(I made no changes to the Registry on the local registers)
of course you previously "dim mylink" variable

<%mylink1="http://" & (rsAllTerminals.Fields.Item("TerminalName").Value) & ":5800"%>

<a href="<%=mylink1%>" target="_self"><%=rsAllTerminals.Fields.Item("TerminalName").Value%></a></font></div>
Guest

Post by Guest »

Uhh that seems complicated. ;)

Could you maybe help with an examble with a server and ultravnc.

Ultravnc "C:\Program Files\UltraVNC\vncviewer.exe"

Server 192.168.2.60

If anyone else have any idear, feel free to join in. :)
Gumby
8
8
Posts: 21
Joined: 2004-12-13 16:21
Contact:

Post by Gumby »

You could make a connection to whatever computer you want to connect and press alt+f5 I believe to save your connection as a *.vnc file and upload that to your website. That way if you need to connect to that computer or whatever you just click the regular link or you make a small html file that has links to all of your different connections.
(<a href="yoursite.com/*.vnc">click me</a>)

But I don't think thats what you are trying to do... Can you explain better?
Guest

Post by Guest »

Hehe Gumby, thats actually what i did, after writing my last post. Couldnt get the first to work, so i tried something else and got this to work quite well. Thanks for the idear though. :-)
Guest

Post by Guest »

Hi there

If anyone should have an other/better idear, feel free to join in.

Thanks
Post Reply