I have written a quick COM program that seems to be working ok. now.... quick question:

What is the equivalent to VB 'unload'? This gets called when there are things you want done when the program quits.

I tried me.close() and me.dispose() but I get errors on each of these.

I want the program to stop running and self terminate - quit when it is done... any ideas?

Keith