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