Menu

COM automation not available anymore in whiteStarUML

Anonymous
2016-03-05
2016-03-17
  • Anonymous

    Anonymous - 2016-03-05

    Dear WwhiteStarUML community,

    I'm unable to run my scripts, developed using the COM automation library, since the migration from StarUML to WhiteStarUML.
    is it normal or do I need to do anything?

    thanks

     
  • Janusz Szpilewski

    Are your scripts still connecting to StarUML.StarUMLApplication object?

    Use WhiteStarUML.WhiteStarUMLApplication, everything else should work without a change. You may also take a look at scripts in \modules\staruml-standard. There are examples in VB and JScript.

     
    • Anonymous

      Anonymous - 2016-03-11

      Hi Janusz,

      thanks for the information but I think there is another issue as this object is not recognised as the WhiteStarUML library is not loaded. is there a dll to use?
      fyi i'm using vba tu run the script

      thanks

      chris

       
  • Janusz Szpilewski

    Start checking if integrated scripts are working correctly like Model - Generate Getters/Setters, Convert Diagram, Design Patterns etc. If there is a problem try to re-register the program as admin with command "whitestaruml /regserver" or reinstall the application.

     
  • Anonymous

    Anonymous - 2016-03-17

    I reinstalled whitestaruml and i can now add the whitestaruml reference in my excel file,
    but contrary to staruml, there is only one library "Whitestaruml generator library" but not "whitestaruml library".
    so whitestaruml objects are not recognised.

    to answer your previous question, code generation works.

    any idea?

    THANKS

     
  • Anonymous

    Anonymous - 2016-03-17

    i also tried to run whitestaruml /regserver but no change

     
  • Janusz Szpilewski

    WhiteStarUML Generator library refers to the documentation generator plugin. Missing WhiteStarUML Library is the problem. I assume you are using the latest version of WhiteStarUML.

    Using regedit try to fing the key:
    HKEY_CLASSES_ROOT\TypeLib{4D5F69B3-73FC-4C09-A1CE-73D1A677A0E7}

    It is defining WhiteStarUML library. Maybe it got corrupted so delete it then try re-running whitestaruml /regserver (as admin).

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.