Hi,
I am currently implementing an application using the Docking Frames library.
The application currently saves the workspace layout to a file in the C: emp folder. This is a short term solution. In the long term I wish to save the layout to a database using an existing table called user profile which has a path key (String length=255) and a value (String length=100). What I plan to do is to implement a database encoding for the layout which is independent of the docking frames technology which will work with other similar technologies. One option which is not available is saving the layout as a BLOB or similar database type. The information must be encoded using path key and value pairs.
One of my ideas to do this may be to encode the format in XML and take the data from there and persist it in the database. When restoring the layout I would take the data out of the table and put it back into a new XML structure and create the layout from this. If anyone has any better ideas please could you tell me them?
Can you tell me if this seems possible and if you have any ideas as to how it could be implemented?
Any help would be gratefully received.
Cheers, George.