Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 30th, 2006, 06:49 AM
Registered User
Join Date: Mar 2006
Location: , , .
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)

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 10:50 PM.

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