472,958 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

access serial port from ASP.NET 2.0

Can I access the serial port (RS232) out of an ASP.NET 2.0 client form?

We are planning a barcode application where a barcode scanner delivers
input to an ASP.NET form via RS232.

Nov 19 '05 #1
4 2681
You can user the Serial Port Control (System.IO.Ports.SerialPort).

This control is on the standard toolbox pallet under Components. Only found
in VS2005 / v2.0.

-Andrew

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
"leovg" <tm**@nigeno.de> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Can I access the serial port (RS232) out of an ASP.NET 2.0 client form?

We are planning a barcode application where a barcode scanner delivers
input to an ASP.NET form via RS232.

Nov 19 '05 #2
From your description, it sounds like the barcode reader will be on the
client. ASP.Net merely renders HTML, you'll need something on the client to
read your serial port and populate the form, either a windows client, an
activex or a Java applet is my guess.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/

"leovg" <tm**@nigeno.de> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Can I access the serial port (RS232) out of an ASP.NET 2.0 client form?

We are planning a barcode application where a barcode scanner delivers
input to an ASP.NET form via RS232.

Nov 19 '05 #3
Karl,

Good catch. I didn't pick up on the asp.net part. You could use a keyboard
wedge, but your ability to execute Function Keys is limited.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:u%****************@tk2msftngp13.phx.gbl...
From your description, it sounds like the barcode reader will be on the
client. ASP.Net merely renders HTML, you'll need something on the client
to read your serial port and populate the form, either a windows client,
an activex or a Java applet is my guess.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/

"leovg" <tm**@nigeno.de> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Can I access the serial port (RS232) out of an ASP.NET 2.0 client form?

We are planning a barcode application where a barcode scanner delivers
input to an ASP.NET form via RS232.


Nov 19 '05 #4
Thanks for your suggestions.

Indeed: the scanner is on the client.

A keyboard wedge is too limited. We want RS232.

A few days ago I read that ASP.NET 2.0 would have the possibility to
access the serial port (on the client side). Unfortunately I don't find
anything that backs that assertion.

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chris | last post by:
Here's the situation: I work at a scientific institution and I have a portable electronic device which is used to take measurements. The device produces a very small amount of numerical data,...
2
by: willie | last post by:
Hi, I'm writing a program which requires the use of three serial ports and one parallel port. My application has a scanning devices on each port, which I can access fine with pyserial. ...
3
by: collinm | last post by:
hi i send a command to a led display, the led display is suppose to return me some character i write a string on a serial port void ledDisplayExist() { char msg={'\0', '\0', '\0', '\0',...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
12
by: david.brown.0 | last post by:
I'm trying to make a Java program access a parallel port. Java's comm API does not provide me with the control I need. I need to be able to write to the data and control pins and read the status...
4
by: Frank | last post by:
Hello, how to get information about all serial ports in the PC? I use the following code, but i got only the data of the FIRST serial port. All other serial port information are not available...
5
by: Lee | last post by:
I am getting this error trying to run a win forms .net app using the .net 2.0 serial port control. This occurs when the app tries to open the port. I knwo this is some type of security access...
38
by: shussai2 | last post by:
Hi, I am trying to access Serial Port in XP. I am using Dev-C++ IDE that uses Mingw as a compiler. I just want to know how I can open up serial port on COM1 and write some data. I have searched...
13
by: Rob | last post by:
Hi all, I am fairly new to python, but not programming and embedded. I am having an issue which I believe is related to the hardware, triggered by the software read I am doing in pySerial. I...
6
by: terry | last post by:
Hi, I am trying to send a character to '/dev/ttyS0' and expect the same character and upon receipt I want to send another character. I tired with Pyserial but in vain. Test Set up: 1. Send...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.