Compilation error: The type of namespace name 'AxMsCommLib' could not be found

821 views
Skip to first unread message

Enteri

unread,
Nov 17, 2009, 1:49:06 PM11/17/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
I have some old code that I inherited from a predecessor and when I
try to compile I get the following error:

The type of namespace name 'AxMsCommLib' could not be found

I'm getting this error message after upgrading code to Visual Studio
2008 code on Windows 7.
I believe that the AxMsCommLib Library is needed so that the
application can communicate with a device that is plugged in to the
com port.

I can't seem to find(google) the AxMsCommLib.dll or .ocx to download
so that my code works. I have already included the MsCommLib.ocx in
my list of References.

Any help would be appreciated.

Below is an example of how the Library is referenced in the code.

(CODE)

private AxMSCommLib.AxMSComm axMSComm1;

(CODE)

Raghupathi Kamuni

unread,
Nov 18, 2009, 2:23:56 AM11/18/09
to dotnetde...@googlegroups.com
Download and register these components
MSCOMCT2.OCX
Mscomctl.ocx
MSCOMM32.OCX
 
As given in here
Reply all
Reply to author
Forward
0 new messages