![]() |
![]() ![]() ![]() |
If you want to create a internationalized application by Visual Basic 6.0, the following points need to be covered.
---------------------------------------------------------------------------------------- Functions Process ---------------------------------------------------------------------------------------- StrComp String Comparison StrConv String Conversion InStrRev, StrReverse String Reverse Format, LCase, UCase String Uppper/Lower Case Space, StrDup String Repeat Len String Length Format, FormatCurrency, String Formatting FormatDateTime, FormatNumber, FormatPercent InStr, Left, LTrim, Mid, String Operation Right, RTrim, Trim Asc, AscW, Chr, ChrW ASCII/ANSI Operation Replace String Replacement Filter Srring Array Split, Join String Part or Array Date, Time Get system timestamp DateSerial Convert year, month, day to Date type DateValue Convert date string to Date type TimeValue Convert time string to Date type CDate Convert date and time string to Date type IsDate Check if string is valid for date or timeFor the function Format, to use the following defined or control panel based formats are recommended.
--------------------------------------------------------------------------------------- Format Name Description --------------------------------------------------------------------------------------- -- Defined -- General Date, G Date or time, or both on the current culture Long Date, Medium Date, D Long format of date on the current culture Short Date, d Short format of date on the current culture Long Time, Medium Time, T Long format of time on the current culture Short Time, t Short format of time on the current culture R, r GMT format u GMT index format U GMT long format Currency, C, c Number with delimiters based on system locale -- Control Panel Based -- ddddd Short string of year, month, day set by control panel dddddd Long string of year, month, day set by control panel ttttt Time string set by control panel
e.g.) Format(Now, "Long Date") Format(1000, "Currency") Format(Now, "ddddd")
Go to Internationalization Programming Top