Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Please Help As Soon As Possible


7soccerbo7
 Share

Recommended Posts

I am using vb 2005 Express and I am trying to use sound in my program.  This is what i have.

```
    Private _click As Media.SoundPlayer = New Media.SoundPlayer("Sounds\side.wav")

```and then to play the sound
```
            _click.Load()
            _click.Play()
```
it pops up saying that the file is not there but it is.
PLEASE HELP!
:O :sad:
Link to comment
Share on other sites

but it worked with one of my other games that i made in vb 2005 and the sound works if i were to put the entire path.

Example:
Private _click As Media.SoundPlayer = New Media.SoundPlayer("C:\sounds\side.wav")
:sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad: :sad:
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...