473,804 Members | 3,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

serial port component

Hello, how can i integrate a component in VB.Net for
comunication with the serial port.
In Vb 6.0 i used the MSComm.
Thank you.
Sebastián Ochoa.
Nov 22 '05 #1
3 1477
If your component is a COM component, you can use it with a wrapper. When I
add a reference in a .NET project, you can add a COM reference too. VS will
wrap this COM in a .NET class. But I heard in the Net Microsoft has released
a component for serial port. I think it is released with Visual Basic .NET
Resource Kit.

Hope this could help you

Sebastiano

"se************ @bodytechgym.co m" <an*******@disc ussions.microso ft.com> ha
scritto nel messaggio news:0b******** *************** *****@phx.gbl.. .
Hello, how can i integrate a component in VB.Net for
comunication with the serial port.
In Vb 6.0 i used the MSComm.
Thank you.
Sebastián Ochoa.
Nov 22 '05 #2
You could have a look at www.gotdotnet.com

http://www.gotdotnet.com/Community/U...4-dfe325097c69

José

"se************ @bodytechgym.co m" <an*******@disc ussions.microso ft.com> wrote
in message news:0b******** *************** *****@phx.gbl.. .
Hello, how can i integrate a component in VB.Net for
comunication with the serial port.
In Vb 6.0 i used the MSComm.
Thank you.
Sebastián Ochoa.
Nov 22 '05 #3
Hi,

You can download NETComm.ocx from my homepage. It provides the same API as
did MSComm. There are LOTS of .NET serial IO classes available. I have one
in my book (see below), and you will find a number of others online. Sax
Comm .NET is a commercial product that you would want to consider if you
need error-checked file transfers (www.sax.net).

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 22 '05 #4

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

Similar topics

1
3971
by: PW | last post by:
I have to setup a point-of-sale system for a friend. He has a PC, barcode scanner, receipt printer and cashdrawer. The receipt printer connects to the serial port. The cashdrawer connects to the printer. The barcode scanner has a keyboard wedge. Do I need to setup the receipt printer as a windows printer ? OR can I send output directly to the serial port using ASP ?
3
322
by: sebastianochoa | last post by:
Hello, how can i integrate a component in VB.Net for comunication with the serial port. In Vb 6.0 i used the MSComm. Thank you. Sebastián Ochoa.
2
1449
by: rt | last post by:
Hello, I'm looking for a commerical (supported) .NET serial control with source (just in case) and have found the following and was wondering if anyone has had experience with any of them: http://www.sax.net/dotnet/communications/ http://www.winsoft.sk/ncomport.htm http://www.mycomponentsoftware.com http://www.scientificcomponent.com
6
6986
by: Peter Krikelis | last post by:
Hi All, I am having a problem setting up input mode for serial communications. (Sorry about the long code post). The following code is what I use to set up my comm port.
7
3064
by: Kevin | last post by:
Hi all I am having a problem reading from a serial port, first of all I have now resorted to using the MSComm ActiveX control on my Windows Forms to provide me with the interface to my serial port. is there no other way to do this - it has to be simple or well explained because I'm still new to the .NET world and c#. I did stumble across an article on the MSDN site where I downloaded a file NetSerialComm.exe - I think it was from one of the...
1
1309
by: Chua Wen Ching | last post by:
Hi there, I am looking forward for a way to listen or analyzes the data being past in and out of the serial port COM1, 2, 3, 4 and USB. I want to achieve similar like HHD Serial Monitor 3.22 http://www.hhdsoftware.com/ Any help please?
1
1766
by: David | last post by:
I have written an application in VB.NET 2003 that uses the SAX serial component for RS232 communications with hardware. The program sets up 2 serial ports so that it can talk to 2 different hardware devices simultaneaously. When I run the program on a desktop running Windows 2000 it works fine. When I run it on a Laptop using XP I start having problems. It seems that when the ports are initiated, either one will work but not the
1
2033
by: TdarTdar | last post by:
Hello, I am writing an web base application that needs to read data from a serial port(Postal Scale), I assume i will be using this namespace System.IO.Ports.SerialPort I know in vb it would be something like: (serialport Control, 1200,8,E,1 ...) Dim Weight As String
5
2343
by: Franklin M. Gauer III | last post by:
Hi All, I've written an ASP.NET application (webservice) that does simple serial communications via the .NET 2.0 SerialComm object. The application runs fine on my development machine. The problem is when we try to deploy it to another machine we receive: ACCESS IS DENIED TO COM1 PORT. We have tried unsuccessfully to get this to work. We have tried the following: 1) Assign the IUSR.... account to Administrators
4
4819
by: max_mont | last post by:
Hi all, I'm a newbie in .NET technology. I've already developed Serial communication applications in C++ (WIN32). And I wanted to migrate to .NET technology. There is a serial component in framework to read and write on serial port. I would like to make asynchronous reception. I saw that we can pass a delegate to the serial class which is call when some data is readen on the port.
0
9582
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,...
1
10323
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9157
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7621
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6854
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
5525
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...
1
4301
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
2
3821
muto222
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.