SilverShaded
Well-known member
- Joined
- Mar 7, 2020
- Messages
- 110
- Programming Experience
- 10+
On my main machine, my .Net Core 6 functions work via a comhost.dll / tlb in Excel with no problems. They work if i just manually register it via Power Shell using Regsvr32 inside of visual studio. I can then create a SetUp project and install it on my main machine and that also works, i can use the functions in the DLL from Excel with no problems.
Now the problems start when i install it on another machine, firstly I have to install .Net Core 6 or it fails to register the dll. After installing .Net 6 it installs with no complaints. However when i now start Excel (and referrnce the appropriate TLB file) the functions do not work. The VBA just stops when it should be calling the COM DLL.
I have also tried manually registering the COMHost.DLL which registers ok, but it does not help.
I'm clearlry missing something but have no idea what it could be, can't find any help by googling either. Any ideas? (all the other machines i have tried it on are VMs, don't know if that would make any difference).
Now the problems start when i install it on another machine, firstly I have to install .Net Core 6 or it fails to register the dll. After installing .Net 6 it installs with no complaints. However when i now start Excel (and referrnce the appropriate TLB file) the functions do not work. The VBA just stops when it should be calling the COM DLL.
I have also tried manually registering the COMHost.DLL which registers ok, but it does not help.
I'm clearlry missing something but have no idea what it could be, can't find any help by googling either. Any ideas? (all the other machines i have tried it on are VMs, don't know if that would make any difference).