Importing ActiveX Controls into .NET
I can successfully add the control to the Toolbox, however when I try and create a control, eg the Microsoft Rich Text Control 6.0, on the form the references are successfully created and then I get the following error:
"One or more of the types in the assembly unable to load"
If I load a project that already has the controls on them, created previously using an Admin account, then when the form is displayed in the IDE, the following errors are displayed in the Task List even though the references are present and viewable in the Object Browser:
C:\Research\DN\WindowsApplication1\WindowsApplication1\Form1.vb(51): The variable 'AxRichTextBox1' is either undeclared or was never assigned.
Could not find type 'AxRichTextLib.AxRichTextBox'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
When the application is run, the control displays successfully.
Has anyone else seen similar behaviour of the IDE?
Thanks,
Tim Day

