TwoWing
Well-known member
Hello. I got a short program today in using the following code at the top:-
In Private Subs the following code is used to produce a sound:
Obviously the '261' has different values!
I have searched the sound system of my computer.
The sound produced is not very high - is there a way to amplify it?
Thank You.
VB.NET:
Imports System.Runtime.InteropServices
Public Class frmKeyboard
<DllImport("KERNEL32.DLL")> _
Public Shared Sub Beep(ByVal freq As Integer, ByVal dur As Integer)
End Sub
In Private Subs the following code is used to produce a sound:
VB.NET:
Beep(261,150)
I have searched the sound system of my computer.
The sound produced is not very high - is there a way to amplify it?
Thank You.