473,507 Members | 13,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resource Location vb 2005 .net Expr Edition - multilanguage

Hi to all,

I read from internet that doesn't exist "Generate Resource Location"
for vb 2005 .net EE. But can I do this with a manually procedure? And
How can I do? A can't find a simple/sample tutorial

thanks!

I want to make a simple application with multi-language ITALIAN and
English, where the user can chouse with a radio button it's language
and automaticaly the next form change labels and others.

thanks

Marco Spiga

Mar 31 '07 #1
1 1338
I just read about this in the .Net Internationalization book by Guy
Smith-Ferrier. If you're serious, you should check out the book.

To do what you're trying to do, you have to (1) be able to get a list of
all forms in the app, and (2) reapply the new resources to each form when
the user changes the language.

If you're using .Net 2.0, the first is easy (cycle through
my.application.openforms).

There are two ways to deal with the second problem.

One is to use the ComponentResourceManager to apply the new resources to
each control. The effectiveness of that depends on the components found on
the form.

The second solution is to use Reflection to get a MethodInfo object for the
form's private InitializeComponent method, delete all the controls on the
form, save the form's position, and then invoke the InitializeComponent
method and restore the form's position.

Robin S.
--------------------------
<sp********@gmail.comwrote in message
news:11**********************@p15g2000hsd.googlegr oups.com...
Hi to all,

I read from internet that doesn't exist "Generate Resource Location"
for vb 2005 .net EE. But can I do this with a manually procedure? And
How can I do? A can't find a simple/sample tutorial

thanks!

I want to make a simple application with multi-language ITALIAN and
English, where the user can chouse with a radio button it's language
and automaticaly the next form change labels and others.

thanks

Marco Spiga

Apr 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4512
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
0
1667
by: Josef Meile | last post by:
Hi, I'm working with .resx files for a multilanguage application and so far it has worked perfectly. However, now I want to add more attributes to the xml schema and read them at running time....
1
6592
by: Peter | last post by:
I've purchased VS.NET 2005 Standard and have tried to install SQL Server 2005 Express, but get the following error in the error log. Please could someone help me.... Microsoft SQL Server 2005...
1
1527
by: Savas Ates | last post by:
I created App_GlobalResources directory and I put my Resource file which is named WebResources.resx It includes one record name value Button1 isbuluyorum and other fields are...
1
2720
by: paolob | last post by:
I need to provide multilanguage support to my application. I alredy writed a multilanguage test application, using VS6 and resource only dll. Now i'm using Visual Studio 2005, I find out that it...
0
2248
by: Nickneem | last post by:
I have a multilanguage project, the neutral language is English (United States), and I added a dutch resource file Resources.nl.resx to the project. The forms are localizable too, e.g. there's a...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7110
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.