Re: [Gambas-user] Re port for Gambas

2009-05-09 Thread Marc Miralles
yes Sergio, it works perfectly on gambas. I Think at this moment is a 
good solution for make reports in gambas

I test this in gambas 2.12

Here the code in gambas, it's very easy:

PUBLIC FUNCTION kugar
DIM flname AS String
DIM hfile AS file

flname = User.home  /gambas//projectname//reports/test.kdf
IF Exist(flname) THEN KILL flname
  OPEN flname FOR WRITE CREATE AS #hFile
'Make Kugar file data in XML
PRINT #hfile, ?xml version='1.0' encoding='UTF-8'?
PRINT #hfile, 
PRINT #hfile, !DOCTYPE KugarData [
PRINT #hfile, !ELEMENT KugarData (Row* )
PRINT #hfile, !ATTLIST KugarData
PRINT #hfile, Template CDATA #REQUIRED
PRINT #hfile, 
PRINT #hfile, !ELEMENT Row EMPTY
PRINT #hfile, !ATTLIST Row
PRINT #hfile, level CDATA #REQUIRED
PRINT #hfile, title CDATA #REQUIRED
PRINT #hfile, version CDATA #REQUIRED
PRINT #hfile, platform CDATA #REQUIRED
PRINT #hfile, copies CDATA #REQUIRED
PRINT #hfile, ]
PRINT #hfile, 
  ' here you can replace next lines for a  for each in and 
replace fields with mysq result and add some rows
PRINT #hfile, KugarData Template='test.ktf'
PRINT #hfile, Row level= '0' title= 'BRU' version= '15.0' 
platform= 'x86' copies= '1'/
PRINT #hfile, Row level= '0' title= 'Caldera Open Linux' 
version= '2.2' platform= 'x86' copies= '3'/
PRINT #hfile, /KugarData
  CLOSE #hFile
Message.Info(File Created, OK)
SHELL kugar   flname
END



En/na Sergio A. Hernandez ha escrit:
 Marc,
 I get confused, I made work Kugar work under C++ QT, but I'm not quite
 sure I can on Gambas.
 The best way with Gambas is, just like you said, create a HTML
 customized report. But is a time consuming project that probably Kido
 is not going to use anymore.
 If you can make work Kugar under gambas please let us know.

 On Fri, May 8, 2009 at 7:36 AM, Marc Miralles m...@monalternatiu.com wrote:
   
 Dear Kido Zu

 I think this sample and guide  in docs.kde is good for you. In this
 moment I haven't a sample in gambas but I think it's a good info for
 beginning.

 http://docs.kde.org/kde3/en/koffice/kugar/tutorial.html ( for  make
 template)
 http://docs.kde.org/kde3/en/koffice/kugar/tut-2.html (about how to make
 a data file with SQL result)
 http://docs.kde.org/kde3/en/koffice/kugar/tut-3.html (how to run report
 in any language)

 This night I can test Kugar in gambas I think is similar to make report
 in HTML, You can create a  XML data file  with required format and run
 it in gambas with  Kugar.

 I think its easy.

 If this night I have time to do it and if I have exit I send sample to
 your mail.



 En/na Kido Zu ha escrit:
 
 thanks Marc..

 can you show me or give me an example how to create Kugar report for
 Gambas...with a simple way?:confused:



 Marc Miralles wrote:

   
 Hi Kido zu

 I test Kugar in gnome, now, in Ubuntu 9.04 and it work fine.



 En/na Kido zu ha escrit:

 
 Hi...

 what's the best report for Gambas?
 i'm using ubuntu and MySQL.
 can Kugar run on Gnome?

 thanks...





 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks
 to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



   
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



 
   
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 Gambas-user mailing list

Re: [Gambas-user] Report for Gambas

2009-05-08 Thread Marc Miralles
Hi Kido zu

I test Kugar in gnome, now, in Ubuntu 9.04 and it work fine.




En/na Kido zu ha escrit:
 Hi...

 what's the best report for Gambas?
 i'm using ubuntu and MySQL.
 can Kugar run on Gnome?

 thanks...




   
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

   


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Re port for Gambas

2009-05-08 Thread Marc Miralles
Dear Kido Zu

I think this sample and guide  in docs.kde is good for you. In this 
moment I haven't a sample in gambas but I think it's a good info for 
beginning.

http://docs.kde.org/kde3/en/koffice/kugar/tutorial.html ( for  make 
template)
http://docs.kde.org/kde3/en/koffice/kugar/tut-2.html (about how to make 
a data file with SQL result)
http://docs.kde.org/kde3/en/koffice/kugar/tut-3.html (how to run report 
in any language)

This night I can test Kugar in gambas I think is similar to make report 
in HTML, You can create a  XML data file  with required format and run 
it in gambas with  Kugar.

