Hello Mart,
I am pretty sure it is not right to talk of 'equivalent' as the VS .NET
automation model is quite different from the VB6 one, it'd be more correct
to talk of objects with the closest functionality.
The closest replacement for the CodePane object would probably be the
TextWindow, TextPane and the TextDocument objects.
The closest replacement for the CodeModule object would probably be the
CodeModel object and its underlying hierarchy (CodeClass, CodeFunction and
so on).
Hope this answers your question.
P.S. I would also like to warn you that such a port might require a
significant amount of re-writing add-in logic as the two automation models
have little enough in common. So I wish you good luck in this effort!