Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 30th, 2006, 06:49 AM
Registered User
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Making a COM object in VB.NET

I made a COM object in VB.NET that is called from external application
checked "register for COM interoperability" in the build properties,
and when I start external application that calls my .dll
(throught "start external program" in configuration properties)
by compiling my .dll it all works fine.


When I explicitly start that application it fails to load my .dll
because it is not a self-registering COM object.
.NET does not make self-registering COM dll's,
when you check "register for COM interoperability" visual studio
does the registration but does not put code for DLLRegisterServer
in .dll

So basically I need a way to make a wrapper self-registering .dll
around my .NET dll

I also can't escape the feeling that there should be an option in Visual Studio for this (althought clearly there is not)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying attributes of a VB.NET object ziemniakc ASP.NET 1.0 and 1.1 Professional 0 June 19th, 2007 01:17 PM
converting .NET error object in VB error object webnet .NET Web Services 0 February 5th, 2007 06:02 AM
Making COM Object For ASP.NET Use bluethecow ASP.NET 2.0 Basics 1 September 30th, 2006 10:06 PM
Printer Object in VB.NET ashu_from_india General .NET 1 March 8th, 2006 07:16 PM
Making DLLs in VB.NET loganscott2000 VB.NET 2002/2003 Basics 2 April 10th, 2005 04:40 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.