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

request: ding on chat

Any features you would like to see in UltraVNC? Propose it here
Post Reply
ToddAndMargo
Posts: 6
Joined: 2009-03-02 20:52
Location: Milky Way/Sol/Earth/USA/Nevada

request: ding on chat

Post by ToddAndMargo »

Hi All,

When I am doing a support session, the users ignore me totally, until I call them on the phone. When I open a chat session, they never respond. (I have tried typing in "Free Food" and "Free Beer". Neither work.)

Would you please consider a "Ding" sound at the other end when I open a chat session. If the user does not respond, a "dinger" button would also be useful.

Many thanks,
-T
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: request: ding on chat

Post by JDaus »

ToddAndMargo wrote:Would you please consider a "Ding" sound at the other end when I open a chat session. If the user does not respond, a "dinger" button would also be useful.
yep, I agree with this one ... I can do it in autoit ... so i am guessing it can't be too hard :-P
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003

without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6864
Joined: 2004-04-23 10:21
Contact:

Re: request: ding on chat

Post by Rudi De Vos »

On open added...
No button, this is a lof of code and extra message between viewer and server is not possible ( break compatibiliry with older version)

If no respons, just reopen chat window to ding-dong again...

http://www.uvnc.eu/download/winvnc_32_ding_dong.zip

This was the last request for 1057
We need to release 1057 and we can keep changing and adding thing until 2010 :)

Is 1057 stable enough for next release ?
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: request: ding on chat

Post by JDaus »

fair enough rudi ... didn't think about backward compatability ... thanks for adding the ding :)

will test out the latest version ...
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003

without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
aromo
Posts: 4
Joined: 2009-08-07 21:52

Re: request: ding on chat

Post by aromo »

Is there a way to disable the Ding Dong function?

I give support to radio stations, and it's not a good thing to play sounds in their computers.
User avatar
pgmoney
100
100
Posts: 285
Joined: 2004-06-26 22:29
Contact:

Re: request: ding on chat

Post by pgmoney »

aromo wrote:Is there a way to disable the Ding Dong function?

I give support to radio stations, and it's not a good thing to play sounds in their computers.
Would this work for you?

If the ding_dong.wav file exists in the current folder it plays. if you delete the file it's silent or you can change the wave to what you like.

Code changes below...

TextChat.cpp
------------

Code: Select all

#include <Mmsystem.h>
BOOL PlayResource(LPSTR lpName)
{
//PGM     BOOL bRtn;
//PGM     LPSTR lpRes;
//PGM     HANDLE hRes;
//PGM     HRSRC hResInfo;
//PGM 
//PGM     /* Find the WAVE resource. */
//PGM     hResInfo= FindResource(hAppInstance,MAKEINTRESOURCE(IDR_WAVE1),"WAVE");
//PGM     if(hResInfo == NULL)
//PGM        return FALSE;
//PGM     /* Load the WAVE resource. */
//PGM 
//PGM     hRes = LoadResource(hAppInstance,hResInfo);
//PGM     if (hRes == NULL)
//PGM       return FALSE;
//PGM 
//PGM     /* Lock the WAVE resource and play it. */
//PGM     lpRes=(LPSTR)LockResource(hRes);
//PGM     if(lpRes==NULL)
//PGM       return FALSE;
//PGM 
//PGM     bRtn = sndPlaySound(lpRes, SND_MEMORY | SND_SYNC);
//PGM     if(bRtn == NULL)
//PGM       return FALSE;
//PGM 
//PGM     /* Free the WAVE resource and return success or failure. */
//PGM     FreeResource(hRes);
//PGM     return TRUE;

	char szWavFile[MAX_PATH]; //PGM 
	if (GetModuleFileName(NULL, szWavFile, MAX_PATH)) //PGM 
	{ // PGM 
		char* p = strrchr(szWavFile, '\\'); //PGM 
		*p = '\0'; //PGM 
		strcat(szWavFile,"\"); //PGM 
	} //PGM 
	strcat(szWavFile,"ding_dong.wav"); //PGM 
	if(::PlaySound(szWavFile, NULL, SND_APPLICATION | SND_FILENAME | SND_ASYNC | SND_NOWAIT)!= ERROR_SUCCESS) //PGM
		return FALSE; //PGM 
	else //PGM 
		return TRUE; //PGM 

}
WinVnc.rc
------------

Code: Select all

/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//

//PGM IDR_WAVE1               WAVE                    "res\\ding_dong.wav"
#endif    // Dutch (Netherlands) resources
/////////////////////////////////////////////////////////////////////////////
User avatar
JDaus
Friend of UVNC
Friend of UVNC
Posts: 537
Joined: 2007-03-17 11:00
Location: Sydney, Australia
Contact:

Re: request: ding on chat

Post by JDaus »

pgmoney wrote:If the ding_dong.wav file exists in the current folder it plays. if you delete the file it's silent or you can change the wave to what you like.
nice one PGM ... this should be the norm IMHO...

a way round it sounding (without having to compile sources ...) is to fire-up reshacker and delete the wav from the resources, and that will stop it ...

but make sure you test thouroughly before supplying to customers, as it may error if file cannot be found ...
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003

without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
Post Reply