PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Serial Communcation directly in browser ?

Reply

Serial Communcation directly in browser ?

 
Thread Tools Rate Thread
Old 13-06-2005, 02:22 PM   #1
dtdev
Guest
 
Posts: n/a
Default Serial Communcation directly in browser ?


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.


  Reply With Quote
Old 13-06-2005, 03:05 PM   #2
Chris Tacke, eMVP
Guest
 
Posts: n/a
Default Re: Serial Communcation directly in browser ?

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.
>
>



  Reply With Quote
Old 13-06-2005, 04:20 PM   #3
Paul G. Tobey [eMVP]
Guest
 
Posts: n/a
Default Re: Serial Communcation directly in browser ?

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.
>>
>>

>
>



  Reply With Quote
Old 13-06-2005, 05:20 PM   #4
Dick Grier
Guest
 
Posts: n/a
Default Re: Serial Communcation directly in browser ?

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.


  Reply With Quote
Old 13-06-2005, 05:50 PM   #5
Paul G. Tobey [eMVP]
Guest
 
Posts: n/a
Default Re: Serial Communcation directly in browser ?

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.
>
>



  Reply With Quote
Old 13-06-2005, 09:13 PM   #6
Steve Maillet \(eMVP\)
Guest
 
Posts: n/a
Default Re: Serial Communcation directly in browser ?

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


  Reply With Quote
Old 14-06-2005, 03:54 PM   #7
Dick Grier
Guest
 
Posts: n/a
Default Re: Serial Communcation directly in browser ?

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.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off