PC Review
Forums
Newsgroups
Windows XP
Windows XP Embedded
Systemspeaker
Forums
Newsgroups
Windows XP
Windows XP Embedded
Systemspeaker
![]() |
Systemspeaker |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Which component I must include in my design to use the systemspeaker with
the function Beep()? The function Beep() returned with error code 2 (ERROR_FILE_NOT_FOUND). Thanks for help. Gert. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Beep driver?
"Gert" <g.stober@meditec.zeiss.com> wrote in message news:3f8e6320$0$274$4d4ebb8e@read.news.de.uu.net... > Which component I must include in my design to use the systemspeaker with > the function Beep()? > The function Beep() returned with error code 2 (ERROR_FILE_NOT_FOUND). > > Thanks for help. > > Gert. > > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
There is a difference between the system speaker beep and Beep() in for
instance Visual Basic. The first can be generated by entering Ctrl-G in a cmd box. The second uses the .wav file attached to the the event 'default beep' (Control Panel-Sounds). So maybe you are missing a .wav file? Hans "Gert" <g.stober@meditec.zeiss.com> wrote in message news:3f8e6320$0$274$4d4ebb8e@read.news.de.uu.net... > Which component I must include in my design to use the systemspeaker with > the function Beep()? > The function Beep() returned with error code 2 (ERROR_FILE_NOT_FOUND). > > Thanks for help. > > Gert. > > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
"Gert" <g.stober@meditec.zeiss.com> schrieb/wrote:
> Which component I must include in my design to use the systemspeaker with > the function Beep()? > The function Beep() returned with error code 2 (ERROR_FILE_NOT_FOUND). I use Hardware: Devices: System Devices: System Speaker Software: System: System Services: Base: Beep Driver (visibility only 200!) |
|
|
|
#5 |
|
Guest
Posts: n/a
|
"Hans de Vetten [PTS Software]" <hans.de.vetten@no.pts.spam.nl>
schrieb/wrote: > There is a difference between the system speaker beep and Beep() in > for instance Visual Basic. The first can be generated by entering > Ctrl-G in a cmd box. The second uses the .wav file attached to the the > event 'default beep' (Control Panel-Sounds). .... if appropriate hardware to play WAV files is installed. If not, Win32- Beep() will still use the hardware beeper. |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Hi,
You need to add the Beep Driver, but by default the driver is not visible. So do the following steps: Step1) Target Designer->Tools->Options->Advanced->Minimum Visibility Choose an integer value in the range of 100 to 200 Every component in the database has a visibility level setting. You can use the component visibility setting in the advanced tab of the options feature to set a minimum visibility level, which keeps smaller or less significant components from cluttering up the component browser list. The component list in the component browser will display only the components which have a visibility level greater than or equal to the specified minimum visibility setting. It acts like a filter. Step2) Target Designer->Software-> System-> System Services-> Base-> Beep Driver Step3) Target Designer->Hardware-> Devices-> System Devices-> System Speaker We tested it before, we wrote an application with visual c++ using Beep function and it works. Also it is interested that in windows XP professional, if you want to enable or disable your PC: Go to Control Panel->System->Hardware->Device Manager->View->Show hidden devices after that you'll see a new line: Non-Plug and Play Drivers if you expand it, you'll see Beep. Cheers Amir Ahani Software Developer http://www.motionmetrics.com amir@motionmetrics.com "Heidi Linda eMVP" <hll@bts.co.uk> wrote in message news:uJw0qk8kDHA.1728@TK2MSFTNGP11.phx.gbl... > Beep driver? > > "Gert" <g.stober@meditec.zeiss.com> wrote in message > news:3f8e6320$0$274$4d4ebb8e@read.news.de.uu.net... > > Which component I must include in my design to use the systemspeaker with > > the function Beep()? > > The function Beep() returned with error code 2 (ERROR_FILE_NOT_FOUND). > > > > Thanks for help. > > > > Gert. > > > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

