In-Process COM

46 views
Skip to first unread message

aberglas

unread,
Sep 13, 2025, 4:16:36 AMSep 13
to Excel-DNA
Hello Govert,

I have people complaining that the dynamic COM does not meet their security requirements due to dynamic Prog-IDs.  I love it because it avoids installers,  my VBA loads it when necessary.

Is it possible to use in-process COM?  Or to fix the Prog-IDs?  Or some other work around?

Thanks for your excellent tool,

Anthony

Govert van Drimmelen

unread,
Sep 13, 2025, 9:22:32 AMSep 13
to Excel-DNA
What are you using the COM for? The ribbon host, or objects exposed to VBA?

In some cases of you add Clair and progid attributes to your class, they will be used.

-Govert

--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/exceldna/6805afcc-8fae-4042-a736-2346ff902772n%40googlegroups.com.
Message has been deleted
Message has been deleted

aberglas

unread,
Sep 15, 2025, 8:20:37 AMSep 15
to Excel-DNA
Hello Govert,

I have the bulk of my application in VBA, and a small part in .Net for advanced UI in a window it creates.  The only thing I need is to be able to Application.Run in both directions.  I never directly access the Excel model from .Net, always via the VBA.

1. Can I use in-process COM
2. Should I even using COM for this?

(While Microsoft hates VBA, it is still be far the easiest environment to use with Excel.  Their Javascript is a disaster!)

aberglas

unread,
Sep 15, 2025, 8:20:38 AMSep 15
to Excel-DNA
Hello Govert,

Most of my application is in VBA, but some UI parts are in .Net.  So I use COM to connect the two.

Is it not possible to use in-process COM, which I understand should not have any security concerns?

Anthony

On Saturday, September 13, 2025 at 11:22:32 PM UTC+10 Govert van Drimmelen wrote:
Reply all
Reply to author
Forward
0 new messages