How do you add a reference to a System namespaces - NinjaTrader Programming | futures io social day trading
futures io futures trading


How do you add a reference to a System namespaces
Updated: Views / Replies:2,359 / 4
Created: by upshon Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How do you add a reference to a System namespaces

  #1 (permalink)
New Zealand
 
Trading Experience: Advanced
Platform: Multicharts, TradeNav
Favorite Futures: Futures
 
Posts: 6 since Dec 2010
Thanks: 3 given, 1 received

How do you add a reference to a System namespaces

Hi

How do you add a reference to a System namespaces?

I need to access to objects in System.Data.dll

As System.Data is in the GAC I dont want to reference the dll file directly, C:\Windows\Microsoft.NET\assembly\GAC_32\System.Da ta\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll but rather use the instance in the GAC.

The Add references dialog box does not give me an option to to access the GAC, I have tried browsing to C:\Windows\assembly where you can see contents of GAC but dialog does not allow me to add.

Is there a file that I need to edit manually, as I see in the reference dialog there are 5 System Assemblies referenced.

Thanks

Mike

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
New Zealand
 
Trading Experience: Advanced
Platform: Multicharts, TradeNav
Favorite Futures: Futures
 
Posts: 6 since Dec 2010
Thanks: 3 given, 1 received


I have figured it out.

I have edited the Config.xml file in My Documents\NinjaTrader 7

Add an element to the <References> tag as below.

<References>
<ArrayOfString>
<string>System.dll</string>
<string>System.Core.dll</string>
<string>System.Data.dll</string>
<string>System.Drawing.dll</string>
<string>System.Windows.Forms.dll</string>
<string>System.XML.dll</string>
<string>C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.Core.dll</string>
<string>C:\Program Files (x86)\NinjaTrader 7\bin\WilsonORMapper.dll</string>
<string>D:\\My Documents\NinjaTrader 7\bin\Custom\NinjaTrader.Vendor.dll</string>
</ArrayOfString>
</References>

Reply With Quote
The following user says Thank You to upshon for this post:
 
  #4 (permalink)
Pennsylvania, USA
 
Trading Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Forex
 
sunpost's Avatar
 
Posts: 60 since Aug 2010
Thanks: 203 given, 41 received

I backup and modify the \Documents\NinjaTrader 7\Config.xml file. In the <References> section add <string>System.Data.dll</string> Restart NT and the assembly should be available.

Reply With Quote
 
  #5 (permalink)
Hong Kong, China
 
 
Posts: 3 since Nov 2013
Thanks: 0 given, 0 received

Is it possible to include such modification (on Config.xml) in the export package, such that I don't need to teach the users to hack into Config.xml manually?

Thanks,
Jacky

Reply With Quote

Reply



futures io > > > > > How do you add a reference to a System namespaces

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Show us your trading desks and win $1,400 in prizes w/Earn2Trade

November
 

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
 

Surprise Bull Breakouts and Traps w/Al Brooks

Elite only
 

Mastering TradeStation Programming w/Chris @ ABC Trading Group

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
reference future data in EasyLanguage? shzhning EasyLanguage Programming 9 October 4th, 2012 11:28 AM
Reference another study that's not a function vegasfoster Sierra Chart Programming 3 June 23rd, 2011 02:41 PM
Object reference not set to an instance... dsraider NinjaTrader Programming 5 July 30th, 2010 09:17 AM
plot reference axis SARdynamite NinjaTrader Programming 1 July 8th, 2010 08:50 AM
EasyLanguage Object Reference philloo TradeStation 2 June 18th, 2010 03:56 AM


All times are GMT -4. The time now is 05:23 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts