I've been writing an application that uses class objects and understand that when releasing the object I need to set the variable reference to nothing i.e.
Set objMyObject = Nothing
However, within the class itself I have several property get statements that return a reference to the object and therefore use the set statement thus:
Public Property Get WinsockControl() As Object
Set WinsockControl = ctlWinsock
The above example obviously creates a reference to the object - where do I release it?? At the moment my program appears to crash all over the place and I suspect that it may be because objects aren't been released correctly.