How can I make an Interface that implements Code like IDisposable

S

s.willim

I want to mak an Interface than, when I implement it on a class writes full
sub and function code and comment . How must I write my Interface ??

Thanks
 
M

Michel Walsh

IDisposible is a defined dot Net interface (among possibly other things)
while VBA is based on COM technology. If you have in mind the framework
interface IDisposible, with COM, you have to release the reference to the
object, eventually setting it to Nothing after having made any other
required clean-up.


Vanderghast, Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top