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."
Apples01Asked:
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.

Davis McCarnOwnerCommented:
In almost every laptop or tablet, the headphone/speaker jack is a make before break switch meaning that it physically disconnects any internal speakers before it starts playing out through the jack.  As such they are the same hardware and no detection is even attempted.
This is not true of desktop PCs which, with the advent of "high definition" audio, the hardware can sense the change in impedance and gives the user the option to choose what device was plugged in or a control applet which allows for changes.
I'm sorry; but there just isn't any hardware in most tablets to detect the use of the speaker/headphone jack.

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.