battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.

battle programming a forum for elite programmers with extreme will power to sharpen their skills
HomeGallerySearchRegisterLog in special beep

Go down 

Posts : 293
Join date : 2012-04-17 special beep Empty
PostSubject: special beep special beep EmptySat Feb 11, 2017 1:24 am

Public Class Form1
Private Declare Function Beep Lib "kernel32" (ByVal soundFrequency As Int32, ByVal soundDuration As Int32) As Int32
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Beep(532, 300) 'frequancy,duration in miliSec
End Sub
End Class

windows form app, tools add button

Back to top Go down special beep
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: