473,503 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Communicating with another application/device

I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page.

How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this?

As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the Server and do the necesary communication stuff whenever it receives any request from an ASP page. We planned to use socket communication between ASP page and VC++ application if we go with this way. What are the other ways that a VC application and a ASP application can talk to each other...?
Jul 19 '05 #1
2 2002
Define "not working"

Wrap MSCOMM into a VB dll, and then in your ASP page, use
Server.CreateObject.

Jeff

"chandu" <ch****@discussions.microsoft.com> wrote in message
news:5B**********************************@microsof t.com...
I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page.
How can I access a serial port from the ASP code itself. I tried to use MSCOMM... But it is not working. Is there any way to do this?
As an alternative mechanism, we planned to shift all the communication related stuff to Visual C++ application which sits as a service in the
Server and do the necesary communication stuff whenever it receives any
request from an ASP page. We planned to use socket communication between ASP
page and VC++ application if we go with this way. What are the other ways
that a VC application and a ASP application can talk to each other...?

Jul 19 '05 #2
I have a project in which I need to send info to/get info from a RS-232
port of the server depending on the client clicks on a asp web page.


There are some free and commercial components to do so.
You can find them on www.aspin.com

--
WBR, Alexander Popkov
http://www.abysslabs.com

Jul 19 '05 #3

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

Similar topics

2
2842
by: Michael Williams | last post by:
Hi, I am trying to create a VB6 application which can act as a 'connection broker' for other applications being run on the same machine. Essentially, the broker app will setup a number of...
0
346
by: chandu | last post by:
I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page. How can I access a serial port from the ASP code...
0
1184
by: chandu | last post by:
I have a project in which I need to send info to/get info from a RS-232 port of the server depending on the client clicks on a asp web page. How can I access a serial port from the ASP code...
0
1159
by: E. Tom Jorgenson | last post by:
How do I communicate with a USB device using C# in a regular Windows application (that is, not in Windows CE or another version)? I would assume that there is a library and documentation on this...
0
955
by: David Dolheguy | last post by:
I have written an application using VB.Net 2003 which contains a single timer control (Interval set to 5 seconds) and a function which uses the BeginReceiveFrom Socket function. The problem I am...
4
11154
by: joe bloggs | last post by:
I am writing a mobile application to interface with a legacy system and I am planning to use web services to communicate with this system. The legacy system receives data through a serial port. ...
8
6455
by: TrtnJohn | last post by:
I have an application where I would like to block waiting on an asynchronous event and still process messages. I can implement a hard loop to block such as: Do While StillWaiting...
0
1651
by: rahulpasupuleti | last post by:
Hi.can someone help me in writing code for communicating with a USB device.For a serial port we have predefined functions for opening the port,reading to the port,writing to the port etc.I want to do...
3
3474
by: Peted | last post by:
I have an application with mdi parent form, and mutliple child forms. In the mdi parent form i want to instantiate a device class for comunicating to a peice of hardware via serial port. its...
0
2393
by: brum2008 | last post by:
Hello! Below is the Netbeans Mobility source code for my application (The application offers SPP service, and then just hangs waiting for a client to connect (using acceptAndOpen()). The other...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.