Re: [Gambas-user] screen WxH

2009-11-04 Thread Jean-Yves F. Barbier
Steven James Drinnan a écrit : > use > > Desktop.Height > Desktop.Width Thanks to both of you JY -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your rep

Re: [Gambas-user] screen WxH

2009-11-04 Thread Werner
Jean-Yves F. Barbier wrote: > Hi, > > can I get the whole screen width & height without using any maximized > form to do that? > > Desktop.Width Desktop.Height -- Let Crystal Reports handle the reporting - Free Crysta

Re: [Gambas-user] screen WxH

2009-11-04 Thread Steven James Drinnan
use Desktop.Height Desktop.Width steven Steven On Thu, 2009-11-05 at 04:28 +0100, Jean-Yves F. Barbier wrote: > Hi, > > can I get the whole screen width & height without using any maximized > form to do that? > signature.asc Description: This is a digitally signed message pa

[Gambas-user] screen WxH

2009-11-04 Thread Jean-Yves F. Barbier
Hi, can I get the whole screen width & height without using any maximized form to do that? -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integrati

Re: [Gambas-user] Video4Linux

2009-11-04 Thread Steven James Drinnan
It does work in 2 but you need to preload the compat library like this i386 LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so (name of app) x86_64 LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so (name of app) These are the paths on Fedora. You may need to modify them to match yo

[Gambas-user] Question Rnd vb to gambas

2009-11-04 Thread Dmxa
I have a doubt, not long ago I started with the gambas2 and I am proving of passing 1 program Rnd of VB08 to gambas2 but when doing the function Rnd from a listbox to a textbox I do not obtain to leave. in VB08 use: Dim i2 As Integer i2 = Int(Rnd() * (lbDatos2.Items.Count - 1)) lis.lisx.Text = li

Re: [Gambas-user] Video4Linux

2009-11-04 Thread Hartmut Eilers
Thank you for your fast answer Benoit. Is it planned to support V4L2 in Version 3.0 or is it usable. Is it worth to give Version 3.0 a test with my video app or do I have to wait ?. Is it possible to install Version 3 in parallel to my version 2.x i have installed from the ubuntu repos ? Where ar

Re: [Gambas-user] Karmic sqlite problem.

2009-11-04 Thread R. Stormo
Benoît Minisini wrote: > >> Been trying to figure out what's going wrong and by removing everything >> on >> my startform and include one piece at the time I have come up with this. >> The Fakturalist is a HBox. Also tried with other containers same result. >> >> ' This do crash in Ubuntu Ka

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Ron
Benoît Minisini schreef: >> I got the same bug in #2048 installing in ubuntu 9.10x86_64 >> >> If you after intall finish do this (thanks to Ron review): >> >> sudo ln -s /usr/local/lib/gambas2 /usr/local/lib >> sudo chmod 755 -R /usr/local/lib/gambas2 >> >> gambas2 works again >> >> Regards >> >>

Re: [Gambas-user] Breaking processes

2009-11-04 Thread M. Cs.
Thanks, I think it should really work! I'll check it and write again if it won't. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deploymen

Re: [Gambas-user] Karmic sqlite problem.

2009-11-04 Thread Benoît Minisini
> Been trying to figure out what's going wrong and by removing everything on > my startform and include one piece at the time I have come up with this. > The Fakturalist is a HBox. Also tried with other containers same result. > > ' This do crash in Ubuntu Karmic > 'ME.Width = desktop.Width > >

[Gambas-user] DataSource missing feature

2009-11-04 Thread Jean-Yves F. Barbier
Hi, In a DataSource, I can't use a postgresql notation such as: schema.table The PB is I have multiple tables with same names in different schemas; so how could I reach them? -- You will be dead within a year. -- Let C

Re: [Gambas-user] DataBrowser bugs

2009-11-04 Thread Benoît Minisini
> gb 2.17 Debian sid > qt > SQL requests are written, not using intrinsic > postgresql 8.4.1 > table test( > id serial primary key, > label varchar(8) not null, > date_cre timestamp default now(), > date_mod timestamp default NULL, > mri_users_cre integer default 1, > mri_users_mod integer de

[Gambas-user] DataBrowser bugs

2009-11-04 Thread Jean-Yves F. Barbier
gb 2.17 Debian sid qt SQL requests are written, not using intrinsic postgresql 8.4.1 table test( id serial primary key, label varchar(8) not null, date_cre timestamp default now(), date_mod timestamp default NULL, mri_users_cre integer default 1, mri_users_mod integer default NULL, front boo

Re: [Gambas-user] Video4Linux

2009-11-04 Thread Benoît Minisini
> Hallo List, > > as I understand the current video4linux component is based > on video4linux version 1. Is there anything available for > video4linux version 2 ? > > Thanks in advance > > regards Hartmut > In Gambas 3. Regards, -- Benoît Minisini --

Re: [Gambas-user] Multithreaded Programs

2009-11-04 Thread Jussi Lahtinen
You can write two separated gambas applications that communicate to each other. That way you can have two threads. If you want speed up your program, I suggest that you first measure where is the actual bottleneck. Then look better algorithm for that task. If not possible, consider to write C/C++

Re: [Gambas-user] Video Application DirectorsDesk performance problems

2009-11-04 Thread Hartmut Eilers
I forgot to mention that there are some pathes hardcoded in the source which you need to modify, or even better patch it to make those settings configurable. :) regards Hartmut 2009/11/4 Hartmut Eilers : > Hallo, > > anybody interested in DirectorsDesk ( RegiePult ) may download the source > fro

[Gambas-user] Multithreaded Programs

2009-11-04 Thread Hartmut Eilers
Hallo List, is it possible to write multithreaded programs that support multicore or SMP systems with Gambas? Thanks for help Hartmut -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial.

[Gambas-user] Video4Linux

2009-11-04 Thread Hartmut Eilers
Hallo List, as I understand the current video4linux component is based on video4linux version 1. Is there anything available for video4linux version 2 ? Thanks in advance regards Hartmut -- Let Crystal Reports handle th

Re: [Gambas-user] Optional arguments and IDE

2009-11-04 Thread Jussi Lahtinen
Nice, thanks! I'll test it later. Jussi 2009/11/4 Benoît Minisini : >> Benoit, >> Is it possible to show default values of optional arguments, when you >> write function/sub call? >> Now you can only see gray text "bOptionalArgumentName As Boolean", I'd >> like to see >> "bOptionalArgumentName A

Re: [Gambas-user] Video Application DirectorsDesk performance problems

2009-11-04 Thread Hartmut Eilers
Hallo, anybody interested in DirectorsDesk ( RegiePult ) may download the source from: http://www.eilers.net/index.php?option=com_phocadownload&view=category&id=4:video-programs&Itemid=58 Any comments, hints or critics are highly welcome Kind regards Hartmut ---

Re: [Gambas-user] Optional arguments and IDE

2009-11-04 Thread Benoît Minisini
> Benoit, > Is it possible to show default values of optional arguments, when you > write function/sub call? > Now you can only see gray text "bOptionalArgumentName As Boolean", I'd > like to see > "bOptionalArgumentName As Boolean = True". > > Jussi > Done in revision #2410, but not well tested

Re: [Gambas-user] Breaking processes

2009-11-04 Thread Doriano Blengino
Dimitris Anogiatis ha scritto: > Hey M, > > to stop the execution of a for loop all you have to do is check for a > condition then use break > > for example > > > PUBLIC SUB FCopy() > DIM i AS Integer > Dim stopLoop as Boolean > DIM filepaths AS String[] > ' the array filep

Re: [Gambas-user] Video Application DirectorsDesk performance problems

2009-11-04 Thread Fabien Bodard
it will be interesting to see you source ... but ... where ? 2009/11/4 Hartmut Eilers : > Hallo List, > > the first alpha of my program RegiePult ( DirectorsDesk) is available. > Its a tool to record live video from different cams / media player. > The biggest problem I have is the performance an

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Ricardo Díaz Martín
I confirm version is gambas2 2.17(r2409) and I'm using qt applications. 2009/11/4 Benoît Minisini > > Excuse me Benoit, sometimes I read too much fast... I haven't seem Ron > > write about installation at his home directory > > > > Recently I update a producction server from ubuntu 9.04x86_64

Re: [Gambas-user] Breaking processes

2009-11-04 Thread Dimitris Anogiatis
Hey M, to stop the execution of a for loop all you have to do is check for a condition then use break for example PUBLIC SUB FCopy() DIM i AS Integer Dim stopLoop as Boolean DIM filepaths AS String[] ' the array filepaths is filled with contents FOR i=0 To filepaths.Cou

Re: [Gambas-user] Karmic sqlite problem.

2009-11-04 Thread R. Stormo
Benoît Minisini wrote: > >> Benoît Minisini wrote: > > > Do you use the very latest revision (2409)? > > -- > Benoît Minisini > > Yes, it was 2409- -snip top:~/trunk$ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0 Sjekket ut revisjon 2409. rohnny- --sna

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Benoît Minisini
> Excuse me Benoit, sometimes I read too much fast... I haven't seem Ron > write about installation at his home directory > > Recently I update a producction server from ubuntu 9.04x86_64 to > 9.10x86_64. > > After this, I got a problem with all gambas app in this server. The > lostfocus event

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Ricardo Díaz Martín
Excuse me Benoit, sometimes I read too much fast... I haven't seem Ron write about installation at his home directory Recently I update a producction server from ubuntu 9.04x86_64 to 9.10x86_64. After this, I got a problem with all gambas app in this server. The lostfocus event doesn't raise the

Re: [Gambas-user] Whats wrong with my SQLITE3 expression?

2009-11-04 Thread Bill-Lancaster
I just tried the same syntax with two new tables each with the same primary key, INNER JOIN worked OK. In my original post, properties.PropertyID is a primary key (integer) and tenants.PropertyID is integer but not a primary key. This seems to the problem. Any further ideas? -- View this messag

[Gambas-user] Breaking processes

2009-11-04 Thread M. Cs.
How can I stop the execution of a loop which includes shell command for copying files? Example: PUBLIC SUB FCopy() DIM i AS Integer DIM filepaths AS String[] ' the array filepaths is filled with contents FOR i=0 To filepaths.Count-1 SHELL "cp -f " & filepaths[i] & " /home/

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Benoît Minisini
> I got the same bug in #2048 installing in ubuntu 9.10x86_64 > > If you after intall finish do this (thanks to Ron review): > > sudo ln -s /usr/local/lib/gambas2 /usr/local/lib > sudo chmod 755 -R /usr/local/lib/gambas2 > > gambas2 works again > > Regards > That is not the same thing. Ron in

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Ricardo Díaz Martín
I got the same bug in #2048 installing in ubuntu 9.10x86_64 If you after intall finish do this (thanks to Ron review): sudo ln -s /usr/local/lib/gambas2 /usr/local/lib sudo chmod 755 -R /usr/local/lib/gambas2 gambas2 works again Regards 2009/11/4 Benoît Minisini > > On Tue, 2009-11-03 at 19:

Re: [Gambas-user] Karmic sqlite problem.

2009-11-04 Thread Benoît Minisini
> Benoît Minisini wrote: > > Can you try the latest fix on 2.0 from trunk? Without that fix, sometimes > > the > > IDE cannot start the project and hangs, because of a problem in the > > debugger. > > I have now tried it from trunk. The problem is still there. It's not the > me.width = desktop.wid

Re: [Gambas-user] BUG Gambas stable [2407] broken

2009-11-04 Thread Benoît Minisini
> On Tue, 2009-11-03 at 19:58 +0100, Benoît Minisini wrote: > > It should be fixed in revision #2408. Only people installing Gambas > > locally like you got the bug. > > Where is the revision number to be found? > When you do a "svn update", the revision number is printed. Otherwise there is th

[Gambas-user] Whats wrong with my SQLITE3 expression?

2009-11-04 Thread Bill-Lancaster
This is my first attempt at using INNER JOIN. "SELECT properties.*, tenants.* FROM properties INNER JOIN tenants ON properties.PropertyID = tenants.PropertyID" Can anyone advise? -- View this message in context: http://old.nabble.com/Whats-wrong-with-my-SQLITE3-expression--tp26193279p26193279.

[Gambas-user] Video Application DirectorsDesk performance problems

2009-11-04 Thread Hartmut Eilers
Hallo List, the first alpha of my program RegiePult ( DirectorsDesk) is available. Its a tool to record live video from different cams / media player. The biggest problem I have is the performance and I need serious hints how to achieve higher framerates. Currently I use PictureBoxes and do a lot