Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

load xml file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    load xml file

    when i try to load a xmlfile, it seems to be looking at
    Could not find file 'E:\Program Files\NinjaTrader 6.5\bin\settings.xml'.

    how can i force it to look at the strategies folder or in \NinjaTrader 6.5\bin\Custom folder

    xmlDoc.Load(Application.StartupPath+ "\\" + "settings.xml");


    #2
    Originally posted by junkone View Post
    when i try to load a xmlfile, it seems to be looking at
    Could not find file 'E:\Program Files\NinjaTrader 6.5\bin\settings.xml'.

    how can i force it to look at the strategies folder or in \NinjaTrader 6.5\bin\Custom folder

    xmlDoc.Load(Application.StartupPath+ "\\" + "settings.xml");

    Hello,

    Thank you for your post.

    It seems as though you installed NinjaTrader on a different drive. Try installing on the default C:\Drive.
    Download link: http://www.ninjatrader.com/webnew/do...g_software.htm
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      what difference would that make. it would then look for the file under
      c:\Program Files\NinjaTrader 6.5\bin\settings.xml'.

      i like to leave it as is as my e: is my data drive. what application setting or config can i use for my strategy to look for the file under strategies folder or in \NinjaTrader 6.5\bin\Custom folder

      Comment


        #4
        junkone,

        You can try absolute file pathing with @"C:\Documents and Settings\User\NinjaTrader 6.5\...."
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Today, 05:17 AM
        0 responses
        44 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        65 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X