Doubt in VB

Results 1 to 2 of 2

Thread: Doubt in VB

  1. #1
    Join Date
    Dec 1969

    Default Doubt in VB

    I open a vb activex dll project and in the class properties there is a property called "Persistable". What exactly does this property mean, and when she i use it and not use it?

  2. #2
    Join Date
    Dec 1969

    Default RE: Doubt in VB

    Setting a class to Persistable allows you to store it&#039;s properties externally. When a class is set to persistable you get 3 new methods - InitProperties, ReadProperties, and WriteProperties. InitProperties will get called when an object is created - the other two are up to you (I think).<BR><BR>You can then store and retrieve data about an object from a db, file, etc.<BR><BR>Here&#039;s a short article that I found helpful:<BR><BR>Note - I have never used it, so I&#039;m not sure about when you should or should not make a class persistable. I can see how it would be handy, but I&#039;m not sure if there are performance implications, etc.<BR><BR>Best of luck,<BR>-CapnCrunchy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts