Dim c As new cameraDim r AS Row = Tables("学生")
c.capture() '开始照相If c.image IsNot Nothing Then '照相成功 c.Save(ProjectPath & "Attachments\" & r("学号") & ".jpg") ‘保存文件
r("照片") = r("学号") & ".jpg”End If