Using POS for .Net from ASP.Net

  • Thread starter Thread starter Jeremy Beckham
  • Start date Start date
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
 
Jeremy,

You will likely get a better reply if you post to the right NG: microsoft.public.windows.embedded.pointofservice.

Unless you come up with a custom control that will handle all the client/server communications via the protocol you define, the only
way to have data being sent to the server side from a web page is to post.
 
Thanks. And sorry about that. I didn't see the
microsoft.public.windows.embedded.pointofservice.
 
Back
Top