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.
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
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
-
- Posts: 2
- Joined: 2010-03-19 08:04
How read VNC status connection with VB.Net
Last edited by badtime2000 on 2010-04-06 23:18, edited 1 time in total.
-
- 8
- Posts: 22
- Joined: 2009-07-28 09:58
- Location: Vienna, Austria
- Contact:
Re: How read VNC status connection with VB.Net
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.
-
- 8
- Posts: 22
- Joined: 2009-07-28 09:58
- Location: Vienna, Austria
- Contact:
Re: How read VNC status connection with VB.Net
According to what I found in the logging.cpp there are three states: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
- 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.