On Thu, 21 Aug 2008 19:58:00 -0700, sippyuconn
<si********@newsgroup.nospamwrote:
Hi
I have a Solution with 50 project and over 100 forms - I need to ensure
That on each form the Localizable Property is set to TRUE
Where is that property store and is there a way to write a macro
or something to set this property for all forms or do I need to write a
script to do it???
As near as I can tell, this information can be found in the form's *.resx
file. I don't know whether that's the Designer's primary place to store
the property, but when it's set to true, this file includes all the
properties and their settings, including the Localizable property. I
don't know much about localization but presumably different *.resx files
can be created for different locales.
So you could write something that looks in the *.resx files for the
Localizable node (it's an XML file) and if it exists, verify that the
value is "True" (as near as I can tell, if it's present, it should be set
to "True"). If it doesn't exist, then the form doesn't have the
Localizable property set.
There's a finite number of places the information _could_ be stored, so if
the above isn't helpful, you might just try looking at the various project
files and see what changes when you change the property value. :)
Pete