ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   J++ to J# upgrade of _IDTExtensibility2 Addin (https://www.excelbanter.com/excel-programming/284815-j-j-upgrade-_idtextensibility2-addin.html)

Marc[_15_]

J++ to J# upgrade of _IDTExtensibility2 Addin
 
I'm getting the following error after I upgraded a a J++ project to J#, does
anybody know what the correct declarations for the unrecognized functions
is?

V:\tradingscreen\tsexcel\tsprice\Addin.java(26,7): error VJS1170: 'Addin'
must be declared abstract or these methods must be implemented:
AddInDesignerObjects._IDTExtensibility2.OnAddInsUp date(byref System.Array),
AddInDesignerObjects._IDTExtensibility2.OnBeginShu tdown(byref System.Array),
AddInDesignerObjects._IDTExtensibility2.OnConnecti on(System.Object,AddInDesi
gnerObjects.ext_ConnectMode,System.Object,byref System.Array)...

public class Addin implements AddInDesignerObjects._IDTExtensibility2
{
// _IDTExtensibility2 interface


public void OnDisconnection(AddInDesignerObjects.ext_Disconnec tMode
removeMode, System.Array custom) {}


public void OnStartupComplete(System.Array custom) {}
public void OnAddInsUpdate(System.Array custom) {}
public void OnBeginShutdown(System.Array custom) {}
public void OnConnection(Object application,
AddInDesignerObjects.ext_ConnectMode connectMode, Object addInInst,
System.Attay custom) {}
}




All times are GMT +1. The time now is 02:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com