How to release a ComClass created with templates in VB.NET

Discussion created by margaral on Nov 4, 2013

I need to release an object created from a template of ComClass in Visual Studio. I get this error:

The object's type must be __ComObject or derived from __ComObject

Is it not a ComObject?

The real problem is that I get System Resources Excedeed, so I am trying to release memory.

Thanks in advance!!!