473,769 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CurrentT hread.CurrentUI Culture = New
CultureInfo("fr-FR")
Dim objlogin As New LoginForm()
objlogin.ShowDi alog()

In my project (referene to the framework.dll), I define a object to
that login form and display it (showdialog). I set the
currentUICultur e 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 1022

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

Similar topics

4
2348
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 in a combo box in my tool bar that are associated with the particular report that the user is opening. When the user picks a different date all of the data in the controls should reload. I originally built an SDI application but needed my tool bar to...
2
1585
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. This program do nothing more than showing a button "Start thread". When it is pushed, a new thread is started in which a usercontrol is created, showing another button. That's all. Everything works, but, when like this source code I put the line...
5
304
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 make the validations work in Netscape too or is it .net validation controls dont work with Netscape.
1
1188
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 of custom web controls. Two of these controls are derived from the TextBox control, and overide the onLoad method in order to add some client side attributes, eg: namespace SomeControls{
1
1505
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 generic <List> of strings using System; using System.Collections.Generic; using System.ComponentModel;
0
1601
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 value is set for each of the textboxes. There is a button that causes the page to be posted back and the texboxes are re-rendered. When the textboxes are re-rendered the values are reset and these texboxes are again added to the placeholder. The names
8
5190
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 most of the time for term_date. what can I do to make to work?
8
2780
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 64-bit. MySQLdb installs with the usual warnings after applying the various patches I found here and there. These patches consist of altering _mysql.c and site.cfg.
4
8563
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 when it displays it shows values from the database and i have a link button edit on the ItemTemplate that changes the mode to edit mode and allows to edit the values which can be edited...
0
10219
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9998
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7413
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5310
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
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 we have to send another system
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.