+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Beep Program.

  1. #1
    Join Date
    Nov 2008
    Location
    Kosovo.
    Posts
    2,391
    Rep Power
    30

    Lightbulb Beep Program.

    BEEP Program

    Hello CodeCall ..

    Today i'm gonna show you a very Easy tutorial but interesting..

    We need 4 Buttons and a Timer ..

    Add like this ..


    Add the timer and the interval for that make 1500 or 2000 .

    The First Button Rename with BEEP
    If You type This Button it will BEEP only one time ..
    and the Code for it is ..
    Code:
        Console.Beep()
    The Second Button Rename with START
    If you type this button it will BEEP every Second ..
    Code is ..
    Code:
        Timer1.Start()
    The Third Button Rename With STOP
    If you type it it will stop the Beeping sound that you'll hear .
    Code ..
    Code:
        Timer1.Stop()
    The Fourth Button Rename with QUIT
    IT will quit the program
    Code
    Code:
    End

    Finally will look like this




    Thanks , Mendim.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Beep Program.

    Very cool, I wonder if you could make a "beep" song with this. Any idea how console.beep() works? Also, don't you have the code wrong for the exit button (shouldn't it be me.exit)?

  4. #3
    Join Date
    Jul 2006
    Posts
    16,486
    Blog Entries
    75
    Rep Power
    143

    Re: Beep Program.

    Doesn't there have to be some code to make the timer call console.beep()?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  5. #4
    Join Date
    Nov 2008
    Location
    Kosovo.
    Posts
    2,391
    Rep Power
    30

    Re: Beep Program.

    Quote Originally Posted by Jordan View Post
    Very cool, I wonder if you could make a "beep" song with this. Any idea how console.beep() works? Also, don't you have the code wrong for the exit button (shouldn't it be me.exit)?
    Maybe it activates any hardware in your PC that makes a BEEPING Sound ..

    It's the same end like me.exit
    have the same function..

  6. #5
    Join Date
    Oct 2008
    Location
    Istog, Kosova
    Posts
    4,001
    Blog Entries
    1
    Rep Power
    40

    Re: Beep Program.

    +rep
    Interested in participating in community events?
    Want to harness your programming skill and turn it into absolute prowess?
    Come join our programming events!

  7. #6
    Join Date
    Nov 2008
    Location
    Kosovo.
    Posts
    2,391
    Rep Power
    30

    Re: Beep Program.

    Thanks , Broo .

  8. #7
    Join Date
    Mar 2008
    Posts
    7,145
    Rep Power
    86

    Re: Beep Program.

    What's the point of the timer? It doesn't do anything.

    Didn't you mean to include:

    Code:
    Private Sub Timer1_Timer()
    Beep
    End Sub
    ?

  9. #8
    Join Date
    Nov 2008
    Location
    Kosovo.
    Posts
    2,391
    Rep Power
    30

    Re: Beep Program.

    Did u read the whole TEXT ??
    the timer should be
    Code:
    Add the timer and the interval for that make 1500 or 2000 .

  10. #9
    Join Date
    Mar 2008
    Posts
    7,145
    Rep Power
    86

    Re: Beep Program.

    Yes I did but setting the interval doesn't do anything. You probably what a timer event in your vb.net program that calls console.beep every once and awhile?

  11. #10
    Join Date
    Nov 2008
    Location
    Kosovo.
    Posts
    2,391
    Rep Power
    30

    Re: Beep Program.

    Okay ..!
    did it work for you ?

+ Reply to Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. if image appears in browser, then computer goes beep
    By formypas in forum Request Services
    Replies: 0
    Last Post: 07-28-2011, 11:35 AM
  2. Program for search terms within a program
    By 817moose in forum General Programming
    Replies: 4
    Last Post: 11-03-2010, 01:07 PM
  3. Replies: 9
    Last Post: 03-14-2010, 08:44 PM
  4. PC Beep Error on Startup
    By xXHalfSliceXx in forum Computer Hardware
    Replies: 2
    Last Post: 08-10-2009, 02:28 AM
  5. Motherboard Beep Song
    By jonow in forum C and C++
    Replies: 27
    Last Post: 12-02-2008, 09:52 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts