Computing.Net > Forums > Programming > Beep in VB

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Beep in VB

Reply to Message Icon

Name: henry_joshua
Date: June 21, 2005 at 22:15:00 Pacific
OS: Win XP
CPU/Ram: P-4/128
Comment:

Dear Friends,
I have used the Beep Command in VB, but the System Speaker sounds very slow. I want a bigger beep like the one I get while booting. How do I do it. Pls Help

thanx

Joshua



Sponsored Link
Ads by Google

Response Number 1
Name: borelli35
Date: June 22, 2005 at 00:10:16 Pacific
Reply:

See what you get with this:

FOR i% = 1 TO 3
SOUND 700, 12
SLEEP 1
NEXT


John W. Borelli
IT Specialist
Hawkeye Security
borelli35


0

Response Number 2
Name: henry_joshua
Date: June 22, 2005 at 02:42:21 Pacific
Reply:

Dear Friend,
While I executed this code it gave an error in Sound statement that "Sub or Function Not Defined" . Pls Help

Thanx

Joshua


0

Response Number 3
Name: borelli35
Date: June 24, 2005 at 02:12:46 Pacific
Reply:

===============================================================
Strange, I pulled that snippet off of microsofts web site for purposes of speed. Possibly it applied to a different version. The only other notes I could find regarding beep is that it depends upon the computer that is being used (that the app is being run on) which is why I looked for something different.

This being the case, you may want to look into VBs sound card/MM extensions.

John W. Borelli
IT Specialist
Hawkeye Security
borelli35


0

Response Number 4
Name: ShikiBrun
Date: July 7, 2005 at 04:15:03 Pacific
Reply:

I think you need to declare the API function Beep, and then do:

FOR i% = 1 TO 3
Beep 700, 12
NEXT

Correct me if i'm wrong...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


visual basics passing variable to a cal...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Beep in VB

How to use Switch statement in vb www.computing.net/answers/programming/how-to-use-switch-statement-in-vb/6687.html

MoDem Programming IN VB www.computing.net/answers/programming/modem-programming-in-vb/7395.html

Banking System in VB www.computing.net/answers/programming/banking-system-in-vb/5564.html