 |
mrcoolcurrent Level: Graduate
 Registered: 19-01-2007 Posts: 12
|
Challenge
I am writing a small vb program that would print a payment slip. I want to write some figures in a text box like 567,678,234.89
I want the program to translate the numerals into words like FIVE HUNDRED AND SIXTY SEVEN MILLION, SIX HUNDRED AND SEVENTY EIGHT THOUSAND, TWO HUNDRED AND THIRTY FOUR DOLLARS, EIGHTY NINE CENTS.
I want the program to translate whatever amount I enter into words.
Thank you
|
|
26-01-2007 at 02:26 PM |
|
|
yronium Level: Moderator

 Registered: 14-04-2002 Posts: 907
|
Re: Challenge
quote: mrcoolcurrent wrote:
I am writing a small vb program that would print a payment slip. I want to write some figures in a text box like 567,678,234.89
I want the program to translate the numerals into words like FIVE HUNDRED AND SIXTY SEVEN MILLION, SIX HUNDRED AND SEVENTY EIGHT THOUSAND, TWO HUNDRED AND THIRTY FOUR DOLLARS, EIGHTY NINE CENTS.
I want the program to translate whatever amount I enter into words.
Thank you
Hello again. I apologize for not being clear enough in my reply on the other thread of yours, but once again the reply is: what kind of help are you looking for?
I am sorry to say this to you for the second time, but you didn't post any specific request (well, both your posts have no questions at all...), so I wonder what kind of help I can provide to you.
You stand YOU are writing a vb program: does it mean you want to keep on writing it? Or does it mean you simply need it to work? Do you want me - I mean, somebody else - get my hands dirty for your purposes, then post a code to copy and paste without any bare effort to comprehend it? Or do you need a commented piece of code to explain what it does, so you can read and learn it? Or are you looking for an algorithm to do it, and you will code up the rest? Or will it be enough simply to implement the correspondant MSExcel function into your small app? Or maybe, are you stuck in a certain phase of the process and you need help on working with a string/a number/a digit/a vb function/an array/whatever? Do you already know which are the steps to execute this translation, and just don't know how to convert these steps into VB code? Or you got no idea of which steps you have to go through, instead? Do you need help on creating the input textbox? Or on reading its contents? Or on where putting the result? Or on building a form and make it start and ask user for a number? Or on formatting the number, or the textbox contents? What is your VB skill? Did you study one/some/a lot/none/any VB book before today? Are you disposable to study more? Or are you looking for some takeaway code? What attempts did you already do on your small project? With what results? Did you at least create a project for it?
In poor words: what kind of help are you looking for?
Faithfully waiting...
____________________________
Real Programmer can count up to 1024 on his fingers
|
|
26-01-2007 at 03:04 PM |
|
|
mrcoolcurrent Level: Graduate
 Registered: 19-01-2007 Posts: 12
|
Re: Challenge
Thank you very much for your response and deep concern to help me out of my predicament.
I am really a beginner in VB and read only one book which I believe is for beginners. I know how to write some codes. I am workin on a project that would be used to write cheques. I have done a text box where you can input the figures. My problem now is the conversion to words.
First of all I want some one to help me tell me how it can be done. Then I would experiment and build the codes my self.
I hope to hear from you soon!
Thank you!
|
|
27-01-2007 at 07:46 PM |
|
|
mrcoolcurrent Level: Graduate
 Registered: 19-01-2007 Posts: 12
|
Re: Challenge
Thank you very much.
|
|
29-01-2007 at 03:10 PM |
|
|
|
|
 |
 |