473,651 Members | 2,533 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 2015
Define "not working"

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

Jeff

"chandu" <ch****@discuss ions.microsoft. com> wrote in message
news:5B******** *************** ***********@mic rosoft.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
2851
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 connections to our legacy system. Another system will call a Java object, which will communicate with a COM object, which I want then to query the running broker app to be given a specific object reference to a free connection, which it can then use.
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 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...
0
1189
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 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...
0
1175
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 somewhere, but so far have been unable to find it. Thank you.
0
965
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 having is that everytime the timer runs and calls the function which sends and receives data through the UDP protocol, it increases the systems thread count by 1. After the software running for around 1 hour windows cracks it as I am using too...
4
11186
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. What I would like to do is make the serial port accessible via a web service. The web service and the legacy application would be running on the same machine. The mobile application would access the web service via a network connection. It...
8
6495
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 Application.DoEvents Loop In this case the asynchronous thread can just set StillWaiting=False when complete.
0
1660
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 the same for a USB port/device.I did not find any help for USB communication by doing a google search.any help from u would be greatly appreciated.i am using windows 2000. thanks in advance
3
3480
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 constructor would look something like Device kvm = new Device(Serialport);
0
2406
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 device (A7 Engineering's eb506 Bluetooth serial adapter connected to a microcontroller) connects to the phone, but is not linked to my application). If I make the connection directly from the phone (Nokia 6085) to the eb506, there is no problem...
0
8349
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8695
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4143
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
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 we have to send another system
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1585
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.