Results 1 to 7 of 7

Thread: [RESOLVED] How to find all installed webcams and microphones?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    Resolved [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!

  2. #2
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    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

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    Re: How to find all installed webcams and microphones?

    Quote Originally Posted by SamOscarBrown View Post
    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).

    Quote Originally Posted by SamOscarBrown View Post
    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
    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.

  4. #4
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    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?)

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    Re: How to find all installed webcams and microphones?

    Quote Originally Posted by SamOscarBrown View Post
    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?)
    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.

  6. #6
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    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

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    May 2007
    Posts
    278

    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
  •  



Click Here to Expand Forum to Full Width