Hi, I have a problem with regional settings and programming the ColumnWidths of a Combo Box.
The company I work for is located in Europe and normally set the regional settings of Windows to the Metric system. However, users in the UK use Inches instead of Centimeters. In my database i program comboboxes to show a centain number of rows by manipulating the ColumnWidths property.
But when you set the value to: "1,5 cm; 0 cm; 1 cm" it won't work on a machine that uses Inches. Is there a way to check which regional settings a machine has? Then i can use that to fill the property with the right values.
Help would be much appreciated. Thanks, m0use.
The company I work for is located in Europe and normally set the regional settings of Windows to the Metric system. However, users in the UK use Inches instead of Centimeters. In my database i program comboboxes to show a centain number of rows by manipulating the ColumnWidths property.
But when you set the value to: "1,5 cm; 0 cm; 1 cm" it won't work on a machine that uses Inches. Is there a way to check which regional settings a machine has? Then i can use that to fill the property with the right values.
Help would be much appreciated. Thanks, m0use.