I think its easy.

If this night I have time to do it and if I have exit I send sample to 
your mail.



En/na Kido Zu ha escrit:
 thanks Marc..

 can you show me or give me an example how to create Kugar report for
 Gambas...with a simple way?:confused:



 Marc Miralles wrote:
   
 Hi Kido zu

 I test Kugar in gnome, now, in Ubuntu 9.04 and it work fine.



 En/na Kido zu ha escrit:
 
 Hi...

 what's the best report for Gambas?
 i'm using ubuntu and MySQL.
 can Kugar run on Gnome?

 thanks...




   
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks
 to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

   
   
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


 

   


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problems compiling under Ubuntu 9.04

2009-04-27 Thread Marc Miralles
Hi Leonardo:

I have compiled gambas 2.12  in some computers with Ubuntu 9.04 without 
problems. It works fine

I have installed all libraries required for installation. In gambas home 
page  I found this for Ubuntu 8.10:

sudo apt-get install build-essential autoconf libbz2-dev libgnorba-dev 
libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev 
libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev 
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev 
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev 
libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev 
libpoppler-glib-dev libasound2-dev libesd0-dev libesd-alsa0 
libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev 
firebird2.1-dev libqt4-dev

With these packages installed, I don't have problems in compilation in 
some computers with 9.04

Aram


En/na Leonardo Miliani ha escrit:
 Does anybody have successfully compiled Gambas 2.12 under Ubuntu 9.04?
 I'm trying to do but until now I has not been able to compile Gambas.
 Configure works fine, no disabled componet (at part the unknown gb.qte)
 but when I try to compile Gambas with make, the process hangs up during
 the compilation of gb.qt.kde with the errors reported in the attached file.
 (P.S.: I've had to downgrade libtool to version 1.5 'cause I had some
 other errors from this library...).

   


--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to compile Gambas in Fedora 10

2009-03-30 Thread Marc Miralles

   Hi Dominique;
   Thanks for page It's the solution.
   Marc
   En/na Simonart Dominique ha escrit:

Marc Miralles a écrit :
  

Hi all:

Some idea or link about how to compile Gambas 2.12 or Gambas 3 in Fedora 10

In gambas website don't have information about what packages are 
necessaries for compile Gambas in Fedora 10 and some components are 
disabled when compile in Fedora 10.

Please, I'm seek for this information in Internet and don't have exit. 
Some people have this information? thanks

Marc

--
___
Gambas-user mailing list
[1]gambas-u...@lists.sourceforge.net
[2]https://lists.sourceforge.net/lists/listinfo/gambas-user




Hi,
I don't know about Fedora, but did you read this ?

[3]http://gambasdoc.org/help/readme

hope this help
Dominique Simonart


--
___
Gambas-user mailing list
[4]gambas-u...@lists.sourceforge.net
[5]https://lists.sourceforge.net/lists/listinfo/gambas-user

References

   1. mailto:Gambas-user@lists.sourceforge.net
   2. https://lists.sourceforge.net/lists/listinfo/gambas-user
   3. http://gambasdoc.org/help/readme
   4. mailto:Gambas-user@lists.sourceforge.net
   5. https://lists.sourceforge.net/lists/listinfo/gambas-user
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to compile Gambas in Fedora 10

2009-03-27 Thread Marc Miralles
Hi all:

Some idea or link about how to compile Gambas 2.12 or Gambas 3 in Fedora 10

In gambas website don't have information about what packages are 
necessaries for compile Gambas in Fedora 10 and some components are 
disabled when compile in Fedora 10.

Please, I'm seek for this information in Internet and don't have exit. 
Some people have this information? thanks

Marc

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Ugly Gambas IDE in Fedora 10

2009-02-23 Thread Marc Miralles
Hi all:

When I compile Gambas 3 in Fedora 10 I have an error when I type ./configure
At end of process ./configure says:

THESE COMPONENTS ARE DISABLED:

- gb.cairo
- gb.corba
- gb.db.firebird
- gb.db.mysql
- gb.db.odbc
- gb.db.postgresql
- gb.db.sqlite2
- gb.db.sqlite3
- gb.desktop
- gb.gtk
- gb.gtk.svg
- gb.image.io
- gb.net.curl
- gb.net.smtp
- gb.pcre
- gb.qt.kde
- gb.qte
- gb.sdl
- gb.sdl.sound
- gb.xml

Whow I can include these components in compilation? Whow I know for what 
it is disabled? and what packages is necessari install

Thanks

Aram

 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

   


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas 3 gb.desktop

2009-02-20 Thread Marc Miralles

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Ugly Gambas IDE in Fedora 10

2009-02-18 Thread Marc Miralles

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user