PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Serial Communcation directly in browser ?
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Serial Communcation directly in browser ?
![]() |
Serial Communcation directly in browser ? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 "dtdev" <no.spam@spamnotx.it> wrote in message news:eIO11rBcFHA.2768@tk2msftngp13.phx.gbl... > 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. > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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. "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message news:e6zqsDCcFHA.3932@TK2MSFTNGP12.phx.gbl... > 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 > > > "dtdev" <no.spam@spamnotx.it> wrote in message > news:eIO11rBcFHA.2768@tk2msftngp13.phx.gbl... >> 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. >> >> > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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. "Dick Grier" <dick_grierNOSPAM@msn.com> wrote in message news:%23drEJPDcFHA.3840@tk2msftngp13.phx.gbl... > 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. > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
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. -- Steve Maillet EmbeddedFusion www.EmbeddedFusion.com smaillet at EmbeddedFusion dot com |
|
|
|
#7 |
|
Guest
Posts: n/a
|
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. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

