Bob Stearns wrote:
I have a _dumb_ serial data collection device which attaches to a com
port (or USB emulation thereof). My client wants to interface the device
to a large db2/web-enabled app I have written for them. Is there any way
to use javascript or extension thereto to access the com ports on the
client side PC?
For Windows there are COM components like this
<http://www.activxperts.com/activcomport/>
which then expose an API to be used from various languages, including
script (e.g. VBScript or J(ava)Script:
<ftp://ftp.activexperts-labs.com/samples/acomport/HTML/index.html>)
<http://www.activexperts.com/support/activcomport/#asp>
Of course that is then Windows and IE specific and requiring the browser
user to download and trust components.
There might be solutions for other browsers/platforms too but all very
specific and requiring additional components.
--
Martin Honnen
http://JavaScript.FAQTs.com/