?
Solved

Visual Studio missing Register for Com interop checkbox?

Posted on 2006-05-29
3
Medium Priority
?
1,628 Views
Last Modified: 2012-06-27
Hi,

 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
0
Comment
Question by:H_3k
1 Comment
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
ID: 16784005
Hello H_3k,
--------

you have to some of the visual studio work yourself if you're using express editions
http://www.codeproject.com/dotnet/nettocom.asp

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

--------
bruintje
sharing what you know, learning what you don't
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

809 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