Hi,
I am running SQL 2005 Server with SQL Server Management Studio Express 2005. I am aware of the option "Play the Windows default beep when a query batch completes". However, the machine itself (the PC) does not have speakers connected and do not want to attach any speakers.
Has anyone ever found some code that detects a Windows Message (WM_) or otherwise some kind of a hook that detects when a query is complete in Studio Express?
[EDIT:]
The server shares keyboard, monitor and mouse via a KVM box with a half dozen other machines. So even though I may be sitting right next to the server, there's no audio device on the server other than the internal PC speaker.
[EDIT:]
The focus of the question is how to detect when any Query has completed when run from Management Studio Express. Once I can detect this, I can write my code to play a sound on the PC internal speaker.
--
SQL 2005 Server
SQL Server Managment Studio Express 2005
Windows 2003
VS 2008
.NET/C#/C++/VB
I am running SQL 2005 Server with SQL Server Management Studio Express 2005. I am aware of the option "Play the Windows default beep when a query batch completes". However, the machine itself (the PC) does not have speakers connected and do not want to attach any speakers.
Has anyone ever found some code that detects a Windows Message (WM_) or otherwise some kind of a hook that detects when a query is complete in Studio Express?
[EDIT:]
The server shares keyboard, monitor and mouse via a KVM box with a half dozen other machines. So even though I may be sitting right next to the server, there's no audio device on the server other than the internal PC speaker.
[EDIT:]
The focus of the question is how to detect when any Query has completed when run from Management Studio Express. Once I can detect this, I can write my code to play a sound on the PC internal speaker.
--
SQL 2005 Server
SQL Server Managment Studio Express 2005
Windows 2003
VS 2008
.NET/C#/C++/VB
Comment