标题:【小白】如何用VB和二代身份证读卡器开发一个读取身份信息的程序?
只看楼主
huszi
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2016-1-9
结帖率:0
已结贴  问题点数:20 回复次数:2 
【小白】如何用VB和二代身份证读卡器开发一个读取身份信息的程序?
USB式的身份证读卡器,链接之后如何用VB读出身份证信息。
搜索更多相关主题的帖子: 身份证 读卡器 开发 如何 
2016-01-09 22:28
xiangyue0510
Rank: 14Rank: 14Rank: 14Rank: 14
等 级:贵宾
威 望:86
帖 子:934
专家分:5244
注 册:2015-8-10
得分:20 
这个好像硬件上的问题更大一点
2016-01-10 17:55
sorry5821
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2016-3-18
得分:0 
非常简单,阅读器本身就有代码示例,几乎没有代码量,直接调用的。
比如以下的声明:
Public Declare Function GetPeopleName Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'住址
Public Declare Function GetPeopleAddress Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'身份证号
Public Declare Function GetPeopleIDCode Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'姓别
Public Declare Function GetPeopleSex Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'民族
Public Declare Function GetPeopleNation Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'出生日期
Public Declare Function GetPeopleBirthday Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
2016-03-18 16:54



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-460974-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.190644 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved