Is there a way to duplicate the functionality of the old VB6 MsComm.ocx
control in an ASP.Net application? I just need to read barcode scanner input
data from the client PCs COM port. I know I could use a keyboard wedge
scanner but serial would be more controllable.
Any help much appreciated.
JonathanYes, if you google for MsComm.ocx and asp.net or activex, you will find
it's been discussing a lot.
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Jonathan Attree" <JonathanAttree@.discussions.microsoft.com> wrote in
message news:D5EBB469-F8E9-432B-89C7-EA89F48CF6E3@.microsoft.com...
> Is there a way to duplicate the functionality of the old VB6 MsComm.ocx
> control in an ASP.Net application? I just need to read barcode scanner
> input
> data from the client PCs COM port. I know I could use a keyboard wedge
> scanner but serial would be more controllable.
> Any help much appreciated.
> Jonathan
Thanks for the reply. This seems to be what I'm looking for. Sorry if this i
s
a bit basic but does this mean that .NET Framework 2.0 would have to be
installed on the client machines in order to use the System.IO.Ports class?
Jonathan Attree
"Eliyahu Goldin" wrote:
> Yes, if you google for MsComm.ocx and asp.net or activex, you will find
> it's been discussing a lot.
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]
>
> "Jonathan Attree" <JonathanAttree@.discussions.microsoft.com> wrote in
> message news:D5EBB469-F8E9-432B-89C7-EA89F48CF6E3@.microsoft.com...
>
>
No. The client will have to agree to install a few ActiveX controls. I don't
have a practical experience with this particular one, but I do use another
ActiveX that works with VB6. The VB6 infrastructure gets installed first,
then the actual control. All this is performed automatically by the client
browser, the user just needs to confirm warnings. You may avoid the warnings
if you can instruct users to put your site in the trusted list.
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Jonathan Attree" <JonathanAttree@.discussions.microsoft.com> wrote in
message news:403D458C-03E2-4084-AA69-07ED2AC560F9@.microsoft.com...
> Thanks for the reply. This seems to be what I'm looking for. Sorry if this
> is
> a bit basic but does this mean that .NET Framework 2.0 would have to be
> installed on the client machines in order to use the System.IO.Ports
> class?
> Jonathan Attree
> "Eliyahu Goldin" wrote:
>
Thanks again. Are you saying that the only way to achieve this functionality
is to use the mscomm control or is there any other way in ASP.NET/VS 2005?
Jonathan Attree
"Eliyahu Goldin" wrote:
> No. The client will have to agree to install a few ActiveX controls. I don
't
> have a practical experience with this particular one, but I do use another
> ActiveX that works with VB6. The VB6 infrastructure gets installed first,
> then the actual control. All this is performed automatically by the client
> browser, the user just needs to confirm warnings. You may avoid the warnin
gs
> if you can instruct users to put your site in the trusted list.
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]
>
> "Jonathan Attree" <JonathanAttree@.discussions.microsoft.com> wrote in
> message news:403D458C-03E2-4084-AA69-07ED2AC560F9@.microsoft.com...
>
>
I don't know. There could be other controls available. You need to shop for
one.
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Jonathan Attree" <JonathanAttree@.discussions.microsoft.com> wrote in
message news:ABEDCFA2-7C44-4946-9327-668849307FC8@.microsoft.com...
> Thanks again. Are you saying that the only way to achieve this
> functionality
> is to use the mscomm control or is there any other way in ASP.NET/VS 2005?
> Jonathan Attree
> "Eliyahu Goldin" wrote:
>
Monday, March 26, 2012
Serial port comms with ASP.Net
Labels:
application,
asp,
aspnet,
barcode,
comms,
duplicate,
functionality,
mscomm,
net,
ocxcontrol,
old,
port,
scanner,
serial,
vb6
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment