Click here to Skip to main content
14,699,759 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,
I recently bought secugen HU20 fingerprint scanner for my project.
I am having a real hard time to save fingerprint template generated to my SQL database, as IDK how to do that, neither does the programming guide tell anything about that. 
[one guy told me to save the fingerprint template but never told me how to do that.]
I need help on this matter please.
Thanks in anticipation!

P.S. I AM IN DEEP TROUBLE PLEASE HELP ME!!!! Please help me....

What I have tried:

Tried using different variables given in programming guide. Nothing worked.
Updated 28-Jun-19 3:49am
lmoelleb 27-Jun-19 7:22am
Don't think of it as one problem. Solve two sub problems: 1) How do I get a fingerprint template from the device, 2) How do I store data in the SQL database. As soon as you combine the two (rather unrelated tasks) it becomes harder to google for solutions.
Member 12909277 27-Jun-19 13:39pm
Thanks for the reply man, did the same nothing helped. I need the help with code.
Developing in C# and SQL
It's a student project and I am in deep trouble.
lmoelleb 27-Jun-19 14:26pm
Yes, you are in trouble. Few people use an SDK for hardware like that, and as only a small percentage of developers answer questions on forums like this, specifically when the question is "I know nothing, tell me everything", I do not think you should put your hopes too high. For SQL, the main problem for you would be to choose between the few million tutorials you find by googling for C# and the name of your database. If you try to follow one of those tutorials and run into a specific problem you can easily get help here, but don't expect any help if you can't even say which tutorials you have been trying.

1 solution

"It's a student project"
. . . then your first port of call should be your tutor, he/she needs to know that you are struggling and is in the best position to help you.
"I am in deep trouble"
. . . the worst that can happen is that you will fail this unit. Whilst that might seem devastating at this point in your life, it may guide you taking up a subject that you are more interested in and therefore prepared to devote more of your time to.

Secugen are very keen to help you - try requesting some of their free software to help you get started - Request Free Software – SecuGen[^]

Alternatively if you downloaded the SDK from the official site Software Developer Kits – SecuGen[^] it will have come with some sample code in VB.NET (and other languages). There are several free conversion tools on-line e.g. Code Converter C# to VB and VB to C# – Telerik[^], Convert VB.NET to/from C# online - Roslyn Code Converter[^], Convert VB.NET to C# - A free code conversion tool - developer Fusion[^] although you will probably need to do some "tidying up" if you use a conversion tool. Hint: Don't just dump the entire code into there.

The advice and comment from @lmoelleb is very appropriate and you should take note of it.

Having captured your data you then need to save it in your SQL database. You haven't told us what the problem is with doing that so we cannot be specific. However, you might find this CodeProject article useful Beginners guide to accessing SQL Server through C#[^]

There is even a Code Project article all about using Biometric devices - not exactly the same as yours but the principles remain the same C# ZKTeco Biometric Device Getting Started[^]

Always Read The Documentation! Not just for your scanner, but in all things... even the Posting Guidelines for this forum (which you have not followed).

My final piece of advice, put a little effort into making people want to help you. For example:
- DON'T SHOUT! Using all capitals is considered shouting on internet forums - in other words very rude.
- Using all lower case makes you look childish or lazy and makes me think "why should I bother".
- Using text-speak also makes you look lazy and makes it harder for non-native English speakers to understand what you mean. IDK.

If you are still having problems once you have written some code then by all means come back with that code and a specific question and we will do our best to help you. In the meantime it's over to you.

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