Click here to Skip to main content
15,921,884 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSending a form to your email address Pin
Christopher Clarke16-Aug-08 11:34
Christopher Clarke16-Aug-08 11:34 
AnswerRe: Sending a form to your email address Pin
Manas Bhardwaj16-Aug-08 11:52
professionalManas Bhardwaj16-Aug-08 11:52 
QuestionRe: Sending a form to your email address Pin
Christopher Clarke16-Aug-08 12:02
Christopher Clarke16-Aug-08 12:02 
AnswerRe: Sending a form to your email address Pin
Manas Bhardwaj17-Aug-08 0:16
professionalManas Bhardwaj17-Aug-08 0:16 
GeneralRe: Sending a form to your email address Pin
Christopher Clarke17-Aug-08 12:42
Christopher Clarke17-Aug-08 12:42 
GeneralRe: Sending a form to your email address Pin
wizard 20220-Aug-08 17:46
wizard 20220-Aug-08 17:46 
AnswerRe: Sending a form to your email address Pin
naresh thakur4-Sep-08 3:13
naresh thakur4-Sep-08 3:13 
QuestionCultureInfo - Arabic Currency formatting Pin
Blumen16-Aug-08 0:06
Blumen16-Aug-08 0:06 
Hello,

(This post exists in ASP.NET forum as well, reposting here because I need to solve this issue asap, also coz I did not get any response there)

I'm doing bit of fire fighting here on an old piece of code written by someone else. Its an application in Arabic.

In the application currency is formatted using VisualBasic functions and string formatting. Example:


FormatCurrency(amount, 3)


This is how currency is displayed now: 123،34.342 ر.ع

But they want it to displayed with different group separator and decimal separator, like 123,34/342 ر.ع

I have created a function like this:

Private Sub SetCulture(ByVal culture As String, ByVal useUserOverride As Boolean) Dim cultureToUse As New System.Globalization.CultureInfo(culture, useUserOverride) cultureToUse.NumberFormat.CurrencyDecimalDigits = 3 cultureToUse.NumberFormat.CurrencyDecimalSeparator = "/" cultureToUse.NumberFormat.CurrencyGroupSeparator = "," cultureToUse.NumberFormat.CurrencySymbol = "ر.ع.‏" Threading.Thread.CurrentThread.CurrentUICulture = cultureToUse Threading.Thread.CurrentThread.CurrentCulture = cultureToUse End Sub


I call this function like

Me.SetCulture("ar-OM", False)


But Currency group separator is still the old one. The regional settings of server where I'm testing this app is set to English. I tried with English and Arabic(Oman) in my local PC regional settings, currency is displayed the way I want only if I set English settings. But here in Oman, people mostly set their Windows for Arabic language. Could someone point out what I'm doing wrong here?

Regards,
Blumen
AnswerRe: CultureInfo - Arabic Currency formatting [modified] Pin
Jörgen Andersson16-Aug-08 10:42
professionalJörgen Andersson16-Aug-08 10:42 
GeneralRe: CultureInfo - Arabic Currency formatting Pin
Blumen16-Aug-08 18:27
Blumen16-Aug-08 18:27 
QuestionJavaScript change individual characters to upper case Pin
jonatec15-Aug-08 0:04
jonatec15-Aug-08 0:04 
AnswerRe: JavaScript change individual characters to upper case Pin
astanton197815-Aug-08 7:29
astanton197815-Aug-08 7:29 
GeneralRe: JavaScript change individual characters to upper case Pin
Perspx15-Aug-08 10:58
Perspx15-Aug-08 10:58 
GeneralRe: JavaScript change individual characters to upper case Pin
jonatec18-Aug-08 0:19
jonatec18-Aug-08 0:19 
QuestionDevelope Web service Pin
Hemant Thaker14-Aug-08 21:45
Hemant Thaker14-Aug-08 21:45 
AnswerRe: Develope Web service[Ignore Repost] Pin
Manas Bhardwaj15-Aug-08 1:43
professionalManas Bhardwaj15-Aug-08 1:43 
QuestionCustom data types in web services and web references Pin
Yellowseed14-Aug-08 11:58
Yellowseed14-Aug-08 11:58 
AnswerRe: Custom data types in web services and web references Pin
Shog914-Aug-08 14:35
sitebuilderShog914-Aug-08 14:35 
GeneralRe: Custom data types in web services and web references Pin
Yellowseed15-Aug-08 3:58
Yellowseed15-Aug-08 3:58 
QuestionRemeber input elements when changing page Pin
William Engberts14-Aug-08 3:53
William Engberts14-Aug-08 3:53 
AnswerRe: Remeber input elements when changing page Pin
Mohammad Dayyan15-Aug-08 11:20
Mohammad Dayyan15-Aug-08 11:20 
QuestionAJAX : Retrieve Specific Tag by id & count tag from external html Pin
Lu5ck14-Aug-08 3:24
Lu5ck14-Aug-08 3:24 
AnswerRe: AJAX : Retrieve Specific Tag by id & count tag from external html Pin
SamRST14-Aug-08 3:52
SamRST14-Aug-08 3:52 
AnswerRe: AJAX : Retrieve Specific Tag by id & count tag from external html Pin
Shog914-Aug-08 9:41
sitebuilderShog914-Aug-08 9:41 
GeneralRe: AJAX : Retrieve Specific Tag by id & count tag from external html Pin
Lu5ck14-Aug-08 16:29
Lu5ck14-Aug-08 16:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.