Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Guids & mmAppConfiguration
Message
 
To
25/05/2007 14:53:24
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01228587
Message ID:
01228663
Views:
20
Jeff,

>Here I am with my Guids again.
>
>When using mmAppConfiguration to save and load data, Guids save fine, but they will not load. I wound up changing the type in the mmAppConfiguration to string and then convert them to Guids.

You and those crazy GUIDs, man! <g>

Actually I checked and mmAppConfiguration isn't set up to handle GUIDs, but it is now <g>. I've added support for GUIDs by adding the following code to mmAppConfiguration.ReadKeysFromConfig(string FileName) under the long "else if" statement near the bottom of the method:
else if (TypeName == "guid")
	mmUtils.SetPropertyEx(this, Fieldname, new Guid(Value));
This change will appear in the next release and you'll be given full glory in the MM .NET Dev Guide.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform