Use COM dll developed in VS2010.NET on a Windows2000 client

Posted on 2011-09-27
Last Modified: 2012-08-14

I have developed a class library named TestProjCOM using the "Create a COM callable assembly in Visual basic.NET" on the following page.

After building the solution I have these files in my /Release directory

Now I want to use the dll on a Windows 2000 machine. How do I go ahead and register the dll?

Question by:IT-VAS
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 70

Expert Comment

by:Éric Moreau
ID: 36709865
apps built with VS2010 targeting the .Net Framework 4.0 can't run on W2K. check
LVL 70

Expert Comment

by:Éric Moreau
ID: 36709870

Author Comment

ID: 36709936

Will it be possible to create the Class library for .NET framework 2 and get it to work under W2K?

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

LVL 70

Expert Comment

by:Éric Moreau
ID: 36710111
it should be running

Author Comment

ID: 36717572

I have tried registering with regasm.exe in the command prompt. I can reference the .TLB file in Visual Basic 6,
but I get an error when I try to create the object. During regasm it says something about a strong name.
How can I get my .dll to be strong name?


C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>Regasm C:\testprojCOM2\TestProjCOM
2.dll /tlb: C:\testprojCOM2\TestProjCOM2.tlb /codebase
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.3053
Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.

RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can ca
use your assembly to interfere with other applications that may be installed on
the same computer. The /codebase switch is intended to be used only with signed
assemblies. Please give your assembly a strong name and re-register it.
Types registered successfully
Assembly exported to 'C:\testprojCOM2\TestProjCOM2.tlb', and the type library wa
s registered successfully

LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 36717659
LVL 83

Accepted Solution

CodeCruiser earned 250 total points
ID: 36891504

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question