|
by: Gani Pola |
last post by:
Can someone please tell me how I can change the date format (e.g dd/mm/yyyy,
mm/dd/yyyy) in a configuration file?
In my windows app, I can retrieve the windows setting but not my ASP.NET
application.
TIA
GP
|
by: FM |
last post by:
Hi,
I use the following code to set the current culture.
If Not IsNothing(Session("language")) Then
System.Threading.Thread.CurrentThread.CurrentCulture = New
System.Globalization.CultureInfo(Session("language").ToString)
End If
|
by: Boonaap |
last post by:
Hi,
I have this asp.net application in which the user can choose between three
possible languages. NL - FR - EN
How can I set the System.Globalization.CultureInfo to three different
values, just by clicking a button?
in a pageLoad i have something like this:
switch(vLang){
|
by: Jason L James |
last post by:
Hi have two subroutines that change the currentCulture
property of my application.
I can call either:
System.Threading.Thread.CurrentThread.CurrentCulture = New
CultureInfo("en-GB")
or:
|
by: jason |
last post by:
DOTNET 2.0 VS 2005.
My client is saying August 13,2006.. julian date should equal 225.
Here's what I'm doing:
<%@ Import Namespace="system.globalization" %>
<script language="VB" runat="server">
|
|
by: Terry Olsen |
last post by:
I'm a bit confused on how to make my app work in all cultures, particularly
with parsing the date out of a string. I read dates from different web
sites. The formats I've run into include 'yyyy.mm.dd', 'dd/mm/yyyy',
'yyyy-mm-dd', 'dd-mmm-yyyy'.
I'm using the following code to parse the date, which has worked for a lot
of Regions but not all, such as Germany.
Dim CI As System.Globalization.CultureInfo
CI =...
|
by: Basildk |
last post by:
Hi.
I have a strange problem. We have an asp.net application running on
several server with different setups.
On 2 of our servers we experience that the globalization settings are
misbehaving.
We have boiled the problem down to this: (exemplified by a very simple
page)
|
by: ready2explod |
last post by:
Hi Friends,
I am new to .NET and need your help to sort out one issue. I want to change the language of my program using following code:
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
by: Hvid Hat |
last post by:
Hi
The following code will give me the month names in the given culture:
CultureInfo cultureInfo = new CultureInfo(CultureInfo.CurrentCulture.Name);
string months = cultureInfo.DateTimeFormat.MonthNames;
Now I'm wondering if I can also get the translation of the words day, month
and year in different languages from the globalization class? Is there a
property/method for those words? E.g. cultureInfo.DateTimeFormat.Month would
|
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...
|
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,...
|
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
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...
|