sage 200 summer 2018 scripting

Hi all,

I am having a devil of a time getting sage 200 summer 2018 to work with scripting. I have been working with developer support who have no problems at all and I cannot get scripting to work at all.

I have tried windows server 2019 and also w10

I have checked all the usual .. firewall.cpl, registry to enable scripting, no AV installed, no Malware protection in place.

Library is compiled/built into the location that Sage200Desktop.exe resides, and I have the simplest of Sage200Scripts dll that can be.

Customer is bombarding me with requests.

can anyone give any guidance?

thanks in anticipation ...

jON

Parents Reply Children
  • 0 in reply to Toby

    Aye, even at my age.

    The ScriptManager class which parses and compiles the .vbs files at runtime does, for the most part, recognise the fact that VB is case insensitive. Where it doesn't do that is when it's reading the top of the file for Imports or Options statements - it expects them to be capitalized.  Unfortunately, if it finds a lowercase 'imports' (or 'options') then it doesn't ignore them - it incorrectly assumes it's found its way into the main body of the code and ends up compiling a load of garbage - hence the multiple errors.