Presents: ObjectRoleModeling.com Thursday, July 24, 2008
 Search
Register Login
Forums
 
 

Note: To post to a thread, you must be logged in.

  Forums  
 
SearchForum Home
     
  Orthogonal Toolbox  Support  VBA project cre...
 VBA project creation error
 
imgOfflinemkking
3 posts
Joined
3/31/2006

VBA project creation error
Posted: 04 Apr 06 10:56 AM
Hello, I am still trying to get Orthogonal Toolbox up and running. I'm using:

Windows XP SP-2
Visio for Enterprise Architects (11.4301.6360)
Orthogonal Toolbox 1.5

I finally got OT installed (thanks, Scot!), but now when I try to export my ORM Source model as XML, using all the default settings, I get the following error:

Title: "Export Object Subtype-Supertype Elements"
Text: "Microsoft Visual Basic for Applications project creation must be enabled in order for XML export functionality to function properly."

The problem is that it *is* enabled - I double checked by going to Tools > Options > Security tab, and it shows that the "Enable Microsoft Visual Basic for Applications project creation" option is in fact toggled on.

So at this point I am out of ideas. (I tried restarting, and that didn't do much.)

Thanks,
Michelle
imgOfflineScot Becker
220 posts
www.orthogonalsoftware.com
4th
Joined
9/24/2004

Re: VBA project creation error
Posted: 06 Apr 06 6:19 AM

Hmmm....

What is the security level (Tools | Macros | Security)? It shouldn't matter, but you might give lowering it a shot. Also, the XML is still being generated, correct? If so, and if you model has no subtypes in it, the resulting XML should be complete. Thus, if you have no subtypes in your model, the error could be ignored.

Scot.

 

imgOfflinemkking
3 posts
Joined
3/31/2006

Re: VBA project creation error
Posted: 06 Apr 06 9:48 AM
> What is the security level (Tools | Macros | Security)?

I set it all the way to Low to eliminate that as a possible cause. Is there an OS-wide setting somewhere? (Something to do with the XP SP2 firewall, maybe?)

> It shouldn't matter, but you might give lowering it a shot. Also, the XML is still being generated, correct? If so, and if you
> model has no subtypes in it, the resulting XML should be complete. Thus, if you have no subtypes in your model, the error
> could be ignored.

You kidding? I love subtyping - I have them all over my model. :)

Thanks,
Michelle
imgOfflineScot Becker
220 posts
www.orthogonalsoftware.com
4th
Joined
9/24/2004

Re: VBA project creation error
Posted: 07 Apr 06 7:18 AM

Do you have any other software (e.g. anti virus) that is blocking macro execution loaded?

Otherwise, I'm stumped and can't reproduce this on my setups. Would you be willing to send me the file? If so, send it to my first name at object role modeling dot com and I'll try to take a look at it this weekend to rule out a problem (corruption) with the file itself.

Scot.

imgOfflinemkking
3 posts
Joined
3/31/2006

Re: VBA project creation error
Posted: 07 Apr 06 8:27 AM
I had my local IT support take a look at my settings, and he was able to narrow it down. So if someone else asks down the road, the "right" answer is that on the "Security" response window, on the "Trusted Publishers" tab, the "Trust access to Visual Basic Project" checkbox must be enabled. I just ran the export and it worked like a charm.

Thanks for your help in eliminating other possible causes.

Cheers,
Michelle
  Orthogonal Toolbox  Support  VBA project cre...
 
  Syndication  
   
 
© 2003 - 2007 Orthogonal Software Corporation. All rights reserved. Terms Of Use Privacy Statement