VB.Net 2008: How to use a Custom Resource Provider in .Net windows forms?

I need to localize a windows form application, using an external source, e.g. a database or a text file.
in Asp.Net it's easy using a custom resourceProvider and resourceProviderFactory. But this doesn't work in windows forms. How can I do?
lorenzopuglioliAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
See if this helps:
'
Walkthrough: Localizing Windows Forms
http://msdn.microsoft.com/en-us/library/y99d1cd3.aspx

<Quote>The Visual Studio project system provides considerable support for localizing Windows Forms applications. There are two ways to generate resource files using the Visual Studio development environment:

Have the project system generate the resource files for localizable UI elements such as text and images on the form. The resource files are then built into satellite assemblies. These are known as forms-based resources.

Add a resource file template and then edit the template with the XML Designer. A reason for doing the latter is to make localizable strings that appear in dialog boxes and error messages. You must then write code to access these resources. These are known as project resources.

In general, you should use forms-based resources for all resources specific to a form in your Windows Forms application. You should use project resources for all non-forms-based user interface strings and images, such as error messages. </Quote>
0
lorenzopuglioliAuthor Commented:
Yes, I know the visual studio localization capabilities in standard scenarios. But I need to localize my project using an access database as a repository for the localized strings, instead of xml files or satellite assemblies. In web applications I can do that, because of the provider-model used.
But, I don't know if this mode is also implemented for windows forms.
0
Bob LearnedCommented:
I hear ya, my friend, but unfortunately ASP.NET uses the resource provider model, and Windows Forms uses the resource manager model, and they aren't exactly the same.

Reference:

Trying to implement IImplicitResourceProvider
http://www.west-wind.com/Weblog/posts/4726.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lorenzopuglioliAuthor Commented:
Thank you... I hoped that there were a workaround or similar, but it seems that no one knows how to do!
0
lorenzopuglioliAuthor Commented:
Sorry, by TheLearnedOne did not solve my problem. Why he get the points for the question?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.