Link to home
Start Free TrialLog in
Avatar of Apples01
Apples01

asked on

Visual Basic and audio port (3.5 mm) assistance, please

I have speakers plugged in and recognized because audio is playing out of them on the 3.5 mm audio (headphone) port on my windows 10 pro tab.  However these speakers are not appearing in the playback tab of the "Sound" setting of the control panel nor are they found in either "Sound, video, and game controllers" or "Audio inputs and outputs" of the control panel.

What is found under:

Audio inputs and outputs:
Microphone (Intel SST Audio Device (WDM))
Speakers (Intel SST Audio Device (WDM))

Sound, video, and game controllers:
Intel SST Audio Device (WDM)
Realtek I2S Audio Codec

Playback tab of the Sound setting in the control panel:
Speakers Intel SST Audio Device (WDM)
Default Device

Also, none of these settings change when these speakers are plugged into this 3.5 mm audio (headphone) port.

What I would like to do is, using Visual Basic 6.0,  when a command button is clicked (cmdSound1_Click()), have a message (msgbox) that reads simply if there is a device installed in this  3.5 mm audio (headphone) port.  For example "Hardware found in audio port" or "No Hardware found in audio port, please be sure that the speakers are powered on before trying again."
ASKER CERTIFIED SOLUTION
Avatar of Davis McCarn
Davis McCarn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial