Click here to Skip to main content
15,886,639 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
txtMachNum = 1

        Dim dwEnrollNumber As String, dwEnrollNumber1 As Long
    Dim dwVerifyMode As Long
    Dim dwInOutMode As Long
    Dim dwYear As Long, dwYear1 As String
    Dim dwMonth As Long
    Dim dwDay As Long
    Dim dwHour As Long
    Dim dwMinute As Long, dwWorkcode As Long
    Dim dwSecond As Long
    Dim timeStr As String, time1 As String, time2 As String
    Dim sf As String
    Dim rstData As Recordset
    Dim rstControl As Recordset
    Dim x As Variant, c As Integer

Set rstData = CurrentDb.OpenRecordset("select * from [CHECKINOUT]")
Set rstControl = CurrentDb.OpenRecordset("select * from [ControlRecord]")
x = CZKEM1.EnableDevice(1, False) 'disable the device
    
If CZKEM1.ReadGeneralLogData(CInt(1)) Then
        ProgressBar0.Max = HCount
        c = 0
        ProgressBar0.Value = c
        x = SysCmd(acSysCmdInitMeter, "ÌÇÑí ÇáÊÍãíá", HCount)


What I have tried:

i tried to turn off firewall and disable antivirus included on window10
but this code is not working on windows10 but this code work well on windows70
Posted
Updated 4-Nov-22 19:29pm

1 solution

This is the same question you posted 3 days ago: How to solve problem of import attendance data from zkt40 on windows10[^] only with code we can't even use this time.

The answer hasn't changed since then: talk to the author / manufacturer - they are the only ones who can help you as you need the device itself to work out what is going wrong.
 
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