Most system that involve payment required the converted word it's numerical value but the problem is, Visual Basic 6 don't have any built in function to this. Because of this we created a function that convert number to word. This function can convert up to 9 hundred thousands since we don't need to convert values higher than this. Adding more than 9 hundred thousands is easy, if you want to implement this to your system just copy the code below.
Tuesday, August 13, 2013
Saturday, August 10, 2013
Auto Resize Flexgrid Column Depending On Content In Visual Basic 6
Flexgrid is one of the most used controls for report generation in our programming firm. Recently, we required to have a function the will automatically resize the Flexgrid column depends on the column content. If you are somehow problematic about this method then you may try the code below if it will suit to your need.
Tuesday, August 6, 2013
Convert Number To Ordinal Number Format In Visual Basic 6
Converting ordinal number in Visual Basic is you only need to create a few If...Else statement that will compare your values and concat the appropriate word to put (th, st, nd, rd and th). Using the function below, you can transform a number to it's corresponding ordinal number format.
Sunday, March 10, 2013
Reset Form Contents In Visual Basic 6
There is some instances where the previously inputted values before we close the form Visual Basic 6 is still intact. Some developers suggest to manually clear all contents of the object but if you have hundreds of objects on a Form, then this will be a problem. Using the code below, you can easily reset a Form without manually clear all contents.