Re: unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel

Tech-Archive recommends: Speed Up your PC by fixing your registry



VB6 is COM is VB6. I suggest you start with some elementary documentation on
VB6 to read up on what COM and VB6 are.

Mixer APIs will set Mixer properties and hence are local alterations. I said
use an MCI command.

"Jens Müller" <jens_0.no.-spam@xxxxxxxxxxx> wrote in message
news:%23wpOCCw8HHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
Mark Yudkin wrote:
Don't have Vista here, but since IAudioEndpointVolume is a COM
interface, can't you just set a reference to the object and code it
using normal VB6. Note Ixxx classes are actually interfaces - you'll
need an implemention.

I am a COM beginner, how is this done?

BTW, If all you want to do is change the system volume level, then
IAudioEndpointVolume is overkill. Just send an MCI command as you
would have done under previous Windows versions.

Are you sure?
With the method I use until now (MixerOpen...) in Vista it only changes
the volume level corresponding to my application, not the system wide
level.

Jens



.



Relevant Pages

  • Re: Question re Migration of VB6 App to .NET
    ... I've had the opportunity to advise folks on how to move VB6 to .Net in the ... Create an ENTIRELY NEW USER INTERFACE. ... business object layer was actually designed to be independent of the U/I ... Pick a relatively self-contained set of business objects. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Question re Migration of VB6 App to .NET
    ... I've had the opportunity to advise folks on how to move VB6 to .Net in the ... Create an ENTIRELY NEW USER INTERFACE. ... business object layer was actually designed to be independent of the U/I ... Pick a relatively self-contained set of business objects. ...
    (microsoft.public.dotnet.general)
  • Re: Question re Migration of VB6 App to .NET
    ... I've had the opportunity to advise folks on how to move VB6 to .Net in the ... Create an ENTIRELY NEW USER INTERFACE. ... business object layer was actually designed to be independent of the U/I ... Pick a relatively self-contained set of business objects. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: How to marshal code to the original thread
    ... I didn't spend time on the code you posted, I just included here a complete sample (CS and a VB6 code) to illustrate how I think you could implement your wrapper and to prove you can fire events from abitrary CLR threads to VB6 COM clients using connectionpoint interfaces. ... // pay attention to the class decoration, this is important for connectionpoint interface support. ... Private Sub myCowboy_Touched ... | Willy Denoyette wrote: ...
    (microsoft.public.dotnet.languages.csharp)
  • RegSvcs Error System.ArgumentOUtOfRangeException with VB6 interfac
    ... is implementing ComponentServices and an interface that is exposed by a VB6 ... Create a VB6 dll that has a publicly exposed interface. ... System.EnterpriseServices.RegistrationDriver.ConfigureCollection(ICatalogCollection coll, IConfigCallback cb) ...
    (microsoft.public.dotnet.framework.component_services)