CodeModules problem

Posted by: bertrandm on 3 August 2017, 3:22 pm EST

  • Posted 3 August 2017, 3:22 pm EST

    Hello,

    I use the latest version (1.6.2260.3), I have a problem to call static methods of my C # library.



    When the library name contains a dot (like "Product.ReportLib.dll"), the module is not added ... or something like that ...



    I attach a sample to show the problem.



    Thank you,

    Bertrand.
    2012/11/DataDynamicsCodeCsharpTest.zip
  • Replied 3 August 2017, 3:22 pm EST

    http://www.datadynamics.com/Help/ddReports/webframe.html?ddrconCustomCode.html
  • Replied 3 August 2017, 3:22 pm EST

    There is some points in your link. Could you explain why a dll with a dot don't work ?



    There is no information in your link about this problem...



    Thank you for your help.
  • Replied 3 August 2017, 3:22 pm EST


    You know C# and its some basic funds (well I atleast have had assumed so.
    <BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/wp-content/uploads/CS_images/icon-quote.gif"> BertrandM wrote:</td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4"> Could you explain why a dll with a dot don't work ?.</td></tr></table></td></tr></table></BLOCKQUOTE>

    Here is your "Y" ...

  • Replied 3 August 2017, 3:22 pm EST

    .
  • Replied 3 August 2017, 3:22 pm EST


    You know C# and its some basic fundas (well I atleast have had assumed so).
    <BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/wp-content/uploads/CS_images/icon-quote.gif"> BertrandM wrote:</td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4"> Could you explain why a dll with a dot don't work ?.</td></tr></table></td></tr></table></BLOCKQUOTE>

    Here is your "Y" ...

    <font size="5">
    using System;
    namespace SomeNameSpace
    {
    public class MyClass
    {
    static void Main()
    {
    <b><font color="#006400">Nested</font>.<font color="#800080">NestedNameSpaceClass</font>.SayHello();</b>
    }
    }

    // a nested namespace
    namespace <b><font color="#006400">Nested </font></b>
    {
    public class <b><font color="#800080">NestedNameSpaceClass </font></b>
    {
    public static void <b>SayHello</b>()
    {
    Console.WriteLine("Hello");
    }
    }
    }
    }</font>

  • Replied 3 August 2017, 3:22 pm EST

    .
  • Replied 3 August 2017, 3:22 pm EST

    I want to add that it worked with the version 1.6.2084.14.



    I think you changed something in the new version. Have you a workaround ? or a correction ?



    Thank you.
  • Replied 3 August 2017, 3:22 pm EST


    You know C# and its some basic funds (well I atleast have had assumed so.
    <BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/wp-content/uploads/CS_images/icon-quote.gif"> BertrandM wrote:</td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4"> Could you explain why a dll with a dot don't work ?.</td></tr></table></td></tr></table></BLOCKQUOTE>


  • Replied 3 August 2017, 3:22 pm EST

    .
  • Replied 3 August 2017, 3:22 pm EST

    Yes or I can stay in version 1.6.2084.14 ...

    In fact I don't understand why this is no longer supported.



    My clients have now multiple reports. So it's not a solution to tell them "change the call of the methods".



    Many dll are made like that. Eg "DataDynamics.Reports"

    There is a static property "DataDynamics.Licensing.MachineInformation.MachineID."



    If I had to call this property in a report, the call would be:

    = DataDynamics.Licensing.MachineInformation.MachineID

    It works with the old version, but not the last.



    I think there is a problem with the new version because it's a standard.
  • Replied 3 August 2017, 3:22 pm EST

    <BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/wp-content/uploads/CS_images/icon-quote.gif"> James Johnson - DD wrote:</td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4">



    I do want to clarify that atalati is another DDR user like you, not a ComponentOne/GrapeCity employee.



    James</td></tr></table></td></tr></table></BLOCKQUOTE>



    Tell you what, this confusion could have been avoided if each ComponentOne/GrapeCity employee is compelled to have ComponentOne/GrapeCity staffmember's emblem and/or "username - DD" :-)
  • Replied 3 August 2017, 3:22 pm EST

    All of the employees should have the GrapeCity staff member badge under their username on the left. If they don't have one its because they haven't told me so I can add them to the proper group in the forum system. :)



    We're working on getting our forums moved over to the ComponentOne site so that we can discontinue datadynamics.com altogether...but its a slow process to move everything with as little hiccups as possible to not just a brand new platform but also changing the database system etc.



    James
  • Replied 3 August 2017, 3:22 pm EST

    Hi Bertrand,



    Please try using the latest interim build we've made available: http://www.datadynamics.com/downloads/ddr-1.6.2260.5.zip I'm able to add references to other assemblies that contain a period in the file name with it.



    (This link is only temporary while we perform some maintenance on our regular download site).



    I do want to clarify that atalati is another DDR user like you, not a ComponentOne/GrapeCity employee.



    James
  • Replied 3 August 2017, 3:22 pm EST

    Ok I did not realize (thank you for the effort atalati)



    Thank you for your answer.

    I tested the latest version but it still does not work.
  • Replied 3 August 2017, 3:22 pm EST

    Change the . with _ !
  • Replied 3 August 2017, 3:22 pm EST

    Actually, I stay in version 1.6.2084.14



    And I'm waiting for news

    Thank you.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels