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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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
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.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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
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.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
i also tried to run whitestaruml /regserver but no change
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).