G
Guest
Hello,
I am writing an web base application that needs to read data
from a serial port(Postal Scale), I assume i will be using this namespace
System.IO.Ports.SerialPort
I know in vb it would be something like:
(serialport Control, 1200,8,E,1 ...)
Dim Weight As String
SerialPort1.Open()
SerialPort1.Write("W" & Chr(13))
Weight = SerialPort1.ReadLine
MessageBox.Show(Weight)
SerialPort1.Close()
I want to read the info from the local (clients) system that when press
"get weight" button it will call the routine and get this info.
I relize there will be security issuse involved, how to I setup the client
to allow this process.
Generally I need some help understanding and or an example of this in
asp.net 2
Thanks,
Tdar
I am writing an web base application that needs to read data
from a serial port(Postal Scale), I assume i will be using this namespace
System.IO.Ports.SerialPort
I know in vb it would be something like:
(serialport Control, 1200,8,E,1 ...)
Dim Weight As String
SerialPort1.Open()
SerialPort1.Write("W" & Chr(13))
Weight = SerialPort1.ReadLine
MessageBox.Show(Weight)
SerialPort1.Close()
I want to read the info from the local (clients) system that when press
"get weight" button it will call the routine and get this info.
I relize there will be security issuse involved, how to I setup the client
to allow this process.
Generally I need some help understanding and or an example of this in
asp.net 2
Thanks,
Tdar