Hello Everyone

I am trying to have a persistent property in a multiuse, persistable class. Here is the code:

VB Code:
  1. Option Explicit
  2. Private dbPath As String
  3.  
  4. Public Property Let DatabasePath(path As String)
  5. dbPath = path
  6. PropertyChanged "DatabasePath"
  7. End Property
  8.  
  9. Public Property Get DatabasePath() As String
  10. DatabasePath = dbPath
  11. End Property
  12.  
  13. Private Sub Class_ReadProperties(PropBag As PropertyBag)
  14. dbPath = PropBag.ReadProperty("DatabasePath")
  15. End Sub
  16.  
  17. Private Sub Class_WriteProperties(PropBag As PropertyBag)
  18. PropBag.WriteProperty "DatabasePath", dbPath
  19. End Sub

The problem is eventhough I invoke PropertyChanged method, none of the ReadProperties or WriteProperties methods are called (although I know the class goes out of scope and is re-instantiated). Any ideas?