Salut, this is my code (I added the line numbers) Exist says OK but the File.Load fails with : File or directory does not exist
args[0] = Reports/US-presidents-3.xml is a relative path If I use the Fullpath it works. AND: this only happens if the code is used in a component ! In the project-code it works. 807 IF Exist(args[0]) THEN 808 809 sString = File.Load(args[0]) This I get if I run it : args[0] = Reports/US-presidents-3.xml CLogic.FromXML.809: #45: File or directory does not exist -- Amicalment Charlie [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.24-25-generic DistributionVendor=ubuntu DistributionRelease="Ubuntu 8.04.3 LTS" [System] CPUArchitecture=i686 TotalRam=506932 kB [Gambas] Gambas1=gbx-1.0.17 Gambas1Path=/usr/bin/gbx Gambas2=2.17.0 rev 2424 Gambas2Path=/usr/local/bin/gbx2 Gambas3=2.99.0 Gambas3Path=/usr/local/bin/gbx3 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user