Re: [Gambas-user] Did anyone have a script to record webcame picture in video files

2010-12-27 Thread Fabien Bodard
the problem is that i dn't really understand what you want to do Can you explaint exactly what you are trying ? and by what way 2010/12/27 firman firman@gmail.com: ok.. i'll try to make source archieve, i really need faster for finishing my project, not just a record but i must try

Re: [Gambas-user] Command line gambas compiler

2010-12-27 Thread Fabien Bodard
2010/12/27 Ian Roper ian.ro...@eftel.com.au: Apologies if this is a double post - have been having trouble posting things to the forum. Question: Is there a way to compile a Gambas project from a command line ? ie: The  Project Make Executable. process from the Development environment.

Re: [Gambas-user] WITH and FOR EACH across emulated collections (large post)

2010-12-27 Thread Fabien Bodard
2010/12/27 Bruce Bruen bbr...@paddys-hill.net:   Hello all,   (gambas 2.22)   I am trying to build a persistence mechanism ala Ambler to decouple the   business logic from the persistence mechanism. I have done this   several times before in gambas with great success, but with the rule

[Gambas-user] [Fwd: Re: hProcess is NULL]

2010-12-27 Thread Demosthenes Koptsis
If i use only hProcess1 = SHELL sCommand WAIT i see in Gambas console the stdout. i try to find a way to keep hProcess1 = SHELL sCommand WAIT and read stdout as Gambas console does. -- Regards, Demosthenes Koptsis. ---BeginMessage--- On Mon, 2010-12-27 at 10:20 +1100, Ian Haywood wrote: On

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ian Haywood
On Mon, Dec 27, 2010 at 8:11 PM, Demosthenes Koptsis demosthen...@gmail.com wrote: On Mon, 2010-12-27 at 10:20 +1100, Ian Haywood wrote: On Mon, Dec 27, 2010 at 4:46 AM, Demosthenes Koptsis demosthen...@gmail.com wrote: Hello and merry Christmas, i have these lines of code ---

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ron
Not clear why you want to wait exactly, but another way is not to wait but to continue when process is finished. AntiVirRun_Kill() is called when process is finished. So you can do other things in meantime (like parsing _Read) and call the code to run from _Kill to continue. See here for some

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
Well i found a way hProcess1 = SHELL sCommand FOR INPUT AS AntiVirRun WHILE (hProcess1.Running) WAIT 10 WEND yes there is a reason because i want to stop execution of next lines but i cant explain it right now. So with this code i can process _Read event of process and stop execution of

[Gambas-user] Image to Picture

2010-12-27 Thread Shane
using Gambas 3 I'm trying to copy a image to a picturebox at a certain location using this code Draw.Begin(PictureBox1.Picture) Draw.Image(myimage,(PictureBox1.w-myimage.w)/2,(PictureBox1.h-myimage.w)/2) Draw.End But All I get Is Stray Data From The Screen what Am i Doing Wrong?

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Fabien Bodard
2010/12/27 Demosthenes Koptsis demosthen...@gmail.com: Well i found a way hProcess1 = SHELL sCommand FOR INPUT AS AntiVirRun WHILE (hProcess1.Running)  WAIT 10 WEND ?? what is that ? yes there is a reason because i want to stop execution of next lines but i cant explain it right

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:25, Shane wrote: using Gambas 3 I'm trying to copy a image to a picturebox at a certain location using this code Woops Forgot I also do PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) Draw.Begin(PictureBox1.Picture)

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Fabien Bodard
Exec [ls, -a] to sLig Print sLig To do what you want it's enought 2010/12/27 Fabien Bodard gambas...@gmail.com: 2010/12/27 Demosthenes Koptsis demosthen...@gmail.com: Well i found a way hProcess1 = SHELL sCommand FOR INPUT AS AntiVirRun WHILE (hProcess1.Running)  WAIT 10 WEND

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture -- Fabien Bodard -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage,

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture Tried This PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) Draw.Begin(PictureBox1.Picture)

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
This is a way not to continue the execution of next line codes until hProcess1 is finished and at the same time be able to process AntiVirRun_Read. Is there any other way? Everything is welcomed. On Mon, 2010-12-27 at 11:27 +0100, Fabien Bodard wrote: 2010/12/27 Demosthenes Koptsis

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
2010/12/27 Shane sha...@supernerd.com.au: On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture Tried This PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h) Draw.Begin(PictureBox1.Picture)

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:48, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture Tried This PictureBox1.Picture = New Picture(PictureBox1.w,PictureBox1.h)

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 21:55, Shane wrote: On 27/12/10 21:48, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture Tried This PictureBox1.Picture = New

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Demosthenes Koptsis
if i use SHELL sCommand to sVar i have to wait to complete execution of command. Right? In my case hProcess1 = SHELL sCommand FOR INPUT AS AntiVirRun sCommand is a scan command of an antivirus for 9000 files and more... This takes almost 10 minutes or more to be completed. i want in these

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
2010/12/27 Shane sha...@supernerd.com.au: On 27/12/10 21:55, Shane wrote: On 27/12/10 21:48, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent) after setting the new picture Tried This

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Shane
On 27/12/10 22:01, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:55, Shane wrote: On 27/12/10 21:48, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:36, Fabien Bodard wrote: try to add Picturebox.Picture.Fill(gb.Transparent)

