Solved

Currency Mask

Posted on 1998-07-28
16
1,055 Views
Last Modified: 2013-12-03
Is there a way to change the Currency Display Mask in Windows 95 Regional Settings from

999,999,999.99  to

99,99,99,999.99.

I use powerbuilder as a development platform which inherits this mask while displaying currency.  In our country ( India ) the format for currency is in Crores (99), Lacs (99), Thousands (999). Paise ( 99).

Thanks in advance
0
Comment
Question by:Manish Naik
  • 7
  • 6
  • 3
16 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1411188
Just a guess, but i think you can use SetLocalInfo().  
0
 
LVL 11

Accepted Solution

by:
alexo earned 200 total points
ID: 1411189
Cannot be done.  Documented in KB article Q116252
    http://support.microsoft.com/support/kb/articles/q116/2/52.asp
0
 
LVL 22

Expert Comment

by:nietod
ID: 1411190
That doesn't help.  Now I see what your problem is.  The windows currency format allows you to specify the number of digits between groups tot he left of the decimal point.  But it only allows you to set one grouping amount (like every 3 digits).  You need different grouping amounts.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 22

Expert Comment

by:nietod
ID: 1411191
>> Cannot be done
Bummer, I came back here excited to seen an answer and that's all I get?  Well I guess that's clear and to the point.
0
 
LVL 3

Author Comment

by:Manish Naik
ID: 1411192
Thanks Alexo but our clients here won't take a no.  We have a long workaround right now but would still want an easy way so as to increase the speed.

Thanks for all your info.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1411193
>> Thanks Alexo but our clients here won't take a no.
Then you'll have to rephrase the question.  What do you currently do?
0
 
LVL 22

Expert Comment

by:nietod
ID: 1411194
Format it "manually"?
0
 
LVL 3

Author Comment

by:Manish Naik
ID: 1411195
I am a freelance software developer.  I am also Novell Certified and Microsoft certified.  Thanks for all your help alexo.  I got the answer I wanted.  Now I will have to pursue Powersoft.

Thanks again
0
 
LVL 11

Expert Comment

by:alexo
ID: 1411196
Uhmmm..., when I asked "What do you currently do?" I meant "what do you do to make it work like you want and why is that unsatisfactory?" not "what are your credentials?".  Sorry if I wasn't clear enough.

>>  got the answer I wanted.
It is customary to grade the answer then.
0
 
LVL 3

Author Comment

by:Manish Naik
ID: 1411197
We have currently made a function which returns the formated string but it has its limitations.

0
 
LVL 22

Expert Comment

by:nietod
ID: 1411198
That's probably going to have to be the way to go.  Did you want help with these limitations are you goign to handle it yourself?
0
 
LVL 11

Expert Comment

by:alexo
ID: 1411199
And the autograder hits again!
0
 
LVL 22

Expert Comment

by:nietod
ID: 1411200
Alex, you are doing it wrong.  Post a comment a few days BEFORE the autograder hits.  Pleasently remind the client to grade it.  It does no good now.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1411201
Can you suggest a simple way of tracking all my pending answers?
0
 
LVL 22

Expert Comment

by:nietod
ID: 1411202
A very precise way.   Every Friday, I look at the bottom few on the locked list and check on any that seem familiar.  : - )   I would say that 9 times out of 10 the answer gets graded in 24 hours.  Some are still ignored so I let them get autograded.  Of course, I only check the C++ area as I only answer there (and windows), you would have more checking to do.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1411203
Not much more.  I answer in C, C++ and Win
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question