What's new

How to make a sound in VB

X

xKNiiVES

Enthusiast
Messages
590
Reaction score
88
Points
95
Add a button, checkbox, anything you want. Now double click your button, checkbox, etc, and add
Code:
Beep()

This is good for things like PC games if your making a trainer.
 
Ibdc

Ibdc

VIP
VIP
Retired
Forum Addict MotM
Messages
4,969
Reaction score
2,193
Points
625
Re: How to make a soun in VB

Or you can use Console.Beep() and you'll be able to control the frequency and the duration of the beep. Console.Beep(1000,3000) would be an example of how to make it annoying. (first number is frequency, second is duration in milliseconds)
 
Top Bottom
Login
Register