Re: [Gambas-user] [Fwd: My gambas stoped working...]

2009-04-22 Thread arbelmichal
ubuntu 8.10 gambas2 Arbel On Thu, 2009-04-23 at 11:06 +0800, Werner wrote: > arbelmichal wrote: > > > > > > > > Subject: > > My gambas stoped working... > > From: > > arbelmichal > > Date: > > Sun, 19 Apr 2009 23:20:35 +0300

Re: [Gambas-user] [Fwd: My gambas stoped working...]

2009-04-22 Thread Werner
arbelmichal wrote: > > > > Subject: > My gambas stoped working... > From: > arbelmichal > Date: > Sun, 19 Apr 2009 23:20:35 +0300 > To: > gambas-user@lists.sourceforge.net > > To: > gambas-user@lists.sourceforge.net > > Conte

Re: [Gambas-user] build failing 1931

2009-04-22 Thread M0E Lnx
Do you have mysql installed? On Apr 22, 2009 5:32 PM, "richard terry" wrote: The last few builds from 1929 on seem to be failing on my machine here: Is this just my problem? Compiling the gb.db.mysql project... gb.db.mysql gbc: project file not found: /home/richard/gambas3-svn/src/trunk/gb.d

[Gambas-user] build failing 1931

2009-04-22 Thread richard terry
The last few builds from 1929 on seem to be failing on my machine here: Is this just my problem? Compiling the gb.db.mysql project... gb.db.mysql gbc: project file not found: /home/richard/gambas3-svn/src/trunk/gb.db.mysql/src/gb.db.mysql/.project gba: ERROR: Cannot set file owner: /home/ric

Re: [Gambas-user] Gambas-user Digest, Vol 35, Issue 48

2009-04-22 Thread Charlie Reinl
Am Mittwoch, den 22.04.2009, 01:24 +0200 schrieb Andreas Müller: 8<--- > Btw. if someone wants to have an emulation of the "first PC" aka HP9100A > one can find that on my homepage under software. http://www.poipoi.de/software

Re: [Gambas-user] get color from drawingarea point

2009-04-22 Thread Jussi Lahtinen
To be more clear... this to outside of loop: tmpImage = DrawingArea1.Grab().Image this to inside of loop: c = tmpImage[x, y] But like Benoit said, it's not necessary in sync with DrawingArea internal buffer... depends on situation. I have used that kind of code with pictures, to gain more speed;

[Gambas-user] [Fwd: My gambas stoped working...]

2009-04-22 Thread arbelmichal
--- Begin Message --- Hi Please read this thread and see if you can help me... I got project that I am working on and I hed to stop beacuase my Gambas died... Thanks Arbel http://www.linuxbasic.net/index.php?topic=466.0 --- End Message ---

Re: [Gambas-user] Gambas Server Pages & mysql

2009-04-22 Thread Benoît Minisini
> Hey guys, > > With the example below Gambas Server Pages were introduced. > > My question is: > 1) how would I achieve a connection to a mysql database or any database for > that matter? > 2) where in the code below would I put the necessary statements? > 3) if no direct reference to any database

Re: [Gambas-user] get color from drawingarea point

2009-04-22 Thread Benoît Minisini
> hi, > I need to get the color of point into drawingaera. > I use "c = DrawingArea1.Grab().Image[x, y]" > This works well, but for a Area of 512 x 512 points it needs more than 10 > minutes > How can I accelerate this function? > > kind regards > Jürgen On X-Window, you don't have access to the p

[Gambas-user] How use Drag n Drop in FileChooser????

2009-04-22 Thread Wellington de Souza Pinto
Hi everyone Please! Any idea about the use Drag n Drop in FileChooser I need drag file from another window or external program. Any solutions, please Reguards, Souza, Wellington PS: My english is not very well. _

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Stefano Palmeri
Il mercoledì 22 aprile 2009 17:57:24 Jussi Lahtinen ha scritto: > Hi! > > I have looking for code to do that also... but your code doesn't work with > me. It always finds two instances of my program; > 1. the program it self > 2. sh -c pgrep -f -l ProgramName (option -l is just for debugging, it >

Re: [Gambas-user] What are the linux distros I should have to test my Gambas code on?

2009-04-22 Thread Frank Cox
On Wed, 22 Apr 2009 02:17:45 -0700 (PDT) jbskaggs wrote: > Currently I have Wolvix and Ubuntu (which I guess represent slackware and > debian) is there another major flavor that is really different from those > two that I should have to test my code on? I have noticed there are major > differenc

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Jussi Lahtinen
Hi! I have looking for code to do that also... but your code doesn't work with me. It always finds two instances of my program; 1. the program it self 2. sh -c pgrep -f -l ProgramName (option -l is just for debugging, it doesn't matter) This happens with Gambas 2.10 at Ubuntu 8.10 64bit. This d

