LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default a problem with excel addin

Yes it's confusing. An aX dll addin can be a ComAddin or an Automation
addin, or both. I have a dll that loads on startup (ComAddin) to prepare
things (FWIW adds info for display in the function wizard) and as an
Automation addin for its UDF's.

As a ComAddin and with the IDTExtensibility2 there are various Load behavior
options which can be pre-defined (or changed later in the registry). At
least there are in VB6, I don't know about C#.

It wasn't clear to me what the OP had, indeed I asked (see my Q quoted
below)

Regards,
Peter T

"booleanlogic" wrote in message
...
Peter,
Why does this link say
http://support.microsoft.com/kb/291392

"All Automation Add-ins are loaded on demand; there is no setting that can
change the load behavior for an Automation Add-in"

..when we can set the load behavior of Automation addins to
load-on-startup.


"Peter T" wrote:

If you have 'Initial load behavior' set to 'load on demand' change it to
'StartUp'

In Excel, is the addin installed under Tools/Com Addins... as well as
Addins/Automation addins (if used for UDF's)

Regards,
Peter T

"NA_AB" wrote in message
...
Hi all,
I'm trying to build an excel addin using c# and visual studio. In my
addin,
I'm generating a button which I want to be displayed as soon as I open
my
excel. I did the COM registration also. The button is showing up but
only
after I start writing a "formula" in an excel cell like (=sum, =count)
etc. I
shifted my create button code from Onstartup Complete and Onconnection
of
Connect.cs but of no use.

thanks in advance






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel AddIn .dll problem: 'Can't find object or library' KayC Excel Programming 1 January 29th 07 05:09 PM
Excel 2000 sp3 problem with vba and Solver AddIn Scott Excel Programming 2 June 10th 05 12:55 PM
Excel addin problem markww[_3_] Excel Programming 0 November 16th 04 07:53 AM
Excel addin problem markww Excel Programming 1 November 15th 04 01:35 PM
Custom Addin, Excel Shutdown Problem RodT Excel Programming 4 April 15th 04 06:14 AM


All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"