| 
				                                 Yair Eshel                				 
                					 
                     
                
                
                
                                 
                 
                
                
                                 
                                        Posts: 9 
                                                        Joined: 2007-02-27 
                                                
         | 
        
                
                
                I got some complains about performance of outlook since the component I made was installed. I've tested it, and it starts the minute I add a button to a bar. Do you know of anything I should be aware of?
 Outlook 2003 took 5 Sec for a new message window to load the first time, and less then 1 sec to load the second time I asked for it. Now after adding a button, that did nothing beside being a button, it took 17 seconds to load a new message window the first time, 10 seconds for the 2nd time. I'm using Borland??? Delphi??? for Microsoft??? Windows?Â?Ô?? Version 10.0.2166.28377 Update 1, with the basic package.                  |   
                 
         | 
  
  
        | 
				                                 Dmitry Kostochko                				 
                					 					 
                
                
                
                 Add-in Express team                 
                 
                
                
                                 
                                        Posts: 2887 
                                                        Joined: 2004-04-05 
                                                
         | 
        
                
                
                Hi Yair,
 
 You need to set the FastCommandBarSearch property to true:
 
procedure TAddInModule.adxCOMAddInModuleAddInInitialize(Sender: TObject);
begin
  //
  // Outlook + Word trick
  // use indexed property instead of "for i := 1 to CommandBars.Count"
  //
  Self.FastCommandBarSearch := True;
end;
 
 
 
 P.S. Note that we take up your forum requests in the order we receive them.
 Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
 
                  |   
                 
         |