G
Guest
How do i determine if there are any references to an object
The object is a dataset that very rarely changes. It is loaded at app start up and used as the data source for combos etc
On the rare occasion it changes i want to refresh it, but only if no references exist
Im refreshing it, but what is happening is if a combo box in on display that uses it it stuffs up
So i only want to refresh it if no references exist
The GC does not seem to have any method like GetReferenceCount(object
Regard
Michael
The object is a dataset that very rarely changes. It is loaded at app start up and used as the data source for combos etc
On the rare occasion it changes i want to refresh it, but only if no references exist
Im refreshing it, but what is happening is if a combo box in on display that uses it it stuffs up
So i only want to refresh it if no references exist
The GC does not seem to have any method like GetReferenceCount(object
Regard
Michael