Menu

"Could not convert variant of type (OleStr) i

Help
Marc60
2009-02-26
2019-06-05
  • Marc60

    Marc60 - 2009-02-26

    Hi everybody,

    I get the following error message opening an UML project done by project partners using StartUML 5.0.2.1570:

    "Could not convert variant of type (OleStr) into type (Double)".

    I use the same StarUML version, and I can open open the sample projects without problems.

    Thank you very much in advance for any hints!

    Best regards

    Marco

     
  • Alexander Kuchler

    I have exactly the same problem. Is there already any solution??

     
  • Schneider Julien

    Solution for french desktop in windows XP :
    Panneau de configuration => Options régionales => personnaliser :
    Dans le champ "symbole décimal" , remplacer "," par "."

    Solution is to change windows decimal symbol from "," to "." in control panel.

    Control panel -> local options -> personnalise - decimal symbol = "."

    It works for me.

    Maybe a bug in StarUML ? THis soft whould force "." decimal symbol use ?

     
  • Alexander Kuchler

    I found another solution in case you can't or don't want to change your
    windows configuration in that way. There is a script called LocalFix.bat (from
    http://www.cameel.freehost.pl/download.php) which is changing your settings temporary only for the program
    start and reverting it again afterwards.

    In my case I had to modify the script and change '.' and ',' because for me it
    was exactly the other way around.

     
  • Meyburgh Hofmeyr

    Also found good solution that worked for me (same as Scneider - it is region error/setting):

    Sometimes applications may cause this error:
    Could not convert variant of type (Olestr) into type (Double)

    For example, the first time i saw this error was when i tried to load StarUML project. Reason is that decimal separators in application not match with decimal separators defined in system. To solve it, open Control Panel / Regional and Language Options / Regional Options / Customize and change value of "Decimal separator key". For example, if it was a comma, set it to point. (Tasmanian Fox)

     

    Last edit: Meyburgh Hofmeyr 2019-06-05

Log in to post a comment.