Question : Padding Number

Hi All,

I want to padding number to text base on how many max number.

ie. max number is 999,999,999,999

thus 1,000->                         1,000

Thus it will form right alignment.

How could I do it?

Thank you.



Answer : Padding Number

I've attached a form that will do what you require. Please double-check the spelling to make sure I got it all right.

To use the form, do the following:

        Dim frm As New frmMsgbox(Me.Text, "Limit Kredit Tidak Cukup ...!", dblSisaPiutang, dblSisaSOBelumKirim, dblSisaSOBelumFaktur, dblSOBaru, dblLimitKredit)
        frm.ShowDialog()

Let me know if you need any more help with this.
Random Solutions  
 
programming4us programming4us