₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,417 members, 8,421,830 topics. Date: Sunday, 07 June 2026 at 06:59 AM

Toggle theme

Ewom1028's Posts

Nairaland ForumEwom1028's ProfileEwom1028's Posts

1 (of 1 pages)

ProgrammingRe: Capture Image From Webcam And Store In Mysql Database From C Sharp Winform by ewom1028(op): 9:52pm On Jun 09, 2012
Aiight...will do that
ProgrammingRe: Capture Image From Webcam And Store In Mysql Database From C Sharp Winform by ewom1028(op): 4:49pm On Jun 08, 2012
It is WIA compatible..cos another project i tried shows the device in a common dialog box.
And btw...when it was being converted....visual studio asked if i wanted to change the framework to 4.0
and i said yes.
Will try that though.
It will run on windows xp sp2/sp3.
ProgrammingRe: Capture Image From Webcam And Store In Mysql Database From C Sharp Winform by ewom1028(op): 3:09pm On Jun 08, 2012
Well,when i ran the source in VS2010, it notified me that the code was targeting an older framework....NET 2.0...while i have 4.0
installed on my system.

The first issue is the code that searches for attached webcams.It always reports no video found even when
i have a webcam attached.This is the method that checks for webcams:
private bool CreateCamera()
{
bool done = false;
CollectionClass wiaDevs = null;
DeviceInfoClass devInfo = null;

try {
wiaManager = new WiaClass();

object foundID = null;
int foundCount = 0;
wiaDevs = wiaManager.Devices as CollectionClass; // call Wia.Devices to get all devices
if( wiaDevs != null )
{
foreach( object wiaObj in wiaDevs )
{
devInfo = (DeviceInfoClass) Marshal.CreateWrapperOfType( wiaObj, typeof(DeviceInfoClass) );
Marshal.ReleaseComObject( wiaObj );
if( devInfo.Type.IndexOf( "Video" ) > 0 )
{
foundID = devInfo.Id;
foundCount++;
}
Marshal.ReleaseComObject( devInfo ); devInfo = null;
}
}
if( foundCount < 1 )
{
MessageBox.Show( this, "no WIA video devices found!", "WIA", MessageBoxButtons.OK, MessageBoxIcon.Stop );
return false;
}

if( foundCount > 1 )
foundID = System.Reflection.Missing.Value;
wiaCamera = (ItemClass) wiaManager.Create( ref foundID ); // ask user if more then one video device
done = wiaCamera != null;
return done;
}
catch( Exception ) {
MessageBox.Show( this, "Create WIA camera failed", "WIA", MessageBoxButtons.OK, MessageBoxIcon.Stop );
return false;
}
finally {
if( devInfo != null )
Marshal.ReleaseComObject( devInfo );
if( wiaDevs != null )
Marshal.ReleaseComObject( wiaDevs );
if( ! done )
{
if( wiaCamera != null )
Marshal.ReleaseComObject( wiaCamera ); wiaCamera = null;
if( wiaManager != null )
Marshal.ReleaseComObject( wiaManager ); wiaManager = null;
}
}
}
ProgrammingRe: Html Before Php??advice by ewom1028(m): 2:47pm On Jun 08, 2012
OCA comprises of two modules:
1)Introduction To SQL...dealing with basic select statements,and stuff...which i wont mention here.
2)Database Administration Fundamentals I(Dealing with stuff like creating users and database objects etc).
In my own opinion, you can learn SQL on your own by reading materials and practicing on your laptop with an oracle database.(That's what i did).
But for Admin Fundamentals...you can also read on your own...then get someone to take you on the topics you do not understand for maybe one or two weeks.
(That's what i did too). When this is done.You are ready for the exams.
My advice is to write the SQL exams b4 u start the Fundamentals I materials.
ProgrammingRe: Where Do I Start From? by ewom1028(m): 2:38pm On Jun 08, 2012
My advice is similar to one already given.Start with html.Then learn how to use CSS.
After that move on to javascript. From there PHP.
With these under your belt,you can dive into either java/c#.
ProgrammingCapture Image From Webcam And Store In Mysql Database From C Sharp Winform by ewom1028(op): 2:33pm On Jun 08, 2012
Hi all,i need help on a project i am working on that will need to capture an image from a webcam on "button click"
and store it in a MySQL database(along with other data) when the save/submit button is clicked.
The examples i got from the internet were all developed using visual studio 2005 and do not seem to work
(For whatever reason even after converting to .NET framework 4.0 using VS2010).
I am willing to show my code snippets to anyone that is willing to help.
Thanks.
Certification And Training AdvertsRe: Oracle Application Developer Training by ewom1028(m): 6:40pm On Aug 06, 2009
Hi,i am not based in Lagos, but i am interested, whats ur number or email, so i can get in touch?
Tech JobsA Shout Out To Mr.barrykayus by ewom1028(op): 4:16pm On Aug 04, 2009
Hi MR.Barrykayus, i really would like to get in touch with you regarding materials for oracle 11g. Pls reply so we can converse via email, thanks
ComputersRe: Oracle DBA Corner by ewom1028(m): 5:02pm On Jul 26, 2009
Hi guys,pls i am interested in the following software, Oracle 10g developer suite( for windows and linux), and also documentation on installation, finally i would love to discuss with application developers that use pl/sql, thanx
ComputersRe: Oracle DBA Corner by ewom1028(m): 4:25pm On Jul 26, 2009
Hi guys,pls i am interested in getting the following software: Oracle 10g developer suite on windows and Linux, i got a copy but it wont progress past the first screen, can any1 hep me out? also , i will love to discuss with any1 who develops applications for oracle databases using pl/sql

1 (of 1 pages)