Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
No, it was only now since before I never used db.Edit, I always used to work with db.exec. I chose to use it, just to change a bit (for fun). All db.exec code has and is correctly working. Steven Le mardi 08 février 2011 à 19:46 +0100, Benoît Minisini a écrit : > > Hi, > > > > I did as you to

Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
Hi benoît, I investigated a bit more on what happened. For a week, i was still using the version 2.8. Then the problem occurred. So, I thought, the first thing to do was install the latest version (2.22) I downloaded this version (not the trunk) and did ./configure make su make install Now, wh

Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
And by the way : all application looks 'normal' now if i run it directly from the command line ??? Nice ! Le mardi 08 février 2011 à 18:25 +0100, Benoît Minisini a écrit : > > After some testing, i found out I had to set the scaled parm to false > > for all the windows. > > So, now I succeeded

Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
Hi, I did as you told me. Now, the strangest thing happened : The error vanished ! Valgrind gives me just a few lines. Saying that, apart from some memory lost, nothing is wrong. I tried to run the program as normally is done, no problem. All is fine. Only, I have the impression it's a bit slow

Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
Hi again, And here is the valgrind output. (The last and relevant part of it ) Le mardi 08 février 2011 à 10:53 +0100, Benoît Minisini a écrit : > valgrind --tool=memcheck --num-callers=50 gbx2 -p =28574==by 0x4676355: ??? (in /usr/lib/gambas2/gb.qt.so.0.0.0)

Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
After some testing, i found out I had to set the scaled parm to false for all the windows. So, now I succeeded the first part. The output is : steven@localhost:~/request_dev> gbx2 -p kbuildsycoca running... QObject::disconnect: Unexpected null parameter steven@localhost:~/request_d

Re: [Gambas-user] exception 11

2011-02-08 Thread Steven revimmo
I did compile it from scratch. (No errors, all ok first time !) However, as i try to do what you asked it got really ugly. Parts of my app (panels in windows with buttons and labels and ..)are not showing, some windows displayed as very small rectangles (not sizable) , so I cannot even test the p

[Gambas-user] exception 11

2011-02-07 Thread Steven revimmo
Hi, I'm doing this : PUBLIC SUB Close_Click() ' save the images and close DIM PicE AS Picture DIM PicM AS Picture DIM StrPicE, StrPicM AS String DIM resP AS Result PicE = DrawingArea1.Grab() PicE.Save("Z-energy.jpg") PicM = DrawingArea2.Grab() PicM.Save("Z-emission.jpg") ' and into th

Re: [Gambas-user] Databases, please help me!

2010-02-06 Thread Steven revimmo
Maybe this helps (it's part of a project i did) ' Gambas class file rsD AS Result rsK AS Result rfield AS ResultField ctrl AS Control MColl AS NEW Collection FHand AS File p AS picture Mandat AS String PaTag AS String[] Id AS Integer PRIVATE CONST thumbSize AS Integer = 90 bigone AS Integer = 4

Re: [Gambas-user] Should i upgrade to gambas3

2009-12-31 Thread Steven revimmo
Le vendredi 01 janvier 2010 à 00:47 +0800, Werner a écrit : > Best Regards and Happy New Year (it is now in Hong Kong) > Werner > > And happy New Year to you (and all on this list) too. Here, in France it's 'only' 18:00, so we wait ;-) Should you not be doing something else (as writing on

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread Steven revimmo
You are a funny guy ;-) Le mardi 24 novembre 2009 à 21:57 +1100, nospam.nospam.nos...@gmail.com a écrit : > Steven revimmo wrote: > > > So, for me it boils down to a question of widgets, a surmountable > > problem, > > You don't read much of what Benoit has to sa

Re: [Gambas-user] Gambas as firefox plugin !!!

2009-11-24 Thread Steven revimmo
Hi, I think it would be the best thing ever. I did a lot of gambas development for one of my companies. The problem came with installation. We have sites all over France and all kinds of systems (Linux, Max, Windoze, ... whatever) I just could not maintain all that, it was to much work, to much t

Re: [Gambas-user] Need help / call for volunteers

2009-08-24 Thread Steven revimmo
And Suse 11.0 : [OperativeSystem] OperativeSystem="Linux" KernelRelease="2.6.25.20-0.4-pae" Distribution="" [Hardwate] [Gambas] Gambas="" Gambas2="2.8.1" Gambas3="" Steven Le lundi 24 août 2009 à 12:48 -0400, Dr. Diesel a écrit : > On Mon, Aug 24, 2009 at 12:35 PM, David Villalobos Cambron

Re: [Gambas-user] text interface apps

2009-08-13 Thread Steven revimmo
Hi, For a few (10?) years I programmed a small "windows" system in sh. It had windows, texts, some widgets etc. So, I think as long as You can do this in sh (with a little help of the curses lib), you should be able to do it in gambas to. (Or just call the appropriate shell routines.) I'll try t

Re: [Gambas-user] pickle?

2009-08-11 Thread Steven revimmo
Hi, As far as I know, it's used to write/read any variable in a file. So, you can write objects, numbers, arrays, anything into a file, and get them back without conversion or analyses of the text in the file. Very handy indeed. Steven Le mardi 11 août 2009 à 11:06 +0200, Leonardo Miliani a éc

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Steven revimmo
I used this : SHELL "kdesu " & Chr(34) & "/usr/sbin/lpadmin -p request_ps -v 'pipe:/bin/cat - > " & User.Home & "/request/work/tempfile.ps' -m PostscriptColor.ppd -E" & Chr(34) WAIT (to install a printer) cheers, steven Le mercredi 05 août 2009 à 17:07 +0200, Stefano Palmeri a écrit : >

Re: [Gambas-user] Window not closable

2009-07-07 Thread Steven revimmo
Hi, I think you can just cancel it in the onClose event of the window. I personally use windows without borders or anything that simply have no close button on them, it's nicer i think, but of course you are leaving the desktop look, which might not be acceptable. Steven Le mardi 07 juillet 200

Re: [Gambas-user] gambas2 on opensuse 11.0

2009-07-03 Thread Steven revimmo
Hi, I use Suse 11.0 : No problems. I think this library is called libqt-mt.so.3 It's in the standard repository. If lib's are failing, I use some extra repositories like : http://ftp.skynet.be/pub/packman/suse/11.0/ or http://download.opensuse.org/repositories/X11:/XGL/openSUSE_11.0/ Good luc

Re: [Gambas-user] Exec / Sehll and openoffice

2009-06-22 Thread Steven revimmo
Hi, I do : SHELL "soffice " & User.Home & "/request/work/" & MyFile Works just fine. Steven Le lundi 22 juin 2009 à 13:59 +0200, Stefan Miefert a écrit : > > Hello, > > > > i try in gambas to start openoffice and load a csv file like this > > > openoffice path/myfile.csv > > in t