PC Review


Reply
Thread Tools Rate Thread

Serial Communcation directly in browser ?

 
 
dtdev
Guest
Posts: n/a
 
      13th Jun 2005
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
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      13th Jun 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      13th Jun 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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
 
Dick Grier
Guest
Posts: n/a
 
      13th Jun 2005
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
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      13th Jun 2005
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
 
Steve Maillet \(eMVP\)
Guest
Posts: n/a
 
      13th Jun 2005
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
 
Dick Grier
Guest
Posts: n/a
 
      14th Jun 2005
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Generate zip files on the fly and send it directly to the browser (with ICSharpZipLib) David Hauser Microsoft ASP .NET 0 11th Nov 2006 11:06 AM
Can't open my Browser directly Bill Tang Windows XP Internet Explorer 1 8th Apr 2004 02:53 PM
xp to boot directly to browser TT Windows XP Customization 1 26th Sep 2003 07:56 AM
Browser connecting directly to server dekkar Microsoft Windows 2000 Terminal Server Clients 0 16th Aug 2003 04:42 AM
browser and email links going directly to explorer Steve Konen Microsoft Windows 2000 0 14th Aug 2003 06:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:15 AM.