0 Replies - 2608 Views - Last Post: 15 July 2009 - 08:45 PM Rate Topic: -----

#1 preeti jaiswal  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-July 09

Bar code reader through serial port in vb.net

Post icon  Posted 15 July 2009 - 08:45 PM

If serialPort.IsOpen Then
End If
With serialPort
.PortName = "COM1"
.BaudRate = 57600
.Parity = IO.Ports.Parity.None
.DataBits = 8
.StopBits = IO.Ports.StopBits.One
End With
Catch ex As Exception
End Try

actually this code i am using for scanner detection through serial port . I checked the setting of scanner in pc its having the same setting whatever i am using in code but through my code i am not able to scan .I have 4 scanner having the same setting my code is working for 3 scanner.Scanner which is not working through my code is working scanner its not having any problem i already check. So can u help me what should be the modification in this code for proper working in all scanner. Otherwise can u help me how to autodetect the scanner without hard coding the baudrate.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1