VB4 - Control Panel Setting

VB4 - Control Panel Setting

Post by Jason Soraf » Sat, 19 Apr 1997 04:00:00



Read the 'sDecimal' in the 'intl' section of WIN.INI. Use the
GetProfileString API call to do this.

(16-bit)
Declare Function GetProfileString Lib "Kernel" (ByVal lpAppName As String,
ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString
As String, ByVal nSize As  Integer) As Integer

(32-bit)
Declare Function GetProfileString Lib "kernel32" Alias "GetProfileStringA"
(ByVal lpAppName As String, ByVal lpKeyName As String, ByVal lpDefault As
String, ByVal lpReturnedString As String, ByVal nSize As Long) As Long



Quote:> I'd like to know if there is any way to read the regional configuration
> setting

> For exemple   Decimal Separator ("," or ".")

> using VB4

 
 
 

1. ODBC without setting in control panel?

Hi All,

Is there anyway to use an ODBC database without setting it up first in the
ODBC control panel?

I have 60 Hewlett Packard TurboImage databases. All have the same
structure. Just different names and locations.

Trying to keep my ODBC updated is beginning to be a problem.

Thanks for your help!

Steve Grose

2. Free programming tools

3. DAO VB4, SSTab Control, Data Control FREEZE UP

4. 1997 Developers Competition

5. Why are my vb5 controls really vb4 controls?

6. Compile/code question

7. Data Control vs Remote Data Control (for Axx95 and VB4/32 Enterprise)

8. How i do Queries from a Mac?

9. Configurating SQL Mail -- No Mail icon in Control Panel

10. SQL Licensing / Control Panel

11. NEED insert a ICON in PANEL CONTROL.

12. Database for internet, config!!?? (windows control panel)

13. ODBC, Control Panel, Win95