Playing Sound in VB

codingmasters
30 Oct 2003, 19:22
How do you play sound in VB

Because my connection times out every half hour or so, I want to make a program that starts a timer, then plays a bell sound after 25 minutes so that I can refresh my connection, or I have to wait about 5 minutes for it to disconnect and reconnect.

Does anyone no how to play sound in VB?

Matthew G.

kewldude606
02 Nov 2003, 02:50
Simple sound:
Call Beep()

codingmasters
02 Nov 2003, 04:08
I know that method, buthow about if I want to play music files, like for example SavageGarden songs. How do i do that?

Matthew G.

paul_one
02 Nov 2003, 18:17
For a start how about:
NOT ASKING US!!!

Secondly how about you look up some VB tutorials on the net? Quite simple, quite free, quite good.

codingmasters
02 Nov 2003, 20:37
I got a CD yesterday afternoon which has 2300 code samples on it. It had something on sound in VB, so I know now.

paul_one
03 Nov 2003, 02:17
Good for you.

codingmasters
03 Nov 2003, 08:15
Well actually...If you ask nicely then perhaps if you want some code I can look through the CD for the thing you want.

Matthew G.

paul_one
03 Nov 2003, 22:11
Not likely I'll need any.

codingmasters
03 Nov 2003, 22:17
I didn't mean for just you CW
Matthew G.

paul_one
03 Nov 2003, 22:26
Does that stop me replying that I probably won't need any?

Oh, also you may want to give a range of what you have on those CD's. Like what range of topics and stuff do they cover - etc.

codingmasters
03 Nov 2003, 22:27
OK, but I don't have the time to right now

Matthew G.

paul_one
03 Nov 2003, 22:34
Fine. Then do it later.

codingmasters
04 Nov 2003, 00:32
Here's the list:
Games Registry
Database Internet
Active Server Pages
API Calls String Handling
ActiveX Mathematical
Graphics Controls
MS Controls File Minipulation
Forms Music/Sound
Video/Movies
Windows Operations
OCX Security Code
Other Code

Matthew G.[/list]

paul_one
04 Nov 2003, 01:31
Games registry?
What is that - some kind of difference to a normal registry or what?

codingmasters
06 Nov 2003, 06:55
no, i've separated the two catagories into columns. That's obvious

Matthew G.

paul_one
06 Nov 2003, 15:39
Obvious?
There's only a space in between games and registry - how is that obvious?

If that is obvious then what are "other" and "code" catagories about?
Maybe you should put them in [code] [/code] tags to preserve the tabs?