XLL architecture halts project...

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

XLL architecture halts project...
Desperately seeking core changes... 
Jason Sobell




Posts: 18
Joined: 2008-04-02
We use "Add-in Express™ for Microsoft® Office and .net"

Cheers,
Jason
Posted 12 May, 2008 18:49:49 Top
Jason Sobell




Posts: 18
Joined: 2008-04-02
Oh, and the Standard edition.

Cheers,
Jason
Posted 12 May, 2008 19:23:20 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Jason, I have just sent you an email.
Posted 13 May, 2008 10:29:31 Top
Jason Sobell




Posts: 18
Joined: 2008-04-02
Excellent, thanks Sergey, I'll try it out tomorrow.
Incidentaly, is there any built-in support for the AutoOpen and AutoClose XLL messages (xlAutoOpen, xlAutoClose)?

Cheers,
Jason
Posted 14 May, 2008 11:43:02 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Add-in Express supports all Excel calls to xll add-ins. Please look at the events of the XLLModule.
Posted 14 May, 2008 12:07:00 Top
Jason Sobell




Posts: 18
Joined: 2008-04-02
Sorry Sergey, There's no reference to autoopen or onopen in the help files :)

OK, so I assume I do the following:

public XLLAdditionalModule1()
{
InitializeComponent();
this.MainModule.OnOpen += new EventHandler(MainModule_OnOpen);
}
etc.

I'll give it a go, and I'll try adding [ExcelAutoOpen] and [ExcelAutoClose] etc. attributes to do these automatically.

Many thanks Sergey, your help is very much appreciated.

Cheers,
Jason
Posted 14 May, 2008 19:04:43 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Jason.

Yes, your code is correct.
Posted 15 May, 2008 08:09:59 Top