title: Creating ActiveX dll in vb6
body: <p>We are currently working on creating an ActiveX dll for migrating our existing xlt template file. For this we tried creating an ActiveX dll in VB6. We were successful in creating the Add-Ins but we are facing a serious issue.</p>
  
  <p>The AddinInstance_OnConnection is being called indefinitely leading to creation of multiple excel objects. As this is the primary method that gets called when the host application creates the Add-Ins we are not able to stop this execution.</p>
  
  <p>Can anyone please provide us some suggestion for the above problem.</p>
  
  <p>Thanks in advance</p>
  
  <p>ram</p>