FIX: Changing Decimal Separator Causes Load Errors for Form
Retired KB Content Disclaimer
However, if you change the decimal separator, you may get the followingerror when you load a form that had was saved as text (the default):"Errors during load. Refer to" followed by the name of a log file thatcontains the error information.
When a form is saved as text, all information about the form is savedto the file, this includes all the properties that were changed fromtheir default. Any properties that where written as a decimal number,such as the FontSize property, may not be recognized if you havechanged the decimal separator.
Steps to Reproduce Problem
- Start the Windows Control Panel located, by default, in the Main group of the Windows Program Manager.
- Choose the International icon from the Control Panel to specify international settings.
- Choose the Change button next to Number Format.
- Change the decimal separator to a comma (,).
- Start Microsoft Visual Basic version 2.0.
- From the File menu, choose Open Project (Press ALT, F, O).
- Open the Calculator sample program. This is installed in the SAMPLES directory under the CALC subdirectory.
- From the Project Window, double-click CALC.FRM to load the form.
NOTE: Although the loading problem was corrected in Visual Basicversion 3.0, the Calculator program is not designed ot accept a comma (,)in place of a decimal point. Using a comma causes a "Type mismatch" error.
ID d'article : 94776 - Dernière mise à jour : 12/12/2003 18:03:28 - Révision : 2.0
- kbbug kbfix KB94776