Storing XML/XCB files in Resource FIles? |
Post Reply |
Author | |
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
Posted: 24 February 2005 at 3:18pm |
I'm trying to limit the number of files distributed with my app, and already have resource file which stored most of the strings used by the app which are implementation specific. Since the commandbars require an XML/XCB file whose configuration varies with each implementation, I am trying to save the XML string to the resource file, however... My XML file is now 120kb and the XCB file is 60kb. When I tried pasting the XML file into a VB6 resource string, it gets truncated. Does anyone know if this is a VB limit, or would another resource editor be able to handle the large file? If so can you name a good, preferably cheap, resource editor? Alternatively, can the XCB file be stored in the resource file? If so, is there a good way to do so? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
If you use the XML file and serialize the images there is no need for
the XCB file. It is redundant to include both of them when you
can just have the XML file. You might be able to break the string
up into smaller string and reassemle them, or maybe just hard code it
into the app once right before your release.
|
|
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
Hi supermario - you're on the ball today!!! I only plan to distribute either the XML or the XCB. The XCB has the benefit of being smaller. As the app needs to grow and change rapidly, we are trying to avoid hardcoding potentially changable items. The commandbars, in the short-term will ceertainly change as we add new modules. Perhaps i'll save the xml string in the central database |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |