Announcement

Collapse
No announcement yet.

Not even a peep in Beep

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gösta H. Lovgren-2
    replied
    The Sweeet Sounds of XP

    http://www.powerbasic.com/support/pb...060#post296060

    =============================================
    "You can only find truth with logic
    if you have already found truth without it."
    Gilbert Keith Chesterton (1874-1936)
    =============================================

    Leave a comment:


  • Michael Mattias
    replied
    MessageBeep() always worked on my Dell XPS running Win/98. (XPS 400 series, ca. 1999)

    Leave a comment:


  • John Gleason
    replied
    >>Looks like PB's Beep is a wrapper for MessageBeep(-1)

    I can add that BEEP calls the USER32 MessageBeep and does so with beeptype 0 (%MB_OK).
    Last edited by John Gleason; 11 Sep 2008, 07:50 AM. Reason: added (%MB_OK)

    Leave a comment:


  • Peter Lameijn
    replied
    Maybe this will work. (Because "?" doesn't exist, default sound should play)
    Code:
    Sub PlayDefaultSound
      SndPlaySound  "?", ByVal 0
    End Sub

    Leave a comment:


  • Dave Biggs
    replied
    Did some poking around with dependance walker..
    Looks like PB's Beep is a wrapper for MessageBeep(-1)

    Code:
     
      WinBeep 800, 50   'KERNEL32.DLL - Beep()
      Beep              'USER32.DLL - MessageBeep() - default beep
      MessageBeep -1    'USER32.DLL - MessageBeep() - default beep

    Leave a comment:


  • Wayne Suite
    replied
    Dell XPS Machines

    There are problems with compatibility with the XPS Dell machines this is only 1 of the many issues. I have read about them recently with others having M$ compatibility problems but only with the XPS line of Dell Machines.

    Just Info I read ... I guess u could GOOOOOGLLLLLLEEEE IT!

    Leave a comment:


  • Cliff Nichols
    replied
    The problem is probably in my machine (Dell XPS 710) Beep produces nothng, neither does MessageBeep. WinBeep works fine though
    Well that answers my question before I asked it..(Whether or Not computers even had a "Mini-Speaker" that would beep boop to make a sound these days)

    Leave a comment:


  • Gösta H. Lovgren-2
    replied
    The problem is probably in my machine (Dell XPS 710) Beep produces nothng, neither does MessageBeep. WinBeep works fine though.

    Leave a comment:


  • Michael Mattias
    replied
    Code:
    MessageBeep  _ 
       %MB_OK|%MB_ICONASTERISK|%MB_ICONHAND|%MB_ICONEXCLAMATION|%MB_ICONQUESTION

    Leave a comment:


  • Gösta H. Lovgren-2
    replied
    Originally posted by Dave Biggs View Post
    PB uses Beep

    Did you check the setting for Default Beep in the Control Panel?
    Yes (just now). Default is set to "Ding.Wav", which exists (and plays).

    Your example plays OK on my machine - PBWIN 9.00 - WinApi 05/2008 - XP Pro SP2
    Not mine though.


    I like to use WinBeep (e.g. "WinBeep 800, 50") myself - though I believe it may be broken in Vista.
    I use it too. Just thought I'd try Beep just in case it might cause some consternation somewhere (and it did {grin}) I'll try your settings. Have to be better than mine (1000, 100).

    =============================================
    "Nothing is easier to defend than truth,
    yet nothing is more difficult to propagate!"
    Unknown
    =============================================

    Leave a comment:


  • Gösta H. Lovgren-2
    replied
    Originally posted by Michael Mattias View Post

    Who uses BEEP anymore?

    MS-DOS is dead. Deal with it.
    RTFM {insert appropriate cutesy here}

    ===========================================
    "It has become appallingly obvious
    our technology has exceeded our humanity."
    Albert Einstein (1879-1955)
    ===========================================

    Leave a comment:


  • Dave Biggs
    replied
    PB uses Beep
    Purpose Sound a tone through the computer's speaker.

    Syntax BEEP

    Remarks BEEP plays the default Windows waveform sound, typically a ¼ second tone, through either the built-in speaker; or a sound card if installed (in which case the Windows "Default Beep" sound is played). The Default Beep can be configured in the Sounds section of Control Panel.
    Did you check the setting for Default Beep in the Control Panel?
    Your example plays OK on my machine - PBWIN 9.00 - Win32Api 27 January 2005 - XP Pro SP2

    I like to use WinBeep (e.g. "WinBeep 800, 50") myself - though I believe it may be broken in Vista.
    Last edited by Dave Biggs; 10 Sep 2008, 10:17 AM. Reason: Correction - date of Win32API.inc released w/ PBWin90

    Leave a comment:


  • Michael Mattias
    replied

    Who uses BEEP anymore?

    MS-DOS is dead. Deal with it.

    Leave a comment:


  • Gösta H. Lovgren-2
    started a topic Not even a peep in Beep

    Not even a peep in Beep

    '
    Code:
    'PBWIN 9.00 - WinApi 05/2008 - XP Pro SP3
    #Compile Exe  
    #Include "WIN32API.INC"
    #Include "COMDLG32.INC"
     
     
    Function PBMain
       Beep
    End Function
    '
Working...
X