Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/06/2006, 12:26
Avatar de JuanRAPerez
JuanRAPerez
Colaborador
 
Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 20 años, 7 meses
Puntos: 27
como cambio la configuracion regional de English(USA) a Español(España)

me he estado dando duro tratando de saber como cambiarlo, alguien tiene una idea de como se hace???'

gracias

he probado asi

Cita:
Declare Function GetNumberFormat Lib "kernel32" Alias "GetNumberFormatA" (ByVal Locale As Long, ByVal dwFlags As Long, ByVal lpValue As String, lpFormat As NUMBERFMT, ByVal lpNumberStr As String, ByVal cchNumber As Long) As Long


Public Const LOCALE_IDEFAULTLANGUAGE = &H9 'codigo de lenguaje por de


Public Const juanra_IDEFAULTLANGUAGE As String = "0409"
ngResu = SetLocaleInfo(LOCAL_DEFAULT, LOCALE_IDEFAULTLANGUAGE, juanra_IDEFAULTLANGUAGE)
If lngResu = 0 Then strError = "Error al setear icountry."
__________________
JuanRa Pérez
San Salvador, El Salvador