Beep

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

  • Beep

    Guys, I am sure this has been covered before. I think I even posted in the thread but I can't find it now.

    I want to insert a comand into my program which will cause my computer to beep just before a comment window pops up. Any standard windows beep is acceptable. Anyone know a quick and dirty way to do this?

  • #2
    I believe it starts something like this. Insert --> Report Command --> External Object
    sigpic
    Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
    PCDMIS 2012
    Windows Office XP

    Comment


    • #3
      Then you want to select the "Create from File" button and select the beep sound from the file you wish to play...
      sigpic
      Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
      PCDMIS 2012
      Windows Office XP

      Comment


      • #4
        search your puter for .wav files and you will find a bunch of different beeps you can use.

        Comment


        • #5
          Thanks

          Any idea for the path where the stock windows beep sounds are stored?

          Nevermind - Thanks \v/inston!

          Comment


          • #6
            Originally posted by Goodluck View Post
            Thanks

            Any idea for the path where the stock windows beep sounds are stored?

            Nevermind - Thanks \v/inston!
            Are you running Windows 2000 or XP ?
            sigpic
            Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
            PCDMIS 2012
            Windows Office XP

            Comment


            • #7
              In Windows XP the location is: C:\WINDOWS\Media
              sigpic
              Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
              PCDMIS 2012
              Windows Office XP

              Comment


              • #8
                It isn't working. It doesn't play.

                Comment


                • #9
                  Duh, unmute the speaker.

                  It plays now but I have to click continue to get the pc-dmis program to continue on and pop up the comment.

                  Is there a way to do this and get it to continue on with the program without operator input? I seem to remember someone suggesting a batch file previously.

                  Comment


                  • #10
                    Use VB to beep.

                    Save this as a *.bas and call it with the insert script

                    Code:
                    Sub Main()
                    Beep
                    End Sub
                    <internet bumper sticker goes here>

                    Comment


                    • #11
                      Craig,
                      I followed your example. When it comes to that line it gives me a security warning about being from an unknown author. It does it every time. How can I get rid of this? Then, if I click run it tries to run it in windows media player and I get an error that windows media player can't play that format (.wav). Any suggestions?

                      Comment


                      • #12
                        Is that your anti-virus program that is giving you the security warning?
                        Links to my utilities for PCDMIS

                        Comment


                        • #13
                          I don't understand what the deal is with the windows media thing being involved. How do you insert this? You are not coding that code in PCDMIS are you? This is how your PCDMIS code should look:

                          Code:
                          CS1        =SCRIPT/FILENAME= C:\MAKEASTUPIDBEEPYNOISE.BAS
                                      FUNCTION/Main,SHOW=YES,,
                                      STARTSCRIPT/
                                      ENDSCRIPT/
                          Obviously the file and path name will vary.

                          Craig
                          <internet bumper sticker goes here>

                          Comment


                          • #14
                            I think it has to do with XP. I have 2000 and it NEVER pops up WMP for wav files in the program.
                            sigpic
                            Originally posted by AndersI
                            I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                            Comment


                            • #15
                              I just ran it on XP with Excel and it beeped just fine. I don't understand the WMP part. It should just beep. He must have something that pervents script calls like spyware or antivirus. I'd certainly think it is a setting that can be changed if that is the case.

                              Craig
                              <internet bumper sticker goes here>

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X