Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have built an application that will capture and upload images taken from a tablet webcam to a database, the app works on tablets that only have one webcam but refuses to load the driver from tablets that have dual webcams. The code I'm using is straight from another code project solution, [WhatplusisplususingplusWinFormCharpWebCam-b]

Does anybody know if there is a fix for tablets sporting dual webcams?

Thanks a bunch
Posted
Updated 18-Aug-14 3:39am
v2

1 solution

use Silverlight 4 and attach the database using
C#
using (var connection = new ComToolkit.Data.AdoConnection(connectionString))
{
    connection.Open();
    var command = connection.CreateCommand();
    command.CommandText = "SELECT MyColumn FROM MyTable";
    var reader = command.ExecuteReader();
    while (reader.Read())
    {
        object byindex = reader[0];
        object bystring = reader["MyColumn"];
        //to use dynamic properties reader must be declared as dynamic.
        //object bydynamic = reader.MyColumn;
    }
 }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900