-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Abh4Dotnet
Message 5 in Discussion

Hi   Here is what microsoft says of the exception.   
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemresourcesmissingmanifestresourceexceptionclasstopic.asp
   In fact as it says the exception does look like you are referring to a particular 
culture and the resource file for that particular culture is not available and hence 
.NET runtime is searching for the very next ie the default culture.     In fact 
Satellite assemblies are placed in seperate folder under the application bin folder. 
say for german de-DE This infact forms the culture specifier. Using VS.NET  if u set 
the localizable property of a form to true and set the Language to German(Germany) 
then VS.NEt will ityself create a folder  de-DE and place the .resx/resources file 
under this. the dll will also be created under this folder.    this is how it will 
look like App  +--bin   +--debug     +--de-DE     +--nl-NL   It is really these 
folders that work like satellites and the resources (dlls/assemblies) placed under 
these are called satellite assemblies. When installing a .NET App we normally need to 
install thse under the app folder under the folder with same names   App +--de-DE 
+--nl-NL   In fact .NET app when it starts off searches for a default culture and if a 
specific culture is specified (by either setting the CurrentUIculture property to 
"de-DE" ) then it looks for the file <YourAppName>.Resources.dll file which it needs 
to be present under the de-DE folder. In fact it is nothing more than a few language 
directories (de-DE, nl-NL) that act like satellites around the application and provide 
those assemblies with it for language support.This way of multi langauge support is 
very useful as support can be added anytime after the application is installed.   and 
to add up: Under VS.NET tutorials typically under <Your VS.NET installation 
drive>:\Program Files\Microsoft Visual Studio .NET 
2003\SDK\v1.1\Samples\Tutorials\resourcesandlocalization\reseditor. This is a nice 
tool for you to create resource files includinng both text and image resources (binary 
format).   HTH, Abhilash

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to