Показать сообщение отдельно
Старый 19.05.2011, 17:22   #7  
Poleax is offline
Poleax
Модератор
Аватар для Poleax
MCP
MCBMSS
Злыдни
 
1,353 / 595 (22) +++++++
Регистрация: 17.02.2005
Адрес: msk
Записей в блоге: 34
Цитата:
Сообщение от G.Menshikh Посмотреть сообщение
Коллеги, а ни кто не делал вывод не "бип", а например какой то системный звук винды об ошибки, типа "тадааам" чтобы он точно уже через колонки выходил.
WinAPI::sndPlaySound()

Ever wanted to give a audio based interaction, to when a user does something? In the past windows based applications incorporated sound to signal that a process what complete.

Now you can add sounds to your methods, and processes by using the WinAPI call: WinAPI::sndPlaySound()
X++:
//example
WinAPI::sndPlaySound("c:\\horay.wav");
This is a little simple, trival type of method to some. Put if AX is being used in the production process, and you have screen's at different processes then having sound to signal that a barcode scan has completed correctly helps in a loud Manufacturing environment. I also assume you could acomplish the same thing through ActiveX and MIDI control. I am not sure what would be the best way, for performance, to play a sound, but for development cost, the above is pretty easy and straight forward.

http://dynamics-ax.blogspot.com/2006...playsound.html
__________________

This posting is provided "AS IS" with no warranties, and confers no rights.