Hi, I have a problem with regional settings and programming the ColumnWidths of a Combo Box. I already posted this thread at the Forms forum however no-one there seems to know the solution to this challenge:
My challenge:
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. Help wil be much appreciated, m0use.
My challenge:
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. Help wil be much appreciated, m0use.