It is known that in Role Tailored Based environment BEEP C/AL function is not supported.
http://msdn.microsoft.com/en-us/library/dd301405.aspx
This simple blog is based on SystemSounds Class from System.Media namespace
http://msdn.microsoft.com/en-us/library/ms143809.aspx
My Ingredients :
- NAV 2009 R2 Role Tailored Client
- Windows 7 Enterprise
Attached you will find 1 unbounded page object in TXT format.
The code is fairly simple: there are just 5 lines of code related to 5 page actions.
…
dnBeep.Asterisk.Play();
dnBeep.Beep.Play();
dnBeep.Exclamation.Play;
dnBeep.Hand.Play();
dnBeep.Question.Play();
…
In order to have more fun with this object, I invite you to edit Control Panel:
Control PanelAppearance and PersonalizationPersonalization
And push the sounds Action button (NOTE: normally “Question” is not present in system Themes) while switching between themes.
REMEMBER: Raise high the volume of your earphones / speakers.
These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use.
Duilio Tacconi (
dtacconi)
Microsoft Dynamics Italy
Microsoft Customer Service and Support (CSS) EMEA

Источник:
http://feedproxy.google.com/~r/Micro...v-2009-r2.aspx