473,320 Members | 1,858 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.

Another LCID question


When using Session.LCID to set different locales for different users using a
webapp, is it possible to change those locale specific settings somehow?

Let's say some picky user doesn't like a date format with leading zero's,
and this happens to be the default for his locale,
is there a way to change this setting for this locale (using Regional
settings in the control panel?) or is this simply impossible.

thx,
J.
Jul 19 '05 #1
2 1300
"J. Baute" <WU**********@spammotel.com> wrote in message
news:40**********************@news.skynet.be...

When using Session.LCID to set different locales for different users using a webapp, is it possible to change those locale specific settings somehow?

Let's say some picky user doesn't like a date format with leading zero's,
and this happens to be the default for his locale,
is there a way to change this setting for this locale (using Regional
settings in the control panel?) or is this simply impossible.
That's correct. It's impossible (but ASP.NET allows much more granularity
for specifying locales).

I have ported the var** API from oleautomation. This way I also have a
Format function for scripting.
http://www.nieropwebconsult.nl/downl...nphasedout.zip
the multilanguage.asp page shows how to use it.

thx,
J.


Jul 19 '05 #2

"Egbert Nierop (MVP for IIS)" <eg***********@nospam.com> wrote in message
news:uY**************@TK2MSFTNGP11.phx.gbl...
"J. Baute" <WU**********@spammotel.com> wrote in message
news:40**********************@news.skynet.be...

When using Session.LCID to set different locales for different users using
a
webapp, is it possible to change those locale specific settings somehow?

Let's say some picky user doesn't like a date format with leading

zero's, and this happens to be the default for his locale,
is there a way to change this setting for this locale (using Regional
settings in the control panel?) or is this simply impossible.


That's correct. It's impossible (but ASP.NET allows much more granularity
for specifying locales).

I have ported the var** API from oleautomation. This way I also have a
Format function for scripting.
http://www.nieropwebconsult.nl/downl...nphasedout.zip
the multilanguage.asp page shows how to use it.


thanks, I'll check it out


Jul 19 '05 #3

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

Similar topics

0
by: Claudio Cezar | last post by:
I live in Brazil and i am trying to set my application to work with american date format. The problem is, even when i set the LCID property at the beginning of my code, it always returns the...
2
by: grw | last post by:
Trying to locate the list of valid lcid's on MS's site and googled. Ive toiled long and hard, but alas I cannot locate the information. (previous links moved) Could anyone point me in the...
4
by: Chopper | last post by:
I realise this question has been raised many times but I am still no wiser as to why setting the locales will not work in my ASP application. I have searched on google groups etc. and tried...
0
by: Darren | last post by:
I used the following code on a server; <% ReturnDateTime 1033, "English (US)" ReturnDateTime 2057, "English (UK)" ReturnDateTime 3081, "English (Australia)" ReturnDateTime 1031, "German" ...
6
by: J. Baute | last post by:
I'm doing some tests to see if the Session.LCID can be used to easily change a user-dependant locale for number & date/time formatting in ASP. As far as I get the theory this should work, but I'm...
8
by: Rob | last post by:
Hi all, Is it possible to change the Session.LCID in a hyperlink? My problem is I'm calling a Date from a database to use as a querystring in the hyperlink but I also need to display the date as...
0
by: Just4U | last post by:
Hello, My config : Windows 2003 x64 (US VERSION) + sp2, IIS 6 All regional settings to French (even for default user) In my ASP pages dates are in the good format (french:dd/mm/yyyy), but...
2
by: Just4U | last post by:
Hello, I take an old post because, nobody seem to answer my problem. Config: Windows 2003 x64 (US) + sp2 Regional settings : French (for all & default users) Basically I have the following...
2
by: Thomas Troeger | last post by:
Dear all, I've stumbled over a problem with Windows Locale ID information and codepages. I'm writing a Python application that parses a CSV file, the format of a line in this file is...
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
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.