473,382 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 2696
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.