OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Archives
OmniTrader 2018 Technical Support
Compile Error
Last Activity 5/11/2020 10:43 AM
2 replies, 887 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
LSJ

Legend
500
Posts: 515

Joined: 8/17/2006
Location: Citrus Springs, FL

User Profile
 
Subject : Compile Error
Posted : 7/22/2018 7:59 AM
Post #45091

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


^ Top
Jim Dean

Sage
20001000
Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: Compile Error
Posted : 7/22/2018 4:38 PM
Post #45092 - In reply to #45091

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]

^ Top
LSJ

Legend
500
Posts: 515

Joined: 8/17/2006
Location: Citrus Springs, FL

User Profile
 
Subject : RE: Compile Error
Posted : 7/22/2018 6:51 PM
Post #45093 - In reply to #45092

Found it. It was something that got buried in the criteria library a long time ago. Thanks.
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.