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 / January 2005

Tip: Looking for answers? Try searching our database.

How do I deploy my RTD Server (Registered for COM Interop)?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 14 Jun 2004 21:41 GMT
What's nice about RTD (vs. DDE) is that excel can start the RTD/COM
server just by typing "=RTD("myserver",...)" into a cell.

I've written an RTD server in C# that runs great on my development
machine, but I'm having a heck of a time figuring out how to register
it correctly for COM interop on a remote computer using the Windows
Installer.

On my development machine, checking the project property "Register for
COM Interop" appears to take care of things, but how do I deploy my
assembly and have it register for COM correctly on a target computer?

Most of the examples I've seen use gacutil.exe, which isn't available
on a computer without VStudio .NET installed!

Mike
Gavin Jacobs - 16 Jun 2004 18:36 GMT
I'm not an expert, but probably the easiest is to make a setup program.

> What's nice about RTD (vs. DDE) is that excel can start the RTD/COM
> server just by typing "=RTD("myserver",...)" into a cell.
[quoted text clipped - 12 lines]
>
> Mike
Sunny - 16 Jun 2004 19:40 GMT
Hi Mike,
gacutil installs the dll in the GAC. You do not need it to register the
assembly for COM interop. What you need is regasm.exe.

Sunny

> What's nice about RTD (vs. DDE) is that excel can start the RTD/COM
> server just by typing "=RTD("myserver",...)" into a cell.
[quoted text clipped - 12 lines]
>
> Mike
Mike Kamzyuk - 13 Jan 2005 18:37 GMT
Does anyone know how to make an exe with the com interface? Isn't a com
interface a dll by definition?
Fredrik Wahlgren - 13 Jan 2005 19:18 GMT
> Does anyone know how to make an exe with the com interface? Isn't a com
> interface a dll by definition?

No. Applications like Excel have COM interfaces too.

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.