I understand that you said my issue is unsupported but anyway. We are quite a long time together. You help me many times and gave me helpful advises even then the issue was outside support.
My problem is connecting to NinjaTrader.sdf file. I did it sometime, but now it doesn’t work.
My script create external windows form and put data from NinjaTrader.sdf on it.
In my script I use the following declarations
Using System.Data;
Using System.Data.SqlServerCe;
Then I made reference by clicking References -> Add (chose System.Data.SqlServerCe.dll in Program Files (86) -> NinjaTrader7 -> bin…) click ok
Then I made reference to System.Data.dll by the same actions but chose the file from the subfolder WINDOWS in my computer which ends to v.4.0. I think it is the version.
But the script returned the compilation errors anyway.
Then I found System.Data.dll file of 2.0.0.0 version in the Internet downloaded it and made the reference to the System.Data.dll version 2.0.0.0 file and the script worked.
But the next time I launched the Ninja, the script did not work again.
My script should create the external windows form by clicking on custom button on a chart controls panel. Now nothing has happened when I click the button. No any compilation errors are returned when I compiling the script.
The same situation was before I made new reference to System.Data.dll version 2.0.0.0 file. Nothing had happened by clicking the button.
I tried to make new references to different files but nothing helps.
People, I think the answer is in the area of declarations, references and *.dll files versions. I am new in c# codding and will appreciate any advice.
Bertrand, you always helped me. Please, what is the solution can be.
Regards.
Comment