|
-
Jan 8th, 2015, 10:51 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] How to find all installed webcams and microphones?
I'm searching for a VB6 code which could detect all installed webcams and microphones but I have found nothing. So I'm asking for a help maybe someone already done that before and could share the source code or at least show where to find it? Or maybe there is any third party components for this purpose which could be used in VB6 app?
Thank you in advance for any help you can provide!
-
Jan 8th, 2015, 10:55 AM
#2
Re: How to find all installed webcams and microphones?
What did you Bing or Google
This popped up immediately at Google: (search "VB6 find webcam") I am certain you can do similarly for mikes.
http://stackoverflow.com/questions/1...cted-to-the-pc
-
Jan 8th, 2015, 12:31 PM
#3
Thread Starter
Hyperactive Member
Re: How to find all installed webcams and microphones?
 Originally Posted by SamOscarBrown
What did you Bing or Google
I have used Google also searched in VBForums and Planet Source Code and found nothing (or at least didn't noticed).
 Originally Posted by SamOscarBrown
This code just returns 0 if there is no webcam connected and 1 if webcam is connected but the problem is that I need names of all connected webcams and microphones.
-
Jan 8th, 2015, 01:00 PM
#4
Re: How to find all installed webcams and microphones?
Googled and found this: http://www.emgu.com/forum/viewtopic.php?f=7&t=3095 APPEARS to provide webcam names which are placed into a combobox. (C? VB?)
-
Jan 8th, 2015, 02:36 PM
#5
Thread Starter
Hyperactive Member
Re: How to find all installed webcams and microphones?
 Originally Posted by SamOscarBrown
If I'm not wrong then it is for .NET not for VB6. 
Official DirectShowNET library's web page says:
The purpose of this library is to allow access to Microsoft's DirectShow functionality from within .NET applications. This library supports both Visual Basic .NET and C#, and theoretically, should work with any .NET language.
http://directshownet.sourceforge.net/about.html
Last edited by Lauriux1; Jan 8th, 2015 at 02:55 PM.
-
Jan 8th, 2015, 02:56 PM
#6
Re: How to find all installed webcams and microphones?
dilettante (one of the better programmers on this site) posted what seems to be a great example for multiple webcams, capturing their names for selection in menus.
Written in VB6, it may be JUST the thing you are looking for so you can see how to also capture the names of the webcams. As I don't have a webcam on this computer, there is none listed when I run it, but PROBABLY it will work for you just fine: ( I donwloaded mini2, but he has improvements to it)
http://www.vbforums.com/showthread.p...m-Minimal-Code
-
Jan 12th, 2015, 01:18 PM
#7
Thread Starter
Hyperactive Member
Re: How to find all installed webcams and microphones?
Thank you SamOscarBrown, I saw that thread before but didn't paid much attention to the lower comments.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|