Microsoft Excel reporting and 
 data analyzing with practically no coding. 
 .Net, ActiveX, and VCL versions. 
 www.AfalinaSoft.com  

Home    Products    Downloads    Registered users    Support    Prices    Order    Primary Subscription

 

MS Office COM Add-ins. Microsoft Excel reporting 
 and data analyzing


TaxpFactory methods - Office Add-in Express Reference

<< Previous

Table of contents

Next >>


TaxpFactory methods


Create

Creates and initializes a new TaxpAddIn object.

public
constructor Create(ComServer: TComServerObject;
AutoClass: TAutoClass;const ClassID: TGUID;
ASupportedApp: TaxpOfficeHostApp;
const AAddInName, ADescription: string);

Calls TAutoObjectFactory.Create. The class factory should be instantiated in the initialization section of the unit that includes the code for the TaxpAddIn it instantiates.

inherited Create(ComServer, AutoClass, ClassID,
ciMultiInstance, tmApartment);

Parameters:

  • ASupportedApp - specifies the MS Office application, the add-in is designed for.
  • AAddInName - the name of the add-in.
  • ADescription - contains the string accessible through the COMAddin.Description property.

Sample code:

initialization
TaxpFactory.Create(ComServer, TMySecondAddIn,
Class_MySecondAddIn,ohaExcel, 'MySecondAddIn',
'This is my second COM add-in for MS Excel');
end.

Page Top

CreateEx

Creates and initializes a new TaxpAddIn object.

public
constructor CreateEx(ComServer: TComServerObject;
AutoClass: TAutoClass; const ClassID: TGUID;
ASupportedApps: TaxpHostAppSet;
const AAddInName, ADescription: string);

Calls TAutoObjectFactory.Create. The class factory should be instantiated in the initialization section of the unit that includes the code for the TaxpAddIn it instantiates.

inherited Create(ComServer, AutoClass, ClassID,
ciMultiInstance, tmApartment);

Parameters:

  • ASupportedApps - specifies the set of MS Office applications, the add-in is being designed for.
  • AAddInName - the name of the add-in.
  • ADescription - contains the string accessible through the COMAddin.Description property.

Sample code:

initialization
TaxpFactory.CreateEx(ComServer, TMySecondAddIn,
Class_MySecondAddIn, [ohaExcel, ohaWord,
ohaOutlook], 'MySecondAddIn',
'This is my second COM add-in for MS Excel');
end.

<< Previous

Table of contents

Next >>



Developed for

Delphi 5, 6, 7
Excluding Delphi Personal


[ Download it ]

[ Order now ]

Immediate shipment




ADX Toys™

Free sample
add-ins with a complete source code based on Add-in Express.

[  Read more  ]




We are Borland 
 technology partner


Copyright © 1999-2006
All right reserved.
Privacy Policy

Write to WebMaster

Page Top
Add-in Express - COM Add-ins, Smart Tags and RTDS in C#, VB, C++, J#, and Delphi