Visual Studio missing Register for Com interop checkbox?
Posted on 2006-05-29
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'