DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  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
    >
    >




Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links