By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,269 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,269 IT Pros & Developers. It's quick & easy.

User Control Library using MScomm control

P: n/a
Hi,

I am trying to develope a User Control Library that
features MScomm control. I test my user control in a test
application. When I run the application I receive the
following:

An unhandled exception of
type 'System.Runtime.InteropServices.COMException'
occurred in axinterop.mscommlib.dll

Additional information: Exception from HRESULT:
0x800A1F52.

However, when I use the same user control and the same
test application on my co-workers computer, I do not
receive any unhandled exceptions.

Thank You
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Hi Peter,

I think first you can check if the versions of the MScomm.ocx control on
your 2 machines are the same.
Second, you can check the dependency of your control, if you have missed
some needed files on your machine. (Use the Dependency Walker tool which is
shipped with Visual Studio 6.0).
Third, you should check the license of your control.

Hope this helps,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Peter Krikelis" <pk*******@hotmail.com>
| Sender: "Peter Krikelis" <pk*******@hotmail.com>
| Subject: User Control Library using MScomm control
| Date: Mon, 27 Oct 2003 06:04:28 -0800
| Lines: 19
| Message-ID: <08****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcOckzy5ClT40OpmQLKoG/2wGtSEXA==
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:194355
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hi,
|
| I am trying to develope a User Control Library that
| features MScomm control. I test my user control in a test
| application. When I run the application I receive the
| following:
|
| An unhandled exception of
| type 'System.Runtime.InteropServices.COMException'
| occurred in axinterop.mscommlib.dll
|
| Additional information: Exception from HRESULT:
| 0x800A1F52.
|
| However, when I use the same user control and the same
| test application on my co-workers computer, I do not
| receive any unhandled exceptions.
|
| Thank You
|

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.