Click here to Skip to main content
14,335,920 members
   

C#

 
GeneralRe: Excel's MOD in C#? Pin
BillWoodruff20-Aug-19 3:07
mveBillWoodruff20-Aug-19 3:07 
GeneralRe: Excel's MOD in C#? Pin
Richard Deeming20-Aug-19 3:23
mveRichard Deeming20-Aug-19 3:23 
GeneralRe: Excel's MOD in C#? Pin
BillWoodruff20-Aug-19 4:42
mveBillWoodruff20-Aug-19 4:42 
GeneralRe: Excel's MOD in C#? Pin
Richard Deeming20-Aug-19 5:27
mveRichard Deeming20-Aug-19 5:27 
Questionc# Pin
Member 1456180618-Aug-19 5:22
memberMember 1456180618-Aug-19 5:22 
AnswerRe: c# Pin
OriginalGriff18-Aug-19 6:35
protectorOriginalGriff18-Aug-19 6:35 
AnswerRe: c# Pin
#realJSOP21-Aug-19 1:38
mve#realJSOP21-Aug-19 1:38 
QuestionZKTeco merge 3 finger print C# with ZKFingerSDK Pin
Rikus Marais14-Aug-19 2:33
memberRikus Marais14-Aug-19 2:33 
I have been working on a small application to get fingerprints after 3 scanned. I used the ZKFingerSDK and when trying to get the register finger prints it brings the image back as black. I am using the ZK9500 device


This is what I tried:

if (RegisterCount >= REGISTER_FINGER_COUNT && !bIdentify)
{

                        RegisterCount = 0;
                        ret = GenerateRegisteredFingerPrint();   // <--- GENERATE FINGERPRINT TEMPLATE


                        if (zkfp.ZKFP_ERR_OK == ret)
                        {

                            ret = AddTemplateToMemory();        //  <--- LOAD TEMPLATE TO MEMORY
                            if (zkfp.ZKFP_ERR_OK == ret)         // <--- ENROLL SUCCESSFULL
                            {
                                string fingerPrintTemplate = string.Empty;
                                zkfp.Blob2Base64String(newRegTmp, cbCapTmp, ref fingerPrintTemplate);
                                newRegTmp =  zkfp.Base64String2Blob(fingerPrintTemplate);

                                Bitmap bmp2;
                                MemoryStream ms2 = new MemoryStream();

                                    BitmapFormat.GetBitmap(newRegTmp, mfpWidth, mfpHeight, ref ms2);
                                    bmp2 = new Bitmap(ms2);
                                    this.pictureBox1.Image = bmp2;


                                Console.WriteLine("finger print" + fingerPrintTemplate);
                                textRes.AppendText("merged " + fingerPrintTemplate + "\n");
                            }
                        }
                    }


private int GenerateRegisteredFingerPrint()
    {
        return fpInstance.GenerateRegTemplate(RegTmps[0], RegTmps[1], RegTmps[2], newRegTmp, ref cbRegTmp);
    }

    private int AddTemplateToMemory()
    {
        return fpInstance.AddRegTemplate(iFid, newRegTmp);
    }

AnswerRe: ZKTeco merge 3 finger print C# with ZKFingerSDK Pin
OriginalGriff14-Aug-19 4:08
protectorOriginalGriff14-Aug-19 4:08 
GeneralRe: ZKTeco merge 3 finger print C# with ZKFingerSDK Pin
Richard Deeming14-Aug-19 7:56
mveRichard Deeming14-Aug-19 7:56 
AnswerRe: ZKTeco merge 3 finger print C# with ZKFingerSDK Pin
Gerry Schmitz15-Aug-19 4:02
mveGerry Schmitz15-Aug-19 4:02 
GeneralRe: ZKTeco merge 3 finger print C# with ZKFingerSDK Pin
OriginalGriff15-Aug-19 4:12
protectorOriginalGriff15-Aug-19 4:12 
GeneralRe: ZKTeco merge 3 finger print C# with ZKFingerSDK Pin
Richard Deeming15-Aug-19 4:33
mveRichard Deeming15-Aug-19 4:33 
GeneralRe: ZKTeco merge 3 finger print C# with ZKFingerSDK Pin
Gerry Schmitz15-Aug-19 9:26
mveGerry Schmitz15-Aug-19 9:26 
QuestionHow i can convert perl scripts to exe file to use in c#? Pin
Member 1455624211-Aug-19 1:25
memberMember 1455624211-Aug-19 1:25 
AnswerRe: How i can convert perl scripts to exe file to use in c#? Pin
OriginalGriff11-Aug-19 1:28
protectorOriginalGriff11-Aug-19 1:28 
AnswerRe: How i can convert perl scripts to exe file to use in c#? Pin
Richard MacCutchan11-Aug-19 3:32
protectorRichard MacCutchan11-Aug-19 3:32 
QuestionCheck List Box en C# to select View Schedules in Revit from Visual Studio Pin
Member 145554449-Aug-19 9:44
memberMember 145554449-Aug-19 9:44 
QuestionParse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
arnold_w8-Aug-19 23:49
memberarnold_w8-Aug-19 23:49 
AnswerRe: Parse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
Eddy Vluggen9-Aug-19 0:19
mveEddy Vluggen9-Aug-19 0:19 
GeneralRe: Parse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
arnold_w9-Aug-19 0:43
memberarnold_w9-Aug-19 0:43 
AnswerRe: Parse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
OriginalGriff9-Aug-19 0:34
protectorOriginalGriff9-Aug-19 0:34 
GeneralRe: Parse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
arnold_w9-Aug-19 0:43
memberarnold_w9-Aug-19 0:43 
GeneralRe: Parse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
OriginalGriff9-Aug-19 0:49
protectorOriginalGriff9-Aug-19 0:49 
AnswerRe: Parse arithmetics in ONE string, e.g. "2 + 5 x 1024 - (32 x 512 - 16 x 14) + 256"? Pin
BillWoodruff17-Aug-19 20:01
mveBillWoodruff17-Aug-19 20:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.