Publishing New Version Problem

Add-in Express™ Support Service
That's what is more important than anything else

Publishing New Version Problem
new Version does not show in MSI based web deployment 
Michael Kaden




Posts: 262
Joined: 2017-11-15
Dear Andrei, thank you for your prompt reply.

I use COM add-in and XLL in the same project, I also use SendMessage() method and the OnSendMessage event and all works fine. I use the ExcelApp() purely in the Com AddIn for example to get the address of a selected range:

range1 = ExcelApp.Selection

So what would this code line be if I do not use ExcelApp()with Host.Application

Sorry perhaps I have no understood it correctly.

Thank you & kind regards

Michael
Posted 19 Nov, 2020 10:17:00 Top
Andrei Smolin


Add-in Express team


Posts: 17502
Joined: 2006-05-11
Michael,

That recommendation applies only to XLL add-ins while you obviously talk about your COM add-in.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Nov, 2020 11:18:14 Top
Michael Kaden




Posts: 262
Joined: 2017-11-15
Thank you Andrei for the clarification, I was not aware that


Public ReadOnly Property ExcelApp() As Excel._Application
Get
Return CType(HostApplication, Excel._Application)
End Get
End Property


is also in the XLL Module. I am not using ExcelApp() in the XLL Module so I commented the property out and the warning went away.

Thank you very much & kind regards

Michael
Posted 19 Nov, 2020 14:49:26 Top
Andrei Smolin


Add-in Express team


Posts: 17502
Joined: 2006-05-11
Welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Nov, 2020 02:45:10 Top