473,513 Members | 3,208 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Resources File And Code Behind

Hello,

I'm trying to use Resources file to manipulate language in my application
Web. I'm using vb.net and framewok 1.1.
I have read some articles about the subject. But i don't understand
everything !

For the moment, i have created différents .aspx page and associated file
..vb.
"My application is not compiled yet into .dll."


So, is it possible to prepare and create resources file and bind it to the
code behind file (.vb). I would like to store in this file "the text" of my
differents web controls in French And English languages.
To be able to get the right text according to the Culture and to fix this
text when the page aspx is loaded by the server.
I'm looking for easy examples to do that to introduce ressources files in my
web application being develop. That is to say, in a first time, work with
..vb file and to habe the possibility to compile all the file later.
Thanks for your help.

fabrice
Nov 20 '05 #1
1 1884
Check out:
http://www.openmymind.net/index.aspx?documentId=3

It has a very basic VB.Net example of how to do resource stuff:
http://www.openmymind.net/localizati...zationSite.zip

If you are interested however, the 3 part article describes a different (and
in my opinion better) way to do multilingual websites :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!

"fabrice" <em******@test.com> wrote in message
news:OC**************@tk2msftngp13.phx.gbl...
Hello,

I'm trying to use Resources file to manipulate language in my application
Web. I'm using vb.net and framewok 1.1.
I have read some articles about the subject. But i don't understand
everything !

For the moment, i have created différents .aspx page and associated file
.vb.
"My application is not compiled yet into .dll."


So, is it possible to prepare and create resources file and bind it to the
code behind file (.vb). I would like to store in this file "the text" of
my differents web controls in French And English languages.
To be able to get the right text according to the Culture and to fix this
text when the page aspx is loaded by the server.
I'm looking for easy examples to do that to introduce ressources files in
my web application being develop. That is to say, in a first time, work
with .vb file and to habe the possibility to compile all the file later.
Thanks for your help.

fabrice

Nov 20 '05 #2

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

Similar topics

7
1747
by: Ken Allen | last post by:
OK, for a number of reasons I have needed to begin experimenting with resources sooner than I had planned (I had avoided it for now). Step 1: I built the 'reseditor' application that is in the...
4
39941
by: Rachel Suddeth | last post by:
What is the difference between a managed/unmanaged resource, and how do you tell which is which? I'm trying to understand how to write some Dispose() methods, and we are supposed to put code that...
0
1366
by: Dwaine | last post by:
I got stumpped on this a while back and used a workaround that involved the "same local username/pwd on both servers" method. Now I'd like to find a cleaner method.... The setup: A webApp...
1
1712
by: Carlo Marchesoni | last post by:
In order to have a mutli-lingual page, I load all .Text, .ToolTip etc from a resource, if the user does not work with the default-language, like this: Thread.CurrentThread.CurrentCulture = new...
4
1395
by: A.M-SG | last post by:
Hi, I need an aspx's code behind program access to a network folder which is only available for specific active directory user. How can I have that specific aspx code login into the active...
6
23835
by: CuriousGeorge | last post by:
I've upgraded a .Net 1.1 web app to 2.0 and am having a heck of a time getting resources to work again. From what I understand if I move my strings.resx file into the App_GlobalResources folder I...
0
3637
by: shamirza | last post by:
· When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and...
1
1965
by: Sean Quinn | last post by:
Hi all, This may have a really simple answer to it, but I can't seem to figure it out no matter how much I think about the problem. I'm working with an MVC framework (presently the most recent...
2
2398
Frinavale
by: Frinavale | last post by:
I am attempting to use embedded resources in an Ajax Enabled ASP.NET Web Application. I'm using Visual Studio 2008 and VB.NET server side code. The project is called "EmbeddedResources" with the...
0
7254
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
7153
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
7373
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
7432
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
7094
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...
1
5079
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...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1585
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
796
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.