Serial Communcation directly in browser ?

  • Thread starter Thread starter dtdev
  • Start date Start date
D

dtdev

hi,

My goal is to write somekind of component, that are able to communicate with
a device on the serial port (local machine).

Instead of installing an application on every PC, i would like this to be
acessed via a webbrowser, similar til a java application that you "accept"
or something like that.

Instead of Java i were wondering about .NET - is this possible in an easy
way to something like this ? and do you have any nice links you could post
for me - im abit on deep water here (im based in c/c++ win32 - but not
really ActiveX/ COM ) and i would appriciate NOT to stepping into ActiveX.

Hope you can help.
 
So you want a web app that can control the device serial port, and without
installing an ActiveX control? I don't think it's possible. The security
implication of a web page being able to access hardware is frightening.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
I've done it with an ActiveX control and, no, I can't think of another way
to do it. The browser itself doesn't know anything about serial ports, so
there's no way to write HTML to access it. JavaScript doesn't do serial
ports, for the security reasons mentioned. You need a trusted ActiveX
control installed on the device and referenced from your Web page.

Paul T.
 
You've done this with Pocket IE?

I've done it on the desktop, with Ax controls, but I didn't think that
Pocket IE had support for them.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
You can do it with Internet Explorer in CE, not Pocket IE (as far as I
know). People want to do strange things sometimes, let me tell you...

Paul T.
 
I don't know about Pocket IE in a Pocket PC but I've definitely done it with
the IE browser from PB. A customer had a control system with a web based
remote UI that controlled a set of devices via serial ports.
 
Hi Steve,
I don't know about Pocket IE in a Pocket PC but I've definitely done it with
the IE browser from PB. A customer had a control system with a web based
remote UI that controlled a set of devices via serial ports.
<<

I suppose. I hate this sort of (what seems like a) hack. That's why Smart
Clients are around (IMO).

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Back
Top