Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4013564
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:23:14+00:00 2026-05-20T09:23:14+00:00

All, This is a follow up for my question here . My setup: Visual

  • 0

All,

This is a follow up for my question here.

My setup:

  • Visual Studio 10
  • Language C#
  • Excel 2007+
  • Windows XP+

What I would like to achieve is this:

  • Create VSTO addin for Excel with a custom Ribbon component and a custom Task Pane
  • Create an RTD server
  • Create some UDF’s that wrap the =RTD()-calls for the Excel users
  • Have the clients install the Addin through a ClickOnce installation

Apart from the last requirement, I am basically done. The only problem I have is to get the RTD server and the UDF’s registered on the target machine without using regasm.exe.
I basically want the client to indeed click once and then forget about it, especially since there are hundreds of potential users, all distributed geographically over the whole world.

Also, since they are not technically savvy, I do not want them to have to register COM components manually or anything like that.

I do not care if the UDF’s and the RTD server are a separate project, as long as I can include and register them together with the VSTO addin via ClickOnce.

I looked into registration-free COM, but was not for the life of me able to get this to work in my VSTO addin.
What I did was create a second project (a library class) and trying to export and register it for COM interop, then to include it into my ‘main’ project and use it there: it either would not compile (Cannot embed interop types from assembly [...] because it is missing either the 'ImportedFromTypeLibAttribute' attribute or the 'PrimaryInteropAssemblyAttribute' attribute) or not register.

There are loads and loads of examples on the internet for the separate parts of my requirements, but nothing for the full monty.

Am I completely off track here? Can somebody please point me in the right direction and ideally offer some example code/configuration?

Cheers,
Che

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:23:14+00:00Added an answer on May 20, 2026 at 9:23 am

    This can be accomplished using an installer class that runs RegAsm.exe during installation. See:
    How to register a .NET CCW with regasm from a Visual Studio 2008 Setup project

    Hope this helps,
    Frank

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am very sorry. This is follow up for my question here : Why
I've seen this all over the place: Download here! SHA1 = 8e1ed2ce9e7e473d38a9dc7824a384a9ac34d7d0 What does
this is the follow-up to my question about getting a div's content. the second
A follow up to my (flop of a) question(!), here . As said in
This is a follow up question to my previous question . I am trying
This is a follow-up question to my previous post: Python/Scipy Interpolation (map_coordinates) Let's say
This question is a follow up to my earlier question: Creating a valid XSD
All this originated from me poking at a compiler warning message (C4267) when attempting
What's all this business about Flash, Flex, Adobe Air, Java FX and Silverlight? Why
I've managed to mostly ignore all this multi-byte character stuff, but now I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.