在comboBox中显示USB设备 [英] Display USB devices in a comboBox

查看:116
本文介绍了在comboBox中显示USB设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在comboBox中检测并显示插入PC的所有USB设备?

我需要选择通过USB插入的默认音频输入设备,并使用该设备记录来自其中的音频..

使用MCI,只能使用麦克风而不是电话录音设备进行录音.

How would you detect and display all USB devices plugged into your PC in a comboBox?

I need to select a default audio input device plugged in via USB and use this device to record the audio from it..

Using MCI and can only get it to record with the microphone not the telephone recording device

推荐答案

hi,

我认为,您必须使用WMI.


看这个:

http://www.codeproject.com/KB/system/usbeject.aspx [ ^ ]

http://codelog.blogial.com/2009/06/25 /wmi-windows-management-instrumentation-in-c/ [


I think, you must use WMI.


See This :

http://www.codeproject.com/KB/system/usbeject.aspx[^]

http://codelog.blogial.com/2009/06/25/wmi-windows-management-instrumentation-in-c/[^]


jerem


这篇关于在comboBox中显示USB设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