I want to create a web form so that the user fills in some fields. The value of one field must be read from the serial port (COM1) of the client computer to which the special equipment is connected, and the user presses the Send to PC
hardware key when filling out the form.
How can I listen to the COM1
port on my web page and get the value of COM1 and automatically put it in the web form?
I heard that ActiveX controls can do this, but it is only compatible with IE (right?). Another option is Java applets.
I want a simple solution compatible with (at least) IE / Firefox / Opera.
I am on the server side, I may have ASP or PHP, but I appreciate it if you give a solution for everyone.
UPDATE:
We can tell customers to change their security settings to accept our ActiveX / applet.
We can also inform customers to install a user program that runs as a service and is read from the serial port.
The problem is that the read data must be entered into the web form automatically and immediately.
An explicit applet is a good idea, but the client needs to install a large JRE.
Is there any other option?
Isaac source share