|
LSJ
 Legend
 Posts: 515
Joined: 8/17/2006
Location: Citrus Springs, FL
User Profile |
Some of my ATM methods are failing with the object reference error. In trying to track it down I get this "compile all" error:
FileName: ; Line: 0; Char: 0; Error Number: -2;
Microsoft (R) Visual Basic Compiler version 14.7.2556
for Visual Basic 2012
Copyright (c) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to Visual Basic 2012, which is no longer the latest version. For compilers that support newer versions of the Visual Basic programming language, see http://go.microsoft.com/fwlink/?LinkID=533241
C:\Program Files (x86)\Nirvana\OT2018\VBA\Temp\getcloseVIX.txt(35) : error BC30451: 'opt1' is not declared. It may be inaccessible due to its protection level.
Closing OT, cleaning up temp files and reopening and then opening IDE initiially says build success. Running build all repeats the above.
Any programmers out there got any ideas?
Thanks
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
During the initial compile, when it first starts, eyeball the bottom left strip carefully. If any of the OScript formulae that you create, anywhere, even if not in active use, have syntax errors, then all the other stuff doesn’t work either that is in the same general category.
[Edited by Jim Dean on 7/22/2018 4:39 PM]
|
|
LSJ
 Legend
 Posts: 515
Joined: 8/17/2006
Location: Citrus Springs, FL
User Profile |
Found it. It was something that got buried in the criteria library a long time ago. Thanks.
|