Do you call the .Select() method on the pushpin object?
If yes, try this :
It's seems to release the COM object.
Dominic Morin, MCP
dominic.morin@optimarketing.com Code:
MapPoint.Pushpin pin = null;
...
Utilities.NAR(pin);
pin = null;
Code:
public class Utilities
{
public static void NAR(object o)
{
try
{
Marshal.ReleaseComObject(o);
}
catch
{
}
finally
{
o = null;
}
}
}