1 Like
>>I have encountered the same problem of having no Advanced menu and have a follow-up question, If I start testing scripts in the latest 32-bit version of LEAP, these should reliably be functioning in the 64-bit version when the Advanced menu and the Script Edit is reintroduced, right?
Short answer:
yes - scripts developed for 32-bit LEAP will also work in 64-bit.
Long Answer:
The reason you cant see the Advanced menu is that a special extra DLL file needs to be downloaded and registered to support scripting under 64-bit apps within 64-bit Windows. Microsoft no longer support MSSCRIPT.OCX with 64-bit Windows apps. However, a 3rd party DLL - the Tablacus Script Control - seems to do a good job of supporting scripts in 64-bit Windows.
You can download the DLL here:
ftp://ftp.energycommunity.org/leap/tsc64.zip
Unzip this file so that the DLL file is on your LEAP program folder (normally C:\Program Files\LEAP) then register the file using this command from the Windows Command Prompt (Type CMD into the Windows Search box):
Regsvr32 tsc64.dll
if that doesn't work, try:
\windows\system32\Regsvr32 tsc64.dll
You will need to have admin rights to properly register the DLL.
The next version of LEAP will include this DLL and will automatically register it, so the above steps will not be needed.
Once you follow the above instructions, the Advanced menu should again be visible in the 64-bit version of LEAP and you should be able to edit and run the same scripts you use in your 32-bit apps.
Hope this helps,
Charlie