Changing the volume of a .wav file in VB6

I am using this code to play a .wav file in VB6:
This worked for me...notice I'm using PlaySound()...not sndPlaySound()...

Option Explicit

Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long

Private Const SND_ASYNC = &H1
Private Const SND_NODEFAULT = &H2
Private Const SND_PURGE = &H40

Private Sub Command1_Click()
    PlayWav "C:\Documents and Settings\Michael\My Documents\007.wav"
End Sub

Private Sub Command2_Click()
End Sub

Private Sub PlayWav(ByVal fileName As String)
    PlaySound fileName, ByVal 0&, SND_ASYNC Or SND_NODEFAULT
End Sub

Private Sub StopWav()
    PlaySound vbNullString, ByVal 0&, SND_PURGE
End Sub

How do I go about being able to change the volume of the wav file as it's being played?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Naveen SwamyYash Infinite Solutions Private LimitedCommented:
you cannot change the volume for a single file but instead you could chnage it for the os or change the tempo or pitch of the wav file

you can further get some help from this link

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.