473,785 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Serial Communications: best way to start??

Hi, all! Using VS.Net '03 under Win2k3 Server; clients will be XP, Win2k...

I'm just beginning to look into how I would go about building serial
communication apps in VB.Net, and am not sure where to begin looking for
info, libraries, etc. The applications will basically query serial devices
for whatever info they contain, clear it, etc...

Can someone suggest some starting points for me on this? I saw one brief
blurb that suggested possibly using the old MSComm component, but I was
hoping there might be a better managed solution for .Net.

All suggestions welcome! Thanks!
Jack
Nov 20 '05 #1
5 1366
md
google.com

"Jack Black" <ja************ *@hotmail.com> wrote in message
news:eC******** ******@TK2MSFTN GP11.phx.gbl...
Hi, all! Using VS.Net '03 under Win2k3 Server; clients will be XP, Win2k...
I'm just beginning to look into how I would go about building serial
communication apps in VB.Net, and am not sure where to begin looking for
info, libraries, etc. The applications will basically query serial devices for whatever info they contain, clear it, etc...

Can someone suggest some starting points for me on this? I saw one brief
blurb that suggested possibly using the old MSComm component, but I was
hoping there might be a better managed solution for .Net.

All suggestions welcome! Thanks!
Jack

Nov 20 '05 #2
Hi,

The visual basic.net resource kit comes with the sax.net community
edition. Free serial communication control.
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

Ken
------------------
"Jack Black" <ja************ *@hotmail.com> wrote in message
news:eC******** ******@TK2MSFTN GP11.phx.gbl...
Hi, all! Using VS.Net '03 under Win2k3 Server; clients will be XP, Win2k...
I'm just beginning to look into how I would go about building serial
communication apps in VB.Net, and am not sure where to begin looking for
info, libraries, etc. The applications will basically query serial devices for whatever info they contain, clear it, etc...

Can someone suggest some starting points for me on this? I saw one brief
blurb that suggested possibly using the old MSComm component, but I was
hoping there might be a better managed solution for .Net.

All suggestions welcome! Thanks!
Jack

Nov 20 '05 #3
Thanks for the heads-up! :) I've got that downloading even as we speak...
:) Any gotchas with serial comm in .Net that I need to keep an eye open
for? Bugs, "features", etc???

Jack
"Ken Tucker [MVP]" <vb***@bellsout h.net> wrote in message
news:uI******** ******@TK2MSFTN GP10.phx.gbl...
Hi,

The visual basic.net resource kit comes with the sax.net community
edition. Free serial communication control.
http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

Ken
------------------
"Jack Black" <ja************ *@hotmail.com> wrote in message
news:eC******** ******@TK2MSFTN GP11.phx.gbl...
Hi, all! Using VS.Net '03 under Win2k3 Server; clients will be XP,

Win2k...

I'm just beginning to look into how I would go about building serial
communication apps in VB.Net, and am not sure where to begin looking for
info, libraries, etc. The applications will basically query serial

devices
for whatever info they contain, clear it, etc...

Can someone suggest some starting points for me on this? I saw one brief blurb that suggested possibly using the old MSComm component, but I was
hoping there might be a better managed solution for .Net.

All suggestions welcome! Thanks!
Jack


Nov 20 '05 #4
Dick, thanks for responding!

In checking Amazon, it says that it would take 8-9 weeks for delivery; is
your book out of print, or a small-market publishing?

Jack
"Dick Grier" <di************ **@msn.com> wrote in message
news:OI******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi,

The considerations for .NET are no different than with earlier versions of
VB. What have you done before? I have example code in my book (see below), and try to answer specific questions here.

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 20 '05 #5
Hi,

In checking Amazon, it says that it would take 8-9 weeks for delivery; is
your book out of print, or a small-market publishing?
<<

No, it very much is "in print." However, as you guessed, the market is
small enough that Amazon does not keep them in stock. An annoying fact is
that Amazon demands such a large discount from publishers for the books that
they stock that Amazon's cost would be below our actual publishing expense!
It is tough to sell a product for negative profit.

I wanted to keep the nominal "retail" cost of the book below $40, which
isn't easy for a book that includes a CD ROM. If we had charged $50 for the
book, so that we could have Amazon stock it, we'd just break even.
All-in-all, I think we made the right choice, though this does reduce its
sales volume.

So, the easiest and fastest way to order is directly from the publisher at
www.mabry.com/vbpgser. They ship by Priority Mail as their normal delivery
mechanism, so it takes only a few days. However, you can specify Overnight
shipping if you need it RSN. This costs extra, of course.

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 20 '05 #6

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

Similar topics

4
2573
by: dalewz | last post by:
Hi, Could sb kindly answer my following questions: Plan: I am trying to find a language to build a GUI to communicate with our device via serial port. Questions: 1. which language (VC++ or Java) is the best?
1
8857
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 to do: I want to connect only one button to my com port. If the button is pressed,
6
6983
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.
10
2080
by: Jim H | last post by:
I need to communicate using a serial port. Are there any classes or libraries for this in .NET? If not are there any open source libraries for this out there? jim
0
2485
by: David | last post by:
I am having trouble with "ACCESS DENIED" error messages in a VB.NET 2003 application when attempting to open serial comms ports. The application has 2 ports that connect via serial cable to 2 different hardware devices to transfer binary data to the application. The setup screen enables the user to select COM1 -- COM8 via combo boax for each port. Then they click "Apply" to open the ports. The code that I have written to open the...
4
2993
by: Gary Frank | last post by:
I'd like to write a program in VB.Net that handles serial communications to several devices. VB.Net 2003 does not have adequate built-in serial communications. I heard that 2005 will have that. Has this serial communications functionality been built into 2005 Beta yet? If so, is there any reason I can't get the Beta and create the program with serial communications now?
5
2341
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
6
11921
by: John Wright | last post by:
I am trying to read the data from a device on a serial port. I connect just fine and can receive data fine in text mode but not in binary mode. In text mode the data from the device comes in like this: S~5BBBBBBBBBBBBBBB5BBBBBBBB5B31BB4BB2B5BB4BBBE S is the start of the line, ~ indicates a good read, B is a blank reading, and the numbers 1-6 correspond to a location on the device for a line. So there are six positions on the line...
4
2141
by: adlloyd | last post by:
Hi all, I've got an application that's written in C++ making use of MFC (VS6). Its purpose is to process SMS messages received from a GSM modem connected via a serial port (USB connection). The serial communications are handled entirely in their own thread. For the most part this works perfectly.However, there appears to be a problem where multiple instances of the application are running in different Windows XP environments. It seems...
0
9483
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
10157
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
9956
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
8982
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
7504
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
6742
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();...
1
4055
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
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
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.