Re: [Gambas-user] Image to Picture

2010-12-27 Thread Fabien Bodard
2010/12/27 Shane sha...@supernerd.com.au: On 27/12/10 22:01, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:55, Shane wrote: On 27/12/10 21:48, Fabien Bodard wrote: 2010/12/27 Shanesha...@supernerd.com.au: On 27/12/10 21:36, Fabien Bodard wrote: try to add

[Gambas-user] [Fwd: Re: hProcess is NULL]

2010-12-27 Thread Demosthenes Koptsis
oops Fabien you are right to complain i wanted hProcess1 = SHELL sCommand FOR INPUT AS AntiVirRun WHILE (hProcess1.State = hProcess1.Running) WAIT 10 WEND is it now ok? i think it is. -- Regards, Demosthenes Koptsis. ---BeginMessage--- if i use SHELL sCommand to sVar i have to

Re: [Gambas-user] Drag and Drop

2010-12-27 Thread Benoît Minisini
Hi all, I have done it before, but just forgot it (and can't find any appropriate samples) At the moment using Gambas 2.19 shipped with Ubuntu 10.04, Gnome I have a container which I would like to move around on the form with the mouse, and can't figure out how I can do that. Does

Re: [Gambas-user] Drag and Drop

2010-12-27 Thread Dag-Jarle Johansen
Hi Benoît, Ok, Still it would be nice to find out how that works. It's such a long time since I have done such things, I'll have to start all over again, and then better do it right. Regards, Dag-Jarle 2010/12/27 Benoît Minisini gam...@users.sourceforge.net Hi all, I have done it before,

Re: [Gambas-user] problem with Key.Code and form focus

2010-12-27 Thread Benoît Minisini
On Fri, Dec 24, 2010 at 7:14 PM, zachsmith...@gmail.com wrote: I'm having trouble having keypresses detected on a form. Sample code attached. Can someone please test this? Any feedback would be appreciated. Hey, it was Christmas. :-) I confirm the problems: - Windows with no borders

Re: [Gambas-user] Tooltip over icons in IDE toolbox

2010-12-27 Thread richard terry
On Tuesday 28 December 2010 10:04:09 Benoît Minisini wrote: Hi benoit, Wonder if it would be possible to put back the tooltips over the icons on the tabs in the toolbox - it can be hard to remember which icon = which control eg for lists/columnviews/grids/tableview. Regards

Re: [Gambas-user] Spelling error in textedit docs

2010-12-27 Thread richard terry
On Tuesday 28 December 2010 13:18:43 Benoît Minisini wrote: TextEdit.RichText (gb.qt4.ext) PROPERTY RichText AS String Returns or sets the rich text displayed in the control, i.e. the text ***will*** all the markups. should be 'with' Regards richard Funny, because gb.qt4.ext