473,775 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment of my .Net app with MSCOMM32.oxc Active-X component fails

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 have VS 2003 FW 1.1 and VS
6.0 installed). When creating the setup, it nicely includes the mscomm32.ocx
and the interop module in the setup project. When installing it on a client
machine, everything appears to be ok, and even talking to the mscomm32.ocx
does not throw any exceptions. The problem is that this component does not
talk to the serial port ... so it's pretty useless.

I suppose there's something missing, any hints of what that could be, or how
I could track it down and solve this?

Thanks, Urs.
Nov 21 '05 #1
2 2872
I've used the RS232.vb module from this article in my VB .net applications
and have been able to use the COM ports without using the OCX.

http://www.microsoft.com/downloads/d...DisplayLang=en
"Urs Vogel" <uv****@msn.com > wrote in message
news:un******** *****@TK2MSFTNG P11.phx.gbl...
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 have VS 2003 FW 1.1 and VS
6.0 installed). When creating the setup, it nicely includes the
mscomm32.ocx and the interop module in the setup project. When installing
it on a client machine, everything appears to be ok, and even talking to
the mscomm32.ocx does not throw any exceptions. The problem is that this
component does not talk to the serial port ... so it's pretty useless.

I suppose there's something missing, any hints of what that could be, or
how I could track it down and solve this?

Thanks, Urs.

Nov 21 '05 #2
That's cool, just changed it and got rid of the ocx. Thanks.

Urs
"Terry Olsen" <to******@hotma il.com> schrieb im Newsbeitrag
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
I've used the RS232.vb module from this article in my VB .net applications
and have been able to use the COM ports without using the OCX.

http://www.microsoft.com/downloads/d...DisplayLang=en
"Urs Vogel" <uv****@msn.com > wrote in message
news:un******** *****@TK2MSFTNG P11.phx.gbl...
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 have VS 2003 FW
1.1 and VS 6.0 installed). When creating the setup, it nicely includes
the mscomm32.ocx and the interop module in the setup project. When
installing it on a client machine, everything appears to be ok, and even
talking to the mscomm32.ocx does not throw any exceptions. The problem is
that this component does not talk to the serial port ... so it's pretty
useless.

I suppose there's something missing, any hints of what that could be, or
how I could track it down and solve this?

Thanks, Urs.


Nov 21 '05 #3

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

Similar topics

2
17934
by: Tom Hill | last post by:
I am having trouble using MSComm32.OCX in my VB6 application. When I attempt to use the set command to create the comm object, like this: Dim MSComm1 As Object Set MSComm1 = CreateObject("MSCommLib.MSComm") the compiler errors-out with the message "Run-time error 429: ActiveX comonent can't create object". The online help indicates this problem can be caused when the MSComm32.OCX
0
1469
by: Brian Young | last post by:
(Sorry for double post) We are investigating the conversion of all our Legacy applications to VS.Net. Most of our applications run as ActiveX Controls hosted in Internet Explorer. This has made our support of the controls for updates very easy as we currently just publish the updated MSI files to Active Directory - we are using Intellimirror and GPO w/ Active directory to update our applications on all of our client computers. The...
5
2203
by: Sue | last post by:
How do I launch an executable at the end of an installation created by Microsoft Visual Studio setup and deployment project?
2
2744
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 need to register MSComm32.dll into the C#? i read in .NET documents doing this with Ic.exe but i wasn't success. Any help would be greatly appreciated... Thanks in
0
1471
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 need to register MSComm32.dll into the C#? i read in .NET documents doing this with Ic.exe but i wasn't success. Any help would be greatly appreciated... Thanks
0
1753
by: VR | last post by:
I wrote a wrapper class around mscomm32.ocx in C# and I have a problem deploying it to a PC without IDE installed. I am getting an error message about the class not being licensed. I found some references to that in MS knoweldge base - they claim I need to add the license manually to the cotrol, at run time Here is what my class is like I added reference to mscomm32.ocx in project and then created my class I purposely use MSCommClass...
1
1935
by: Ken Maitland | last post by:
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...
8
1323
by: Brian Henry | last post by:
Hello, I know it is possible to have deployable applications during login of win2k and win xp systems through active directory, but i was wondering if it is possible to create a deployment module from VS.NET to deploy a VB.NET application across a network domain through active directory, is this possible? and if so how? thanks!
4
371
by: Bob | last post by:
Hi, Background: I have an app that deals with a widget hung off the comm port. I am moving the widget handling part into a DLL so that other apps can make use of it. At the moment I intend to use Richard Grier's DesktopSerialIO DLL to replace MSComm32.ocx seeing I won't have a form available to host the OCX. Now the fun part. I have been told loosely that the DLL may want to be used on 'other platforms'.
1
1226
by: kannank24 | last post by:
i am using MScomm32.ocx while deploying its saying ....MScomm32.ocx needs dependency and i cant able to go further... can anybody help me out
0
9622
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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
10268
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
10107
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
7464
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
5360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4017
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
2853
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.