Hi everybody,
I'm planning to upgrade a VB6 application to VB.NET 2003. In which, some
modules need to communicate with COM port to detect high/low bit signal and
also send signal to COM port. In VB6 application, MSComm control is used.
However, I can't find it or other related control in VB.NET 2003. I would
like to know how I can do that in VB.NET 2003.
Thanks for your attention and kindly help!
Regards,
James Wong 6 3546
"James Wong" <cp*****@commercialpress.com.hk.NO_SPAM> schrieb im Newsbeitrag
news:Od**************@TK2MSFTNGP12.phx.gbl... Hi everybody,
I'm planning to upgrade a VB6 application to VB.NET 2003. In which, some modules need to communicate with COM port to detect high/low bit signal
and also send signal to COM port. In VB6 application, MSComm control is used. However, I can't find it or other related control in VB.NET 2003. I would like to know how I can do that in VB.NET 2003.
Thanks for your attention and kindly help!
Regards, James Wong
Hi James,
in the http://msdn.microsoft.com/vbasic/vbrkit/ ResourceKit is an Control
from Sax.
Greeting
Thomas
"James Wong" <cp*****@commercialpress.com.hk.NO_SPAM> schrieb: I'm planning to upgrade a VB6 application to VB.NET 2003. In which, some modules need to communicate with COM port to detect high/low bit signal and also send signal to COM port. In VB6 application, MSComm control is used.
You can still use MSComm...
Thomas Scheidegger's Serial Port FAQ (in German)
<URL:http://groups.google.com/groups?selm=O2UyhTLvDHA.1680%40TK2MSFTNGP12.phx.gb l>
..NET 2.0 will provide support for accessing the serial port:
'SerialPort' Class
<URL:http://longhorn.msdn.microsoft.com/lhsdk/ref/ns/system.io.ports/c/serialport/serialport.aspx>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Hi,
The simple way is to download NETComm.ocx from my homepage. The semantics
are identical to those that you would have used in your previous
application.
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. See www.mabry.com/vbpgser4 to order.
Hi Thomas,
Thanks for your reply! I've installed serial communication control from
Sax. However, I found that there is no CTSHolding property which I use
before to determine the status of an external device. Do you have any idea
on this issue?
Thanks again for your kindly advice!
Regards,
James Wong
"Thomas Wenning" <no*******************@gmx.de> ¦b¶l¥ó
news:uA**************@tk2msftngp13.phx.gbl ¤¤¼¶¼g... "James Wong" <cp*****@commercialpress.com.hk.NO_SPAM> schrieb im
Newsbeitrag news:Od**************@TK2MSFTNGP12.phx.gbl... Hi everybody,
I'm planning to upgrade a VB6 application to VB.NET 2003. In which,
some modules need to communicate with COM port to detect high/low bit signal and also send signal to COM port. In VB6 application, MSComm control is
used. However, I can't find it or other related control in VB.NET 2003. I
would like to know how I can do that in VB.NET 2003.
Thanks for your attention and kindly help!
Regards, James Wong
Hi James,
in the http://msdn.microsoft.com/vbasic/vbrkit/ ResourceKit is an Control from Sax.
Greeting
Thomas
Hi James:
The MSComm ActiveX control should still work in a VB.NET application
however you may run into a licensing issue with it.
You can find a .NET compatible ActiveX control at the following web
site: www.hardandsoftware.com
After you go to the above site, click on "Software Downloads" and
select the NETComm.OCX link to get the the download page for it.
Basically the NETComm.OCX tool is a wrapper around the MSComm32.OCX
activex control and I believe that it should have all the same
properties, methods and events that are in the MSComm32.OCX activex
control.
For more serial I/O tools, tips and free utilities, visit www.taltech.com
On Mon, 14 Feb 2005 12:32:56 +0800, "James Wong"
<cp*****@commercialpress.com.hk.NO_SPAM> wrote: Hi Thomas,
Thanks for your reply! I've installed serial communication control from Sax. However, I found that there is no CTSHolding property which I use before to determine the status of an external device. Do you have any idea on this issue?
Thanks again for your kindly advice!
Regards, James Wong
"Thomas Wenning" <no*******************@gmx.de> ¦b¶l¥ó news:uA**************@tk2msftngp13.phx.gbl ¤¤¼¶¼g... "James Wong" <cp*****@commercialpress.com.hk.NO_SPAM> schrieb im
Newsbeitrag news:Od**************@TK2MSFTNGP12.phx.gbl... > Hi everybody, > > I'm planning to upgrade a VB6 application to VB.NET 2003. In which,some > modules need to communicate with COM port to detect high/low bit signal and > also send signal to COM port. In VB6 application, MSComm control isused. > However, I can't find it or other related control in VB.NET 2003. Iwould > like to know how I can do that in VB.NET 2003. > > Thanks for your attention and kindly help! > > Regards, > James Wong > > Hi James,
in the http://msdn.microsoft.com/vbasic/vbrkit/ ResourceKit is an Control from Sax.
Greeting
Thomas
Hi Thomas,
Thanks for your reply!
I have a license of VB6, does it mean I can use MSComm directly? However,
I'd heard that interop with COM object will affect the performance. Will it
be serious or minor?
Regards,
James
"Thomas Lutz" <to*@taltech.com> ???
news:9m********************************@4ax.com ???... Hi James:
The MSComm ActiveX control should still work in a VB.NET application however you may run into a licensing issue with it. You can find a .NET compatible ActiveX control at the following web site: www.hardandsoftware.com
After you go to the above site, click on "Software Downloads" and select the NETComm.OCX link to get the the download page for it. Basically the NETComm.OCX tool is a wrapper around the MSComm32.OCX activex control and I believe that it should have all the same properties, methods and events that are in the MSComm32.OCX activex control.
For more serial I/O tools, tips and free utilities, visit www.taltech.com On Mon, 14 Feb 2005 12:32:56 +0800, "James Wong" <cp*****@commercialpress.com.hk.NO_SPAM> wrote:
Hi Thomas,
Thanks for your reply! I've installed serial communication control from Sax. However, I found that there is no CTSHolding property which I use before to determine the status of an external device. Do you have any
ideaon this issue?
Thanks again for your kindly advice!
Regards, James Wong
"Thomas Wenning" <no*******************@gmx.de> ¦b¶l¥ó news:uA**************@tk2msftngp13.phx.gbl ¤¤¼¶¼g... "James Wong" <cp*****@commercialpress.com.hk.NO_SPAM> schrieb im
Newsbeitrag news:Od**************@TK2MSFTNGP12.phx.gbl... > Hi everybody, > > I'm planning to upgrade a VB6 application to VB.NET 2003. In which, some > modules need to communicate with COM port to detect high/low bit
signal and > also send signal to COM port. In VB6 application, MSComm control is used. > However, I can't find it or other related control in VB.NET 2003. I would > like to know how I can do that in VB.NET 2003. > > Thanks for your attention and kindly help! > > Regards, > James Wong > > Hi James,
in the http://msdn.microsoft.com/vbasic/vbrkit/ ResourceKit is an
Control from Sax.
Greeting
Thomas
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Chris |
last post by:
Here's the situation:
I work at a scientific institution and I have a portable electronic
device which is used to take measurements. The device produces a very
small amount of numerical data,...
|
by: willie |
last post by:
Hi,
I'm writing a program which requires the use of three serial ports and
one parallel port. My application has a scanning devices on each port,
which I can access fine with pyserial. ...
|
by: dog |
last post by:
I've seen plenty of articles on this topic but none of them have been
able to solve my problem.
I am working with an Access 97 database on an NT4.0 machine, which has
many Access reports.
I...
|
by: Grasshopper |
last post by:
Hi,
I am automating Access reports to PDF using PDF Writer 6.0. I've
created a DTS package to run the reports and schedule a job to run this
DTS package. If I PC Anywhere into the server on...
|
by: cyranoVR |
last post by:
This is the approach I used to automate printing of Microsoft Access
reports to PDF format i.e. unattended and without annoying "Save As..."
dialogs, and - more importantly - without having to use...
|
by: Raphi |
last post by:
Hi,
I've been using an Access application I wrote for an office with the
front-end stored on all computers and the back-end on one of them serving as
an Access file server.
Now we're moving...
|
by: Al the programmer |
last post by:
I need to access the serial ports on my webserver from an asp.net page. I
have no problem accessing the serial ports from a windows form application,
but the code doesn't work in asp.net. I have...
|
by: david.brown.0 |
last post by:
I'm trying to make a Java program access a parallel port. Java's comm
API does not provide me with the control I need. I need to be able to
write to the data and control pins and read the status...
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to...
|
by: Mell via AccessMonster.com |
last post by:
I created databases on Access 2003 and I want to deploy them to users. My
code was also done using 2003.
If they have Ms Access 2000 or higher, will they be able to use these dbs
with all code,...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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,...
|
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...
|
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...
| |