Re: [Gambas-user] Pointer[] error in Ubuntu 8.04

2009-04-22 Thread Jesus Guardon
Yes, that is. Gambas 8.04 Repositories have Gambas2 2.0.0. Trying to install new versions of gambas components gives dependency errors of some libs, so my solution was to distribute my executable and shared libraries of gambas into a package which installs from shell script, putting every file

Re: [Gambas-user] change cursor design

2009-04-22 Thread Stefano Palmeri
Il mercoledì 22 aprile 2009 13:17:07 juelin ha scritto: > hello, > how can I chnage the cursor-design when the cursor go into a drawingarea? > please example > > kind regards > Jürgen PUBLIC SUB DrawingArea1_Enter() ME.Mouse = Mouse.Pointing END PUBLIC SUB DrawingArea1_Leave() ME.Mouse = M

Re: [Gambas-user] get color from drawingarea point

2009-04-22 Thread Jussi Lahtinen
tmpImage = DrawingArea1.Grab().Image c = tmpImage[x, y] Jussi On Wed, Apr 22, 2009 at 14:11, juelin wrote: > > hi, > I need to get the color of point into drawingaera. > I use "c = DrawingArea1.Grab().Image[x, y]" > This works well, but for a Area of 512 x 512 points it needs more than 10 > mi

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Siti Fatimah
Thank's Stefano ..for ur quick response. It really worked   Best Regards, sfatimah --- Pada Rab, 22/4/09, Stefano Palmeri menulis: Dari: Stefano Palmeri Topik: Re: [Gambas-user] How prevent application from opening twice Kepada: "mailing list for gambas users" Tanggal: Rabu, 22 April, 200

Re: [Gambas-user] How prevent application from opening twice

2009-04-22 Thread Stefano Palmeri
Il mercoledì 22 aprile 2009 13:11:59 Siti Fatimah ha scritto: > Hi all, > I need to prevent my program from opening twice. Is there a  best method to > determine whether a program has already run ? > > Thanks. > sfatimah > I use this: DIM sShellOutput as String SHELL "pgrep -f -U " & User.Name &

[Gambas-user] change cursor design

2009-04-22 Thread juelin
hello, how can I chnage the cursor-design when the cursor go into a drawingarea? please example kind regards Jürgen -- View this message in context: http://www.nabble.com/change-cursor-design-tp23174254p23174254.html Sent from the gambas-user mailing list archive at Nabble.com. -

[Gambas-user] get color from drawingarea point

2009-04-22 Thread juelin
hi, I need to get the color of point into drawingaera. I use "c = DrawingArea1.Grab().Image[x, y]" This works well, but for a Area of 512 x 512 points it needs more than 10 minutes How can I accelerate this function? kind regards Jürgen -- View this message in context: http://www.nabble.com/get

[Gambas-user] How prevent application from opening twice

2009-04-22 Thread Siti Fatimah
Hi all, I need to prevent my program from opening twice. Is there a  best method to determine whether a program has already run ? Thanks. sfatimah Berselancar lebih cepat. Internet Explorer 8 yang dioptimalkan untuk Yahoo! otomatis membuka 2 halaman favorit Anda setiap kali Anda membuka

Re: [Gambas-user] Pointer[] error in Ubuntu 8.04

2009-04-22 Thread Benoît Minisini
> Sorry if I was unclear. > > I have released an Ubuntu package of my own application in my > development machine running Ubuntu 8.10 and Gambas 2.9. No problems at > all, so far on this configuration. > > Later, I've installed such .deb package into a *clean* Ubuntu 8.04, > which complains about p

Re: [Gambas-user] HTML in Text Label

2009-04-22 Thread Benoît Minisini
> I'm trying to insert some basic HTML into a text label and from the docs, > "" should work, but it displays the text align=center>. Meanwhile , , etc. seems to work well. Also, > TextLabel1.alignment = 3 has the result I want. Am I missing something? > > Jason I think you must write ''. Withou

[Gambas-user] What are the linux distros I should have to test my Gambas code on?

2009-04-22 Thread jbskaggs
Currently I have Wolvix and Ubuntu (which I guess represent slackware and debian) is there another major flavor that is really different from those two that I should have to test my code on? I have noticed there are major differences in how slackware and ubuntu each handle graphics especially SD

Re: [Gambas-user] atanh - wrong calculation

2009-04-22 Thread Benoît Minisini
> Hello all, > > first I want to thank Benoit for his wonderfull Gambas system - never > was programming easier than with this IDE! > > Now my little problem. I calculated the atanh(0.5) and got: > > ?(Atnh(0.5)) > 3,162277660168 > > but this is wrong. The definition of atanh() should b