473,395 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

TCP Network Programming

Can anyone help me to understand how to make VB .NET transmit text entered in
a text box through a serial port while providing the user with the ability to
select baud rate, parity, data bits, stop bits and comm port used from combo
boxes?
Nov 21 '05 #1
7 1809
http://www.microsoft.com/downloads/d...DisplayLang=en
"Brian" <Br***@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
Can anyone help me to understand how to make VB .NET transmit text entered
in
a text box through a serial port while providing the user with the ability
to
select baud rate, parity, data bits, stop bits and comm port used from
combo
boxes?

Nov 21 '05 #2
Programming against the serial port just came up today in this group. .NET
doesn't support it natively very well.

Once suggestion was to use 3rd party control from:

http://www.sax.net/framework/communications/

It was then mentioned a free scaled down version was included in VB resource
kit:

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

Not sure what you can or can't do with this control, but looks like a good
starting point.

Good luck,
Greg

"Brian" <Br***@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
Can anyone help me to understand how to make VB .NET transmit text entered
in
a text box through a serial port while providing the user with the ability
to
select baud rate, parity, data bits, stop bits and comm port used from
combo
boxes?

Nov 21 '05 #3
On Fri, 10 Sep 2004 19:51:04 -0700, Brian wrote:
Can anyone help me to understand how to make VB .NET transmit text entered in
a text box through a serial port while providing the user with the ability to
select baud rate, parity, data bits, stop bits and comm port used from combo
boxes?


hmmm, not sure how this applies to TCP Network programming - since your
question is really about serial port io... But, the answer is you'll need
to find a 3rd party library to access the serial port, because until 2.0 -
the .NET framework does not support serial communications.

here is an article from msdn magazine that might help you:

http://msdn.microsoft.com/msdnmag/is...netserialcomm/

The code, is in C# - but the principals are the same.

--
Tom Shelton [MVP]
Nov 21 '05 #4
sending data through a serial port is not using TCP/IP networking.. but if
your search google for RS232 and VB.NET together you will find a lot of info
"Brian" <Br***@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com...
Can anyone help me to understand how to make VB .NET transmit text entered
in
a text box through a serial port while providing the user with the ability
to
select baud rate, parity, data bits, stop bits and comm port used from
combo
boxes?

Nov 21 '05 #5
* "=?Utf-8?B?QnJpYW4=?=" <Br***@discussions.microsoft.com> scripsit:
Can anyone help me to understand how to make VB .NET transmit text entered in
a text box through a serial port while providing the user with the ability to
select baud rate, parity, data bits, stop bits and comm port used from combo
boxes?


Thomas Scheidegger's Serial Port FAQ (in German)
<URL:http://groups.google.com/groups?selm=O2UyhTLvDHA.1680%40TK2MSFTNGP12.phx.gb l>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #6
Brian,

Do not forget to look at everything Richard Grier wrote about RS232 in the
Dotnet newsgroups. (I think there is much more I only selected on RS232).
You will find his homepage than as well.

http://tinyurl.com/69za9

I hope this helps?

Cor
Nov 21 '05 #7
Hi,

This question doesn't have anything to do with TCP/IP or networking.

There are lots of serial classes and add-ons online, or you can P/Invoke the
underlying Windows serial APIs. I have example code for several methods in
my book (see below), along with other example code. You can download
NETcomm ocx from my homepage, or use other ActiveX controls.

There is a serial class in the free Visual Basic .NET Resource Kit that you
can download from Microsoft, or order on CD-ROM for the cost of the
shipping.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004.
Nov 21 '05 #8

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

Similar topics

8
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork =...
1
by: mch2k2 | last post by:
Hello All I have just started working on Pyhton. I need urgent help regarding Python Network Programming. I want the elctronic version of the Book: Foundations of Python Network programming by...
3
by: Jay | last post by:
Hi, I implemeneted an FTP client and server long time back using Java. I found sockets porgramming in java quite useful and easy to handle. I now wanted to implement a similar program using C++....
6
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's...
2
by: Jesse Engle | last post by:
i'm learning how to do some basic low-level network programming. the site i'm reading talks about "network byte order" and "host byte order". the thing is, it doesn't give an explanation as to what...
4
by: Wayne M J | last post by:
I have "Professional .Net Network Programming" and "Network Programming for MS Windows 2nd Ed", but I find both of these to be lacking in what I am looking for. Has there been any books printed...
5
by: Terry | last post by:
Could someone please suggest me a good book to learn network programming. I have been programming in C#/VB.NET/VB 6.0 and have also used a bit of C++ (not MFC/ATL/COM) I am a total novice when...
6
by: Eric | last post by:
Does anyone know of any GOOD network programming book(s) that are C# based, as well as any online tutorials and forums on network programming? Thanks
2
by: ppuniversal | last post by:
Hello, Can someone tell a good Tutorial on Network Programming in C++, except Beej's Guide and Vijay Mukhi's tutorials. I want to make a Client Server application in C++ which will involve...
9
by: Mex | last post by:
Hi, I'm looking for a good book for beginners about Network Programming. Besides Stevens' book, I would like something specific for C++ language. Any suggestions? Thanks in advantage, Massimo
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
0
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
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
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...
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,...

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.