Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / October 2003

Tip: Looking for answers? Try searching our database.

register for com interop - in the ide - deployment doesn't work-what is different

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Randy - 27 Oct 2003 03:58 GMT
Hello,

I have created a dll in C# that is to be consumed by Access XP (Access
10).  So I guess this means it is a com-callable wrapper.  Everything
works great on my development machine.  I have the compiler set to
Register for Com interop = true and am publishing my interfaces for COM
and I can use the dll just fine in Access on my development machine.

After many hours of frustration of trying to deploy I have been
unsuccessful.  What is the trick here?

As far as I can tell there must be some voo-doo magic that happens when
you set register for com interop to true in the IDE.  So my questions
are:

-How do I deploy a com callable wrapper?
-What is the voo-doo that happens when you have the IDE set to register
for com interop?
-How do I set the same register for com interop flag when using the
command line compiler?

Thanks in advance.

Randy
Phil Wilson - 27 Oct 2003 22:38 GMT
You also have an answer in your other post, but setting the Register property to
vsdraCOM for the assembly is the way to do this. This causes VS to run regasm
during the build and extract the required registry settings into the constructed
MSI file. If you nail down your CLSID in the class attributes, you can install
the MSI file on some other system and check that HKCR\{CLSID} refers to your
assembly name, sn, class name, version etc.
Signature

Phil Wilson [MVP Windows Installer]
----

> Hello,
>
[quoted text clipped - 20 lines]
>
> Randy

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.