F
Felipe T.
Yeah....In this way u doesnot need to pass decimals as strings...
....Just Change up the Regional Settings...
'In my case just these r needed, but u can include as many as u want
according with the MSDN LCID Chart (Locale ID)
Public Enum LCID
PT_BR = &H416
EN_US = &H409
End Enum
<System.Runtime.InteropServices.DllImport("coredll.dll")> _
Public Shared Function SetUserDefaultLCID(ByVal Locale As LCID) As
Boolean
End Function
<System.Runtime.InteropServices.DllImport("coredll.dll")> _
Public Shared Function GetSystemDefaultLCID() As LCID
End Function
' BOOL SetUserDefaultUILanguage(LANGID langid);
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MessagBox.Show(GetSystemDefaultLCID.ToString)
MessagBox.Show(SetUserDefaultLCID(LCID.EN_US))
End Sub
....Just Change up the Regional Settings...
'In my case just these r needed, but u can include as many as u want
according with the MSDN LCID Chart (Locale ID)
Public Enum LCID
PT_BR = &H416
EN_US = &H409
End Enum
<System.Runtime.InteropServices.DllImport("coredll.dll")> _
Public Shared Function SetUserDefaultLCID(ByVal Locale As LCID) As
Boolean
End Function
<System.Runtime.InteropServices.DllImport("coredll.dll")> _
Public Shared Function GetSystemDefaultLCID() As LCID
End Function
' BOOL SetUserDefaultUILanguage(LANGID langid);
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
MessagBox.Show(GetSystemDefaultLCID.ToString)
MessagBox.Show(SetUserDefaultLCID(LCID.EN_US))
End Sub