1
Automation Interface, Add-Ins and Tools / Re: Addin performance observation
« on: April 14, 2008, 10:04:47 am »
Thanks for the explanation - that is very helpful!
I experimented with (what I think) is a very similar setup to yours - that is, I created a .NET Windows Forms UserControl (which can act as an ActiveX control), and used an EA AddIn menu command to invoke it with the AddTab method. However, I did not get any speed up of my processing - the command actually ran slower from the ActiveX control.
That led me one more question that should be quick for you to answer. Once you call AddTab to create the ActiveX control, do you pass the actual EA.Repository object to the control, or do you pass a string that is a filename to open with the Repository.OpenFile() method? And is that any different from when you work without the ActiveX control?
Thanks again,
Kevin
I experimented with (what I think) is a very similar setup to yours - that is, I created a .NET Windows Forms UserControl (which can act as an ActiveX control), and used an EA AddIn menu command to invoke it with the AddTab method. However, I did not get any speed up of my processing - the command actually ran slower from the ActiveX control.
That led me one more question that should be quick for you to answer. Once you call AddTab to create the ActiveX control, do you pass the actual EA.Repository object to the control, or do you pass a string that is a filename to open with the Repository.OpenFile() method? And is that any different from when you work without the ActiveX control?
Thanks again,
Kevin