Hi I have created a active X control using VB 6.
i have registered it and now trying to use it in my EA Addin.
i am using the follwing code:
Repository.AddWindow("Test Window", "Project1.UserControl1");
the code executes with no exception raised but the window does not get added, i even checked under the work space layout.
Does the control have to be written in .NET?
If i try to add it using:
Repository.AddTab("Test", "Project1.UserControl1");
i get the "attempted to read or arite protected memory error...."
Please can someone help with this or maybe point me to the correct Microsoft articles that shows how to create a OCX in .NET
Thanks in advance.