Save PropertyBag


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Save PropertyBag

  1. #1
    Wesley Long Guest

    Save PropertyBag

    Has anyone developed/found a good way to save and restore an entire property
    bag without having to iterate through all the items in it?



  2. #2
    Dean Earley Guest

    Re: Save PropertyBag

    "Wesley Long" <weslong@wesware.com> wrote in message news:3cfe81ba$1@10.1.10.29...
    > Has anyone developed/found a good way to save and restore an entire property
    > bag without having to iterate through all the items in it?


    Ummm, the Contents property?

    That is what its there for IIRC.

    --
    Dean Earley (dean.earley@icode.co.uk)
    Assistant Developer

    iCode Systems



  3. #3
    Wesley Long Guest

    Re: Save PropertyBag

    Sorry, I should have been more specific. I am trying to save the contents
    of my own ActiveX control. In the docs for PropertyBag.Contents, I found:

    This property only applies to a PropertyBag declared As PropertyBag; it does
    not apply to a PropertyBag object contained in a UserControl or UserDocument

    I guess I need to do some more playing around with it. I probably need to
    create a separate procedure in the object to mimic the
    UserControl_WriteProperties and UserControl_ReadProperties events.

    I was hoping someone had an "Easy" way ready to go. Sorry I wasn't clear
    enough.


    "Dean Earley" <dean.earley@icode.co.uk> wrote in message
    news:3cff5dae@10.1.10.29...
    > "Wesley Long" <weslong@wesware.com> wrote in message

    news:3cfe81ba$1@10.1.10.29...
    > > Has anyone developed/found a good way to save and restore an entire

    property
    > > bag without having to iterate through all the items in it?

    >
    > Ummm, the Contents property?
    >
    > That is what its there for IIRC.
    >
    > --
    > Dean Earley (dean.earley@icode.co.uk)
    > Assistant Developer
    >
    > iCode Systems
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center