473,326 Members | 2,012 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,326 software developers and data experts.

Use of MSCOMM32 in Visual C++ .net

I have a version of mscomm32.ocx on my machine which is dated 1997. I
assume
this is the version that came with my Visual Development suite 97.
I did not buy a Version 6 and went straight to .net, hence I do not have a
version 6.0 of MSCOMM32.OCX
I am trying to update a program that was written in C++ version 6 to be
supported in C++ .net.
Although I can add an activex control to a dialog box I cannot seem to be
able to add a class for handling my comms.
Does anyone know if Visual Studio.net comes with an updated, or version 6,
of MSCOMM32.
If not do you know how I can get a copy.
Finally does anyone know once I have the control how to include it into my
C++ code?

Nov 17 '05 #1
1 1905
The best way is to write the functionality in C++, but why bother when
there are alternatives:
http://www.sax.net/activex/comm/

1) VS.NET does not come with a serial control (no MSComm)

2) Look here:
http://www.yes-tele.com/mscomm.html

3) And here:
http://ourworld.compuserve.com/homep...NETCommOCX.htm

4) or here:
http://www.codeworks.it/net/VBNetRs232.htm
http://www.mentalis.org/classlib/class.php?id=15

5) and of course,...here
http://www.devhood.com/tutorials/tut...utorial_id=320

and here
http://msdn.microsoft.com/msdnmag/is...m/default.aspx

On Tue, 17 Aug 2004 17:30:23 +0100, "Ken Maitland"
<ke**@kevinross.co.uk> wrote:
I have a version of mscomm32.ocx on my machine which is dated 1997. I
assume
this is the version that came with my Visual Development suite 97.
I did not buy a Version 6 and went straight to .net, hence I do not have a
version 6.0 of MSCOMM32.OCX
I am trying to update a program that was written in C++ version 6 to be
supported in C++ .net.
Although I can add an activex control to a dialog box I cannot seem to be
able to add a class for handling my comms. Does anyone know if Visual Studio.net comes with an updated, or version 6,
of MSCOMM32. If not do you know how I can get a copy.
Finally does anyone know once I have the control how to include it into my
C++ code?

Nov 17 '05 #2

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

Similar topics

3
by: Paul Clark | last post by:
Hello, I wonder if anyone can help me. We have moved over to VS.NET 2003 from evb and I am climbing a very steep learning curve as quick as possible, (the migration path has not been made...
1
by: Sue | last post by:
I want to deploy a Visual studio.net windows application. This application uses MSCOMM32.OCX control. This application works fine on a development machine. However, if I deploy it on a...
2
by: eray | last post by:
hi ; at the C# compiler using a MSCOMM32.ocx project, when i want to install this project on the pc which is not installed visual basic says "there is no licence". for solving this problem do i...
0
by: Eray Çakır | last post by:
hi ; at the C# compiler using a MSCOMM32.ocx project, when i want to install this project on the pc which is not installed visual basic says "there is no licence". for solving this problem do i...
5
by: Mohammed Abdel-Razzak | last post by:
Dear sirs I`ve added the com component "Microsoft communications control" to my project toolbox (in C#) but when I double clicked it, I got the following error message "You don`t have a license to...
1
by: Mohammed Abdel-Razzak | last post by:
Dear sirs I`ve got the file MSCOMM32.OCX from visual basic 6 and used it in C# I`ve includedit in the references and also used it in the project "using MSCommLib;" I also have written the...
2
by: Urs Vogel | last post by:
Hi For supporting the serial port for remote data collection on manufacturing devices, I added the mscomm32.ocx Active-X component to my .Net 1.1 application, which works fine on my machine (I...
5
by: Kevin | last post by:
I have a class with a refence to MSCOMMLib in it so I can use MSCOMM32.ocx. It works fine on the developement machine where I have VB6 also installed. When I try to run the app on a machine...
2
by: Alex Su | last post by:
Hello all, I'm new to VB.net and have just built a small application that makes use of some VB6 ocx such as mscomm32.ocx for data communication with a machine. The application runs OK but when I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.