Advertisement

Results for "Author: algen technologies"

ASP_Volume2 #30648
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

ASP_Volume2 #31499
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

ASP_Volume3 #54179
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

ASP_Volume3 #54180
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

C_Volume2 #71710
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

C_Volume2 #72561
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

Java_Volume1 #90254
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

Java_Volume1 #91105
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

2_2002-2004 #117401
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

2_2002-2004 #118252
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

3_2004-2005 #135945
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

3_2004-2005 #136796
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

4_2005-2006 #159476
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

4_2005-2006 #159477
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

5_2007-2008 #181994
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

5_2007-2008 #181995
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

6_2008-2009 #204512
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

6_2008-2009 #204513
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

7_2009-2012 #227030
String Maker V1.1

Updated to v1.1, Fixed few bugs. I always feel I loose a lot of time formating my msgbox strings. String Maker is a program that formats your "normal text" into a variable string usable in visual basic. Lets say, for example, you want a msgbox to show this: ------------------------------------- Warning: The "input" parameters found in the data size field can generate a general protection error ------------------------------------- String maker will format it for you to just copy and paste like this: MyString = "-------------------------------------" & vbNewLine MyString = MyString & " Warning:" & vbNewLine MyString = MyString & "The " & chr(34) & "input" & chr(34) & "parameters" & vbNewLine MyString = MyString & "found in the data size" & vbNewLine MyString = MyString & "field can generate a" & vbNewLine MyString = MyString & "general protection error" & vbNewLine MyString = MyString & "-------------------------------------" Then you could use it like: MsgBox mystring It also has the capability to create SQL table strings: MyString = "CREATE TABLE [tblThisTable] (" MyString = MyString & "[fldBinary] Binary(20)," MyString = MyString & "[fldBit] BIT," MyString = MyString & "[fildInteger] Short," MyString = MyString & "[fldText] Text(240)" MyString = MyString & ")" All you have to do is execute the string like dbobject.execute mystring. And, as always, it also shows the use of MDI projects, menus, tray icon, popup menu in the tray icon, selections, etc... You are allowed and encouraged to continue this project to grow its capabilities... just keep me informed. Thanx to the guy of the tray area control. Note that you must use the exit menu command to close the program, since pressing the X button in the window's controls will just send the program to the tray area... Pretty much like audiogalaxy. -Fongus

7_2009-2012 #227031
Mex_Currency2Words

This module contains a function that will take a currency var (up to 999,999,999.99) and return the result (including cents) as a string "spelled-written" amount formated for mexican pesos. 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' Altrough it was made for mexican pesos, it can be easily adapted for any unit, in any language,in any way. There are lots of number2words functions out there, but I think mine is the more understandable ans simplier of 'em. You will have to spend some time converting the spanish numbers to english, thou... ---------------- Este modulo contiene una funcion que toma una variable de moneda(currency) (Hasta 999,999,999.99) y regresa la cantidad de forma escrita como String. (Incluye centavos) 'Public Function ConvierteNumeroALetra(Numero As Currency) As String' La cantidad escrita la regresa usando el formato de monto escrito en pesos mexicanos, usado en cheques, depositos, facturas, etc. Por ejemplo: $1,525.23 = (Mil Quinientos Veinticinco Pesos, 23/100 M.N.) Los centavos se escriben siempre sobre cien, y M.N. significa Moneda Nacional. Si esto les sirve, haganmelo saber. -Fongus

Languages
Top Categories
Global Discovery