Localization FastReport With The project

StarkStark Syria
edited 8:11AM in FastReport .NET
Hi , Have a good day ....

My Project (My Exe File ) Show Preview Control with an Arabic Localization when I run it on My Machine ....

but when I Run My Project ( My Exe File ) on Another Machine it restore English Localization .....

( I copy the Localization Arabic file to my Exe Dir , But no Luck ) ....


How I can Solve This ..... ?



Kind regards , and thank you very much for your time ...






Comments

  • StarkStark Syria
    edited June 2009
    It's Solved , Don't Bother your self .....

    I am sorry , I didn't search the forum before I post ...

    I used
    FastReport.Utils.Res.LoadLocale("Arabic.frl");
    
  • edited 8:11AM
    Stark wrote: »
    It's Solved , Don't Bother your self .....

    I am sorry , I didn't search the forum before I post ...

    I used
    FastReport.Utils.Res.LoadLocale("Arabic.frl");
    

    where put this code?
    in C# code?
    in FastReport Script Code?

    where?

    please description with details
  • StarkStark Syria
    edited 8:11AM
    hi ,

    you can use it in C# code , after loading your report and before showing it : for example :

    Private void ShowTest ()
    {
     FastReport.Report rpt = new  FastReport.Report();
                rpt.Load(@"c:\\myrpt.frx");
                FastReport.Utils.Res.LoadLocale("Arabic.frl");
               rpt.Design();
    }
    

Leave a Comment