473,770 Members | 5,925 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.net and the RS-232 port

Hello All,

I am about to start a new job and one of my first tasks will be to port an
old VB (for DOS) application to VB.net. I have quite a bit of experience
with VB 6.0 and no experience with VB.net (or VB for DOS). This application
requires communications with external devices over the serial port (RS-232).
I have written applications with VB 6.0 that perform serial communications
over the serial port using the MSComm control, and I am quite comfortable
using the MSComm control. I've read that ActiveX is not supported under
VB.net, therefore I assume that the MSComm control will not be supported.
The application needs to be capable of running on Win9x, Win2K, WinMe and
WinXP. Here are two basic (no pun intended) questions:

What OS'es support VB.net applications?

How does one access the serial port (RS-232) using VB.net?
Thanks in advance!

Alan


Nov 20 '05 #1
2 11300
"Alan P. Summerlin" <al**@NOSPAM-trianglemicro.c om> wrote
I've read that ActiveX is not supported under VB.net
Sure they are.
The application needs to be capable of running on Win9x, Win2K, WinMe and
WinXP. What OS'es support VB.net applications?
VB.NET applications run on Windows 98, ME NT4, 2K, XP and 2K3. They do not
run on Windows 95.
How does one access the serial port (RS-232) using VB.net?


http://www.codeworks.it/net/VBNetRs232.htm

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
Nov 20 '05 #2
"Alan P. Summerlin" <al**@NOSPAM-trianglemicro.c om> scripsit:
What OS'es support VB.net applications?
<http://msdn.microsoft. com/netframework/technologyinfo/sysreqs/default.aspx>
How does one access the serial port (RS-232) using VB.net?


Thomas Scheidegger's (aka NETMaster) Serial Port FAQ
<http://makeashorterlin k.com/?M2FE42E83>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

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

Similar topics

9
3663
by: bajopalabra | last post by:
hi session("myVar") = rs.getRows( ) don't work when number of records is greater than 10 does anybody know WHY ??? is it a Session object limitation ??? thanks
2
3625
by: Joseph Markovich | last post by:
I'm having some trouble with VB in Access 2000. I have a form that the user enters in just one number (in this case, it's a base salary) and then the program is going to do a bunch of math (which is not all shown) and populate a table with these new, calculated salary values. I know I shouldn't be storing calculated values in the table, but I have to have these numbers in there as a lookup too. Anyway I think I might be getting too...
25
10422
by: dixie | last post by:
I have some code that adds new records into a table for each ID in a list box when a button on a form is clicked. This works fine. My problem now is that I wish to be able to edit all the records for people whose ID is in the list box. I made minor changes to the code (mainly replacing rs.AddNew with rs.Edit)and it appears to be updating only the first record and then overwriting that record with the next, etc until it runs out of ID's...
9
5705
by: Mike | last post by:
I have some simple code see below. I have response written out the query and it is valid and returns values when ran directly against my db, which is Oracle. My OS is Win 2003. My question is I never get to the point of the loop. It always thinks I am at the RS.EOF. Similar code works in other asp pages on the same server. How do I debug this or am I missing something obvious?? Thanks
12
20703
by: John | last post by:
I can't get my head around this! I have the following code: <% .... Code for connection to the database ... .... Code for retrieving recordset ... If Not rs.EOF Then ... Do something...
0
9425
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
10228
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10057
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...
1
10002
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
9869
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
8883
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...
0
6676
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
3970
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
3
2816
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.