battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeSearchRegisterLog in
Share
 

 vb.net special beep

Go down 
AuthorMessage
kurosen
codding
codding
kurosen

Posts : 105
Join date : 2012-04-17

vb.net special beep Empty
PostSubject: vb.net special beep   vb.net 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

gigidi
Back to top Go down
 
vb.net 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: