By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,934 Members | 1,366 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,934 IT Pros & Developers. It's quick & easy.

System.IO.Ports.SerialPort

P: n/a
is there a way to embed the System.IO.Ports.SerialPort object in my html . so
that the client can access to a device connected to his SerialCOM ?

i tried to wrap the System.IO.Ports.SerialPort in my own component and then
put it in <object> but it doesnt seem to work, any suggestions?
May 11 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
I doubt the security sandbox of the user's browser would allow such a thing.
You'll probably need a thick client such as an ActiveX control or Windows
Forms application.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
is there a way to embed the System.IO.Ports.SerialPort object in my html .
so
that the client can access to a device connected to his SerialCOM ?

i tried to wrap the System.IO.Ports.SerialPort in my own component and
then
put it in <object> but it doesnt seem to work, any suggestions?

May 11 '06 #2

P: n/a

You can run .NET components on the client side browser provided that your
client has the .NET framework installed and willing to allow you to do so.

SA

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:eK**************@TK2MSFTNGP02.phx.gbl...
I doubt the security sandbox of the user's browser would allow such a
thing.
You'll probably need a thick client such as an ActiveX control or Windows
Forms application.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
is there a way to embed the System.IO.Ports.SerialPort object in my html
. so
that the client can access to a device connected to his SerialCOM ?

i tried to wrap the System.IO.Ports.SerialPort in my own component and
then
put it in <object> but it doesnt seem to work, any suggestions?


May 11 '06 #3

P: n/a
but the standard .net seetings would not allow the component to access
serial ports. the users will have to authorize your component to do this
using the caspol.exe utility.

-- bruce (sqlwork.com)

"MSDN" <sq**********@hotmail.com> wrote in message
news:e4****************@TK2MSFTNGP02.phx.gbl...

You can run .NET components on the client side browser provided that your
client has the .NET framework installed and willing to allow you to do so.

SA

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:eK**************@TK2MSFTNGP02.phx.gbl...
I doubt the security sandbox of the user's browser would allow such a
thing.
You'll probably need a thick client such as an ActiveX control or Windows
Forms application.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
is there a way to embed the System.IO.Ports.SerialPort object in my html
. so
that the client can access to a device connected to his SerialCOM ?

i tried to wrap the System.IO.Ports.SerialPort in my own component and
then
put it in <object> but it doesnt seem to work, any suggestions?



May 11 '06 #4

P: n/a
Yes some security has to be set properly. I would use this in Intranet or
Wide-Intranet-Corp situations.

SA
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com> wrote
in message news:eW**************@TK2MSFTNGP05.phx.gbl...
but the standard .net seetings would not allow the component to access
serial ports. the users will have to authorize your component to do this
using the caspol.exe utility.

-- bruce (sqlwork.com)

"MSDN" <sq**********@hotmail.com> wrote in message
news:e4****************@TK2MSFTNGP02.phx.gbl...

You can run .NET components on the client side browser provided that your
client has the .NET framework installed and willing to allow you to do
so.

SA

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:eK**************@TK2MSFTNGP02.phx.gbl...
I doubt the security sandbox of the user's browser would allow such a
thing.
You'll probably need a thick client such as an ActiveX control or
Windows Forms application.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
is there a way to embed the System.IO.Ports.SerialPort object in my
html . so
that the client can access to a device connected to his SerialCOM ?

i tried to wrap the System.IO.Ports.SerialPort in my own component and
then
put it in <object> but it doesnt seem to work, any suggestions?



May 11 '06 #5

P: n/a
so what do i need to write inside my <object> tag? what is the classid for
SerialPort?

"MSDN" wrote:
Yes some security has to be set properly. I would use this in Intranet or
Wide-Intranet-Corp situations.

SA
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com> wrote
in message news:eW**************@TK2MSFTNGP05.phx.gbl...
but the standard .net seetings would not allow the component to access
serial ports. the users will have to authorize your component to do this
using the caspol.exe utility.

-- bruce (sqlwork.com)

"MSDN" <sq**********@hotmail.com> wrote in message
news:e4****************@TK2MSFTNGP02.phx.gbl...

You can run .NET components on the client side browser provided that your
client has the .NET framework installed and willing to allow you to do
so.

SA

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:eK**************@TK2MSFTNGP02.phx.gbl...
I doubt the security sandbox of the user's browser would allow such a
thing.
You'll probably need a thick client such as an ActiveX control or
Windows Forms application.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
> is there a way to embed the System.IO.Ports.SerialPort object in my
> html . so
> that the client can access to a device connected to his SerialCOM ?
>
> i tried to wrap the System.IO.Ports.SerialPort in my own component and
> then
> put it in <object> but it doesnt seem to work, any suggestions?



May 11 '06 #6

P: n/a
Read this that might help you out.

http://msdn.microsoft.com/msdnmag/is...2/01/UserCtrl/

SA

"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
so what do i need to write inside my <object> tag? what is the classid for
SerialPort?

"MSDN" wrote:
Yes some security has to be set properly. I would use this in Intranet
or
Wide-Intranet-Corp situations.

SA
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com>
wrote
in message news:eW**************@TK2MSFTNGP05.phx.gbl...
> but the standard .net seetings would not allow the component to access
> serial ports. the users will have to authorize your component to do
> this
> using the caspol.exe utility.
>
> -- bruce (sqlwork.com)
>
> "MSDN" <sq**********@hotmail.com> wrote in message
> news:e4****************@TK2MSFTNGP02.phx.gbl...
>>
>> You can run .NET components on the client side browser provided that
>> your
>> client has the .NET framework installed and willing to allow you to do
>> so.
>>
>> SA
>>
>> "Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
>> news:eK**************@TK2MSFTNGP02.phx.gbl...
>>>I doubt the security sandbox of the user's browser would allow such a
>>>thing.
>>> You'll probably need a thick client such as an ActiveX control or
>>> Windows Forms application.
>>>
>>> --
>>> I hope this helps,
>>> Steve C. Orr, MCSD, MVP
>>> http://SteveOrr.net
>>>
>>>
>>> "Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
>>> news:1F**********************************@microsof t.com...
>>>> is there a way to embed the System.IO.Ports.SerialPort object in my
>>>> html . so
>>>> that the client can access to a device connected to his SerialCOM ?
>>>>
>>>> i tried to wrap the System.IO.Ports.SerialPort in my own component
>>>> and
>>>> then
>>>> put it in <object> but it doesnt seem to work, any suggestions?
>>>
>>>
>>
>>
>
>


May 11 '06 #7

P: n/a
i read the article and followed all the steps but the it doesnt work, im
using VS 2005 and the artitcle was in 2002 so maybe the project upgrade
ruined something. any way i still cant create the control i need, any
suggestions?

"MSDN" wrote:
Read this that might help you out.

http://msdn.microsoft.com/msdnmag/is...2/01/UserCtrl/

SA

"Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
so what do i need to write inside my <object> tag? what is the classid for
SerialPort?

"MSDN" wrote:
Yes some security has to be set properly. I would use this in Intranet
or
Wide-Intranet-Corp situations.

SA
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com>
wrote
in message news:eW**************@TK2MSFTNGP05.phx.gbl...
> but the standard .net seetings would not allow the component to access
> serial ports. the users will have to authorize your component to do
> this
> using the caspol.exe utility.
>
> -- bruce (sqlwork.com)
>
> "MSDN" <sq**********@hotmail.com> wrote in message
> news:e4****************@TK2MSFTNGP02.phx.gbl...
>>
>> You can run .NET components on the client side browser provided that
>> your
>> client has the .NET framework installed and willing to allow you to do
>> so.
>>
>> SA
>>
>> "Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
>> news:eK**************@TK2MSFTNGP02.phx.gbl...
>>>I doubt the security sandbox of the user's browser would allow such a
>>>thing.
>>> You'll probably need a thick client such as an ActiveX control or
>>> Windows Forms application.
>>>
>>> --
>>> I hope this helps,
>>> Steve C. Orr, MCSD, MVP
>>> http://SteveOrr.net
>>>
>>>
>>> "Tamir.D" <Ta*****@discussions.microsoft.com> wrote in message
>>> news:1F**********************************@microsof t.com...
>>>> is there a way to embed the System.IO.Ports.SerialPort object in my
>>>> html . so
>>>> that the client can access to a device connected to his SerialCOM ?
>>>>
>>>> i tried to wrap the System.IO.Ports.SerialPort in my own component
>>>> and
>>>> then
>>>> put it in <object> but it doesnt seem to work, any suggestions?
>>>
>>>
>>
>>
>
>


May 12 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.