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

'Are you sure you want to shut down?'

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

'Are you sure you want to shut down?'

Post by shoodabean »

Hello, I've just found ChunkVNC, thanks for all your hard work :)

I'm just testing it at the moment and my three testers, wife, mum and brother have all got a bit concerned when they have closed the client window on their pc's.

The message 'Are you sure you want to shut down?' is a bit worrying for them as they think its the P.C. itself that is going to shut down and not the 'magic box' that allows me to control their machine.

Perhaps the message should read something 'Are you sure you want to disconnect ?' or 'Are you sure you want to shut down remote support ?'

Just a little thing but that has been the overwhelming first impression (for the 'clients').
Cheers
shoo
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: 'Are you sure you want to shut down?'

Post by supercoe »

shoodabean,

Glad you like ChunkVNC!
You can change the message yourself by editing SRC\InstantSupport.au3 with a text editor like Notepad++ (or if you prefer install AutoIt)

You want to edit line 66

Code: Select all

If MsgBox( 4,"Shutdown","Are you sure you want to shut down?" ) = 6 Then
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

Re: 'Are you sure you want to shut down?'

Post by shoodabean »

Brilliant! thankyou for the super fast reply.
krash_control
8
8
Posts: 24
Joined: 2010-01-27 21:20

Re: 'Are you sure you want to shut down?'

Post by krash_control »

Hi. I had the same thoughts when I first ran it too. See this post with what I changed it to.

[post=66129][/post]
shoodabean
8
8
Posts: 15
Joined: 2010-02-28 23:55

Re: 'Are you sure you want to shut down?'

Post by shoodabean »

Thanks, I've changed it to your suggestions. I feel thats a bit more explanatory and matches the users expectations more closely.
ahinson
8
8
Posts: 11
Joined: 2009-12-07 21:16

Re: 'Are you sure you want to shut down?'

Post by ahinson »

Why the second warning dialog about the application closing in 15 seconds? The user has already decided to close the thing if they select "yes". Why not just hide the window so it can go through its closing process without accidental user interruption?

Code: Select all

Case $GUI_EVENT_CLOSE
			If MsgBox( 4,"Question","Are you sure you wish to close?" & chr(13) & "Selecting Yes will disconnect any active sessions." ) = 6 Then
				; Allow viewer to disconnect to prevent schook.dll locking.
				;MsgBox( 0, "Information", "Please click OK, the client will autoclose in 15 seconds...", 15 )
				Sleep(500)
				WinSetState ( "Instant Support", "", @SW_HIDE )
				; Kill the server
				ShellExecute( $TempPath & "\InstantSupportVNC.exe", "-kill" )
				; Remove files after the server is closed.
				ProcessWaitClose( "InstantSupportVNC.exe", 30 )
				_DeleteTemp(5)
				Exit
			EndIf
Last edited by ahinson on 2010-03-24 18:22, edited 2 times in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: 'Are you sure you want to shut down?'

Post by supercoe »

Why the second warning dialog about the application closing in 15 seconds?

To give you time to close the viewer.

Original Code:

Code: Select all

; Allow viewer to disconnect to prevent schook.dll locking.
MsgBox( 0, "Information", "Please close the viewer now, uninstall will continue in 15 seconds...", 15 )

The user has already decided to close the thing if they select "yes". Why not just hide the window so it can go through its closing process without accidental user interruption?

It was poor implementation to quick fix the schook.dll issue. :|
The next release will automatically close the viewer for you.
Last edited by supercoe on 2010-03-24 18:32, edited 1 time in total.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
ahinson
8
8
Posts: 11
Joined: 2009-12-07 21:16

Re: 'Are you sure you want to shut down?'

Post by ahinson »

supercoe wrote:Why the second warning dialog about the application closing in 15 seconds?

To give you time to close the viewer.

Original Code:

Code: Select all

; Allow viewer to disconnect to prevent schook.dll locking.
MsgBox( 0, "Information", "Please close the viewer now, uninstall will continue in 15 seconds...", 15 )

The user has already decided to close the thing if they select "yes". Why not just hide the window so it can go through its closing process without accidental user interruption?

It was poor implementation to quick fix the schook.dll issue. :|
The next release will automatically close the viewer for you.
To close the viewer locally? Hmm, I'm not seeing the issue with cpu utilization on my side. Is this an issue with the remote computer?
Last edited by ahinson on 2010-03-24 18:53, edited 1 time in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: 'Are you sure you want to shut down?'

Post by supercoe »

If you don't close the viewer window before InstantSupport kills the UltraVnc server the file schook.dll won't be able to be deleted.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
ahinson
8
8
Posts: 11
Joined: 2009-12-07 21:16

Re: 'Are you sure you want to shut down?'

Post by ahinson »

supercoe wrote:If you don't close the viewer window before InstantSupport kills the UltraVnc server the file schook.dll won't be able to be deleted.
Is this an issue because the file is still in use?
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: 'Are you sure you want to shut down?'

Post by supercoe »

ahinson,

If you want specifics check out this thread:
[topic=15277][/topic]
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply