J
Jeremy Beckham
Hi,
I'm currently working on a web application written in ASP.Net. We need
to use bar code scanners, cash drawers, check readers, etc. on the
workstations that will be using the web application. My coworkers and
I have been trying to figure out the best way of using POS for .Net
from a web application. I have a method that should work, but was
looking for other ideas as well.
This is my idea. We'll use the bar code scanner as the example device:
Create a custom Windows Form control that handles communicaiton with
the device via POS for .Net. So the custom control would handle the
data event and expose the information in the form of a property.
Embed the Windows Form control in the web page using the <OBJECT> tag.
Using JavaScript, get the information out of the windows form control's
property.
Using JavaScript, put the information into an hidden input control.
Perform a postback, and have the server-side code read the information
from the input control.
This seems more like a hack than an ideal way to do it, but I couldn't
come up with anything better. Does anyone else have any ideas?
Thanks,
Jeremy Beckham
Unisys
I'm currently working on a web application written in ASP.Net. We need
to use bar code scanners, cash drawers, check readers, etc. on the
workstations that will be using the web application. My coworkers and
I have been trying to figure out the best way of using POS for .Net
from a web application. I have a method that should work, but was
looking for other ideas as well.
This is my idea. We'll use the bar code scanner as the example device:
Create a custom Windows Form control that handles communicaiton with
the device via POS for .Net. So the custom control would handle the
data event and expose the information in the form of a property.
Embed the Windows Form control in the web page using the <OBJECT> tag.
Using JavaScript, get the information out of the windows form control's
property.
Using JavaScript, put the information into an hidden input control.
Perform a postback, and have the server-side code read the information
from the input control.
This seems more like a hack than an ideal way to do it, but I couldn't
come up with anything better. Does anyone else have any ideas?
Thanks,
Jeremy Beckham
Unisys