PC Review Forums Newsgroups Windows XP Windows XP Embedded Systemspeaker

Reply

Systemspeaker

 
Thread Tools Rate Thread
Old 16-10-2003, 10:21 AM   #1
Gert
Guest
 
Posts: n/a
Default Systemspeaker


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.



  Reply With Quote
Old 16-10-2003, 10:32 AM   #2
Heidi Linda eMVP
Guest
 
Posts: n/a
Default Re: Systemspeaker

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.
>
>
>



  Reply With Quote
Old 16-10-2003, 01:35 PM   #3
Hans de Vetten [PTS Software]
Guest
 
Posts: n/a
Default Re: Systemspeaker

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.
>
>
>



  Reply With Quote
Old 16-10-2003, 04:24 PM   #4
Eberhard Schefold
Guest
 
Posts: n/a
Default Re: Systemspeaker

"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!)
  Reply With Quote
Old 16-10-2003, 04:26 PM   #5
Eberhard Schefold
Guest
 
Posts: n/a
Default Re: Systemspeaker

"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.
  Reply With Quote
Old 17-10-2003, 01:13 AM   #6
Amir Ahani
Guest
 
Posts: n/a
Default Re: Systemspeaker

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.
> >
> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off