Help - Search - Members - Calendar
Full Version: Problem Changing Language
Fast Reports forum > Fast Reports Products > FastReport 3.0
marcocaliri
I have an error when I try to change the default ENGLISH language on FAST REPORT 3 STUDIO.

Here is my code in VISUAL FOX PRO

thisform.fr=CREATEOBJECT('FastReport.TfrxReport')
thisform.fr.LoadLanguageResourcesFromFile('REPORTS\Spanish.frc')

I get this error :

'Deprecated Method. Use LoadLanguageResourcesFromFile method of IfrxResources interface.'

I like to know how to call or use this 'IfrxResources' method.

Thanks. sad.gif
gordk
iam not a studio person but from the message you are getting
try
thisform.fr.IfrxResources.LoadLanguageResourcesFromFile('REPORTS\Spanish.frc')
marcocaliri
It didn't work,

seems that it's a BUG in the class library of FASTREPORT, because the sysntax is correct.

TEEM please fix it.
blatido
You need to use the resources interface...

thisform.fr.Resources.LoadLanguageResourcesFromFile('REPORTS\Spanish.frc');

alamaraminu
HI

But now I'm trying to change the language to portuguese and copied the file portuguese_pt.php to the directory

Regard















location catamaran corse - cancer thyroide
marmar
hi

i dont have permission to start a new topic. why is that? i registered today.
i have a question. i want to have the sum of a field from the first row at the end of each page
in page footer such that in the last page the sum in the page footer is equal to the sum in report summary.
i would appreciate your help in advance wink.gif
markcasias
its maybe because their is a requirement on how to start a new topic.. or try to ask the administrator....

good luck

mark
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.