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

How read VNC status connection with VB.Net

Post Reply
badtime2000
Posts: 2
Joined: 2010-03-19 08:04

How read VNC status connection with VB.Net

Post by badtime2000 »

I need to read the connection status because my VB.Net application cover 100% of the screen, so when I'm remotely connected who is in front of the application doesn't see the VNC icon changing colour. There is a dll or similar to include into my software? I would like to read the status by a timer event and visualize an icon on the active screen.
Thanks in advance


Edited by supercoe: Moved topic from VNC Related Products to General.
Last edited by badtime2000 on 2010-04-06 23:18, edited 1 time in total.
Robert_Zenz
8
8
Posts: 22
Joined: 2009-07-28 09:58
Location: Vienna, Austria
Contact:

Re: How read VNC status connection with VB.Net

Post by Robert_Zenz »

One way would be to check the Event-Log of the system for an UltraVNC-Connect-Event (and Disconnect too, of course).
GENERATION 27: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
Robert_Zenz
8
8
Posts: 22
Joined: 2009-07-28 09:58
Location: Vienna, Austria
Contact:

Re: How read VNC status connection with VB.Net

Post by Robert_Zenz »

Thanks for your answer, I'll try this way, there is a table of the event code? From a fast test: event =1 Connected, event=3 Disconnected, I'm interested to the other possible code. Thanks
According to what I found in the logging.cpp there are three states:
  • 1 - User logged in
    2 - Login failed/was rejected
    3 - User disconnected
GENERATION 27: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
Post Reply