473,320 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

problem with localizable controls in dll. It doen't work!!

I have created a framework with all our controls and forms we re-use
in different projects. When we build the framework application we
have a dll that we can reference in our project. When I create a form
in my new project I can inhertis from a form in my framework thru the
referenced dll.

I will illustrate this with an example:
I have a login form in the framework with 2 labels (User and
pasword),
2 textboxen (user name and pasword) and 2 buttons (OK, Cancel).
With the
property localizable and language, I have created the form in
dutch and
french.

code in project:

Thread.CurrentThread.CurrentUICulture = New
CultureInfo("fr-FR")
Dim objlogin As New LoginForm()
objlogin.ShowDialog()

In my project (referene to the framework.dll), I define a object to
that login form and display it (showdialog). I set the
currentUICulture to fr-FR (french) before definition.
I would expect that my loginform shows up with the labels in frech
(User = Utilisateur, pasord = mot de passe) but it isn't (still
english).
What the hell I'm doing wrong???????

when I inlcude the loginform from my framework into my project it
works fine. So I think that localizable doesn't work thru dll's

Is somebody out there that can help me???

Thank you in advance

Kristof Brebels
IT-Departement
kb******@profel.be
Nov 20 '05 #1
0 1006

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

Similar topics

4
by: John Tyce | last post by:
The problem that I am now having, involves refreshing controls. I have allot of text boxes, several combo boxes and grids. These controls are showing live data from an Oracle database. I have dates...
2
by: Ludovic SOEUR | last post by:
Have everyone tried to create controls in separated threads ? I have a problem that I do not understand. To simplify the explanations, I wrote theses few lines to show an example of the problem....
5
by: raagz | last post by:
Hi, I am using the .NET validation controls for validating . The validation works fine with IE but none of them work with Netscape 6 browser. Do i have to configure something in vS.NET to...
1
by: Sosh | last post by:
Hi, I'm pulling my hair out trying to work this out. Pehaps I am missunderstanding something - hopefully someone can shed some light on this: 1) I have a class library that contains a bunch...
1
by: aidancasey | last post by:
I have written a custom control called CheckboxDataList that derives from the DataList webControl. My control contains a public property called CheckedValues. The type of this property is a...
0
by: anandv81 | last post by:
Hi, I encountered a strange problem while working on an application, the problem goes like this. I am generating a few textboxes at runtime at the server side and added to a placeholder, a...
8
by: karthey | last post by:
Hi, I have set the data row filter as "(eff_date <= '#3/19/2007 8:25:00 AM#' AND ('#3/19/2007 8:25:00 AM#' <= term_date OR term_date IS NULL))". The filter works some time and doen't work...
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
4
by: pankajsingh5k | last post by:
Hi guys, These question is for all the experts... Please help me before my brain explodes The problem is again with the formview control.. I have a formview and i have to use it that...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.