Visual Studio missing Register for Com interop checkbox?

Posted on 2006-05-29
Last Modified: 2012-06-27

 I install the Visual Studio Express version for Visual Basic.

 I'm trying to make a small dll that can be called from another VB6 application. In MSDN I found the following article: "Walkthrough: Creating COM Objects with Visual Basic 2005". I'm trying to follow the steps for "Creating COM Objects Without the COM Class Template".

Here are the steps I have a problem with:
To set up your project to generate a COM object
1. Open a new Windows Application project from the File menu by clicking on New Project.
2. In the New Project dialog box under the Project Types field, check that Windows is selected. Select Class Library from the Templates list, and then click OK. The new project is displayed.
3. In the Solution Explorer, right-click on your project, and then click Properties. The Project Designer is displayed.
4. Click the Compile tab.
5. Select the Register for COM Interop check box.

 Now, when I go to the compile tab I don't see a 'Register for COM interop' checkbox. Is this an error in the MSDN documentation? Is the express version not suited to do this? Did anybody do this before?

 Without the checkbox I am able to create the dll but then I am not able to register it in my VB6. When I browse to my dll and select it I get a message box 'Can't add reference to the specified file'

regards, H_3k
Question by:H_3k
    1 Comment
    LVL 44

    Accepted Solution

    Hello H_3k,

    you have to some of the visual studio work yourself if you're using express editions

    this is a nice reference since i need it myself in the coming weeks ;-)

    sharing what you know, learning what you don't

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now