473,473 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

communication to serial port

I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike
Nov 22 '05 #1
6 1977
Mike,

There isn't anything native in .NET to talk to the Serial Port, there will
be in the next version. You can still use the MSComm object by adding a
reference, the IDE will create a .NET Interop wrapper class that you can then
use in your .NET code.

"Mike D" wrote:
I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike

Nov 22 '05 #2
Mike,

There isn't anything native in .NET to talk to the Serial Port, there will
be in the next version. You can still use the MSComm object by adding a
reference, the IDE will create a .NET Interop wrapper class that you can then
use in your .NET code.

"Mike D" wrote:
I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike

Nov 22 '05 #3
I found this

http://ourworld.compuserve.com/homep...NETCommOCX.htm

Mike

"Jorge L Matos [MCSD.NET]" wrote:
Mike,

There isn't anything native in .NET to talk to the Serial Port, there will
be in the next version. You can still use the MSComm object by adding a
reference, the IDE will create a .NET Interop wrapper class that you can then
use in your .NET code.

"Mike D" wrote:
I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike

Nov 22 '05 #4
I found this

http://ourworld.compuserve.com/homep...NETCommOCX.htm

Mike

"Jorge L Matos [MCSD.NET]" wrote:
Mike,

There isn't anything native in .NET to talk to the Serial Port, there will
be in the next version. You can still use the MSComm object by adding a
reference, the IDE will create a .NET Interop wrapper class that you can then
use in your .NET code.

"Mike D" wrote:
I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike

Nov 22 '05 #5
Mike D wrote:
I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike

I have been using saxcomm for both vb and .net for some time now.

Nov 22 '05 #6
Mike D wrote:
I need to write a program that takes data from a balance connected via serial
port. In vb I would use the MSComm object. What is available in vb.net??

Thanks
Mike

I have been using saxcomm for both vb and .net for some time now.

Nov 22 '05 #7

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

Similar topics

3
by: ^CeFoS^ | last post by:
Hi to everybody, due to I want to use the serial port of a server machine through an applet allocated in html document. > Then one application will run in the server machine and using > the serial...
1
by: Andreas Horneff | last post by:
Hi @ all, I've got a problem with serial communication in Borland C++ Builder. I've already found a lot of stuff about serial communication in the internet, but it dosen't work. What I want...
11
by: sarah | last post by:
hI, I have a project. I need to realise serial communication between PC and Altera FPGA in c or c++. The function of FPGA is working well. it can send data to uart. Does anybody know how to...
1
by: Jamil | last post by:
I have a target box connected to my desktop (x86 Windows 2000) PC through a serial cable (COM port). The target box running on different processor and OS. The target box needs to send a specific...
3
by: Ramakant Kasar | last post by:
Hi, If an application is reading data from a serial port, How can I open the same serial port with another application? Any idea? Please help. Thanks, Ramakant K.
4
by: Vidya Bhagwath | last post by:
Hello Experts, I am porting the C++ code into the Visual C#.NET. My C++ code is mainly based on the serial communication. So I am using the windows structure such as DCB.. etc and the windows...
4
by: Ben Zhu | last post by:
I have a small project, which need use both RS232 port and excel for data plot. I considering use excel VB macro for the entire project. Although I used serial port extensively in MFC, I am not...
0
by: usagimys | last post by:
Hi all, i'm very new in serial port communication.. here i got some problem in writing to the serial port.. i have done the connection successfully.. let me explain my situation.. i'm doing a system...
0
by: ghjk | last post by:
I want to read sms from GSM modem using C# in serial communication. I wrote the code. But i want to do it automatically. I put my code here and please tell me how can i do it automatically. ...
0
by: Dhananjay | last post by:
Hi, I am working on an VB.Net application which I want to communicate to external device using comm port (Serial Port) . So for that first I am trying to simulate the communication on serial...
0
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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
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...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.