Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - roybal

Pages: [1]
1
Bugs and Issues / Re: EA16 JavaScript DLGInputBox bug
« on: September 14, 2022, 09:22:24 am »
FYI, I have installed the x86/32-bit version of EA v16.   And, the JavaScript COMObject calls work now.

One caution that I believe was mentioned before:

The EAScriptLib JavaScript-Dialog script has a bug at line-29.
  • Original Line: return vbe.eval( "InputBox(\...
  • Corrected Line: return vbe.Eval( "InputBox(\...

The eval command needs to be Eval with a Capital E.

2
Bugs and Issues / Re: EA16 JavaScript DLGInputBox bug
« on: August 23, 2022, 01:09:20 am »
I filed a bug report with Sparx EA about this issue.  Sparx Support confirmed my suspicion that v16 x64 is unable to call the 32-bit COM objects like "Dialog".   

This is disappointing.

From: Sparx Support <[email protected]>
Sent: Thursday, August 18, 2022 8:14 PM
Subject: Re: Registered Bug Report - Sparx EA v16 - JavaScript or JScript

Hello Adam,

Thank you for your email.
 
 Unfortunately those scripts are dependant upon 32-bit COM objects and will not work under the 64-bit version of Enterprise Architect. If you need the ability to use these script libraries then you should install the 32-bit version of EA instead.
 
 We don't have any alternative function for providing an InputBox under 64-bit at this time.
 
 Best regards,
....
 Sparx Systems Pty Ltd
 
 

3
Bugs and Issues / Re: EA16 JavaScript DLGInputBox bug
« on: August 02, 2022, 09:17:51 am »
Hello all,
Could this issue be that the current EA configuration is calling a 32-bit "ActiveX" object which is why the 64-bit version comes back with an error?

I am not sure but it sort of looks like it.

Thanks, Adam

Pages: [1]