Init Script Language

edited July 2010 in FastReport .NET
Hi Alex, I want to know if I can set Script Language to Vb (C sharp is set by default) from the init of the app. When I launch the designer I want to work with VBScript Language (by default) instead of C sharp. In my country the vb community is more superior than csharp comunity. Do I need to change any xml file? Thanks in advance. Sorry for my basic English.

Comments

  • StarkStark Syria
    edited August 2010
    Hope this help
    FastReport.EnvironmentSettings fastreportsetting = new FastReport.EnvironmentSettings();
    
    fastreportsetting.ReportSettings.DefaultLanguage = FastReport.Language.Vb;
    
    
    // Loading report Must be called after the fastreportsetting 
    
    FastReport.Report report = new FastReport.Report();
    report.Design();
    
  • edited 5:45PM
    Stark wrote: »
    Hope this help
    FastReport.EnvironmentSettings fastreportsetting = new FastReport.EnvironmentSettings();
    
    fastreportsetting.ReportSettings.DefaultLanguage = FastReport.Language.Vb;
    
    
    // Loading report Must be called after the fastreportsetting 
    
    FastReport.Report report = new FastReport.Report();
    report.Design();
    

    Thanks!!!

Leave a Comment