Last post Aug 29, 2006 03:55 PM by Caddre
Member
4 Points
54 Posts
Aug 15, 2006 03:29 AM|cabby|LINK
Hi,
I would like to be able to set my currency symbol to AED (United Arab Emirates Dirhams).
This is not listed in the globalization culture info (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationCultureInfoClassTopic.asp)
The site is written in English, the only thing I want to change is the $ sign to AED.
Can anyway advise of how to write a function to do this, and where to put it?
I am using Visual Studio and VB.
Thanks
Clare
Contributor
4150 Points
5249 Posts
Aug 24, 2006 06:21 PM|Caddre|LINK
Try the link below for code sample from Microsoft doing the changes you need for other countries. Sorry but the code is in C#. Hope this helps.
http://msdn.microsoft.com/ja-JP/library/system.globalization.numberformatinfo.aspx
Aug 29, 2006 07:43 AM|cabby|LINK
Thanks for that but I havent been able to figure out how to do it from that site.
I have removed the currency symbol using {0:f2} and then set in column headings in the table "Cost in AED".
If anyone knows how this can be done properly with a code example would appreciate it.
Aug 29, 2006 03:55 PM|Caddre|LINK
Hi Cabby,
I have found what I think could work for you because the formatting is similar to DateTime and I know that works. Try the links below for details.
http://msdn.microsoft.com/en-us/library/syy068tk.aspx
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B914356
Member
4 Points
54 Posts
set Currency Symbol as AED
Aug 15, 2006 03:29 AM|cabby|LINK
Hi,
I would like to be able to set my currency symbol to AED (United Arab Emirates Dirhams).
This is not listed in the globalization culture info (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationCultureInfoClassTopic.asp)
The site is written in English, the only thing I want to change is the $ sign to AED.
Can anyway advise of how to write a function to do this, and where to put it?
I am using Visual Studio and VB.
Thanks
Clare
Contributor
4150 Points
5249 Posts
Re: set Currency Symbol as AED
Aug 24, 2006 06:21 PM|Caddre|LINK
Try the link below for code sample from Microsoft doing the changes you need for other countries. Sorry but the code is in C#. Hope this helps.
http://msdn.microsoft.com/ja-JP/library/system.globalization.numberformatinfo.aspx
Member
4 Points
54 Posts
Re: set Currency Symbol as AED
Aug 29, 2006 07:43 AM|cabby|LINK
Hi,
Thanks for that but I havent been able to figure out how to do it from that site.
I have removed the currency symbol using {0:f2} and then set in column headings in the table "Cost in AED".
If anyone knows how this can be done properly with a code example would appreciate it.
Thanks
Clare
Contributor
4150 Points
5249 Posts
Re: set Currency Symbol as AED
Aug 29, 2006 03:55 PM|Caddre|LINK
Hi Cabby,
I have found what I think could work for you because the formatting is similar to DateTime and I know that works. Try the links below for details.
http://msdn.microsoft.com/en-us/library/syy068tk.aspx
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B914356