Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Controlling soundcard VB6


Controlling soundcard VB6

Author
Message
Kiter
Kiter
Forum God
Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)

Group: Forum Members
Posts: 132, Visits: 231
Where can I find more information about controlling soundcard (Windows 7)?
Keithuk
Keithuk
Forum God
Forum God (155K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Controlling it in what way, volume, midi output, microphone or something else? Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Kiter
Kiter
Forum God
Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)

Group: Forum Members
Posts: 132, Visits: 231
Hi Keith,

it's for controlling the wave / mic / total volume sliders and the mute function for each control.

For now, I still use VB6, but I'm thinking of upgrading to .NET (not sure yet)
So if you could also provide me with information for .NET also, it would be great.

Kiter

CDRIVE
CDRIVE
Forum God
Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)

Group: Forum Members
Posts: 548, Visits: 2.6K
Well I used SpyXX to see what it would return for the Windows Sound Control Panels. Judging by my returns I would think that one method might be to use the SendMessage API.

________________________________________________________________ 

"So much to learn. So little time to do it. Wise men know it's later than one thinks"!

Mark's Syntax.Zip    Pause Sub

I don't answer programming questions via PMs. That's what the forum is for! 

vb5prgrmr
vb5prgrmr
Forum God
Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)Forum God (20K reputation)

Group: Forum Members
Posts: 167, Visits: 786
Go over to thescarms.com and have a look at their vb6 sample programs. One of them is for controlling the master volume...

Good Luck

CDRIVE
CDRIVE
Forum God
Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)

Group: Forum Members
Posts: 548, Visits: 2.6K
I think this is what you want.

http://www.devx.com/vb2themax/Tip/19040

________________________________________________________________ 

"So much to learn. So little time to do it. Wise men know it's later than one thinks"!

Mark's Syntax.Zip    Pause Sub

I don't answer programming questions via PMs. That's what the forum is for! 

Kiter
Kiter
Forum God
Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)Forum God (10K reputation)

Group: Forum Members
Posts: 132, Visits: 231
Sorry for my late response, but had soms other urgent projects to make.

I tried you link, but it's not controlling the Master (system) volume. I've been looking on the web, but so far all the examples I tested, they only control the vb6 app volume.

In the attachement you will see which slider I want to control within Windows 7

Hope someone can help me with this.

Attachments
mixer master slider.jpg (1.3K views, 52.00 KB)
CDRIVE
CDRIVE
Forum God
Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)

Group: Forum Members
Posts: 548, Visits: 2.6K
The jpg image of your windows sound control panel must be unique to W7 because I've never seen a control for my VB Project in W98 or XP. The link I posted should be controlling the Master volume but I know little of W7.

________________________________________________________________ 

"So much to learn. So little time to do it. Wise men know it's later than one thinks"!

Mark's Syntax.Zip    Pause Sub

I don't answer programming questions via PMs. That's what the forum is for! 

Keithuk
Keithuk
Forum God
Forum God (155K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Thats the same Volume Mixer on my Vista, I don't know how he's showing Project1 Visual Basic unless the shows when he's running his app? Wink

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

CDRIVE
CDRIVE
Forum God
Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)Forum God (52K reputation)

Group: Forum Members
Posts: 548, Visits: 2.6K
Keithuk (3/24/2011)
Thats the same Volume Mixer on my Vista, I don't know how he's showing Project1 Visual Basic unless the shows when he's running his app? Wink

Yeah Keith, that's weird. I can't imagine how a new (VB Project) slider could or would be created by VB or Windows. The API is just supposed to access the existing Windows Audio controls.

________________________________________________________________ 

"So much to learn. So little time to do it. Wise men know it's later than one thinks"!

Mark's Syntax.Zip    Pause Sub

I don't answer programming questions via PMs. That's what the forum is for! 

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search