[Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

2012-01-18 Thread Girard Henri
Hi, I have been running precise pangolin for few months now, gambas3 compiled well... Today first time I have got this error, I can't find this libvtkzlib, any help ? regards Henri --

[Gambas-user] Help

2012-01-18 Thread Randall Morgan
Hi Everyone, I am looking for a good example of an exponential algorithm. It seems that everyone uses the Towers of Hanoi problem. I need something simple for my section on algorithms however, I am wanting something other than the usual TOH demo. Any ideas? Thanks for your help! -- If you ask

Re: [Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

2012-01-18 Thread Benoît Minisini
Le 18/01/2012 09:32, Girard Henri a écrit : > Hi, > > I have been running precise pangolin for few months now, gambas3 > compiled well... Today first time I have got this error, I can't find > this libvtkzlib, any help ? > regards > Henri > >

Re: [Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

2012-01-18 Thread Girard Henri
After I have been searching : files are in the right place but not found... Le 18/01/2012 09:32, Girard Henri a écrit : > Hi, > > I have been running precise pangolin for few months now, gambas3 > compiled well... Today first time I have got this error, I can't find > this libvtkzlib, any help ?

[Gambas-user] Database question

2012-01-18 Thread M. Cs.
Hi! Is there any built in function in Gambas3 which can secure the database connection from the errors caused by special characters? I have written functions for replacing the dangerous characters like ', +, . and so on, but I'd like to know whether there is a way to make queries secure from failu

Re: [Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

2012-01-18 Thread Caveat
Perhaps a permissions problem? You can sometimes get a not-found error for a file (in a dir) you have no permission to read... ls -l should tell you all you need to know... Also, I have gotten in the habit of doing a ./reconf-all before reporting compile errors as that sometimes helps sort ou

Re: [Gambas-user] Database question

2012-01-18 Thread tobias
M. Cs. wrote: > Hi! > Is there any built in function in Gambas3 which can secure the > database connection from the errors caused by special characters? > > I have written functions for replacing the dangerous characters like > ', +, . and so on, but I'd like to know whether there is a way to make

[Gambas-user] Suppressing display of hidden files by Dialog's OpenFile & SaveFile functions

2012-01-18 Thread John Rose
When I use Dialog's OpenFile & SaveFile functions, the popup always shows hidden files. Is there a way of suppressing their display? If not, where is the best place for suggesting improvements to Gambas? -- Keep Your Develo

Re: [Gambas-user] Which container to use for Draw Image?

2012-01-18 Thread tobias
Алексей Беспалов schrieb: > Hi! > Please help me. > > > Which container to use for Draw Image? > So you can determine which of Image Clicked. > > I used to DrawArea at HPanel. But I do not know how to identify the object in > the event DrawArea Click (). > > This is part my code: > > -

Re: [Gambas-user] Which container to use for Draw Image?

2012-01-18 Thread Алексей Беспалов
Thank you, tobias! But I do not quite understand what you mean. Could give an example of code? 18 января 2012 г. 21:58 пользователь tobias написал: > Алексей Беспалов schrieb: > > Hi! > > Please help me. > > > > > > Which container to use for Draw Image? > > So you can determine which of Image C

Re: [Gambas-user] Which container to use for Draw Image?

2012-01-18 Thread tobias
Алексей Беспалов schrieb: > Thank you, tobias! > But I do not quite understand what you mean. > Could give an example of code? > > 18 января 2012 г. 21:58 пользователь tobias написал: > >> Алексей Беспалов schrieb: >>> Hi! >>> Please help me. >>> >>> >>> Which container to use for Draw Image? >>

Re: [Gambas-user] Which container to use for Draw Image?

2012-01-18 Thread Алексей Беспалов
Thank you, this is what I need. I will try. 18 января 2012 г. 22:18 пользователь tobias написал: > Алексей Беспалов schrieb: > > Thank you, tobias! > > But I do not quite understand what you mean. > > Could give an example of code? > > > > 18 января 2012 г. 21:58 пользователь tobias написал: >

Re: [Gambas-user] Database question

2012-01-18 Thread Sebi
The function you are talking about is Shell(string). But it's useless in this case, as it escapes spaces and other characters others than the needed to avoid sql injection techniques. -Original Message- From: tobias Date: Wed, 18 Jan 2012 14:49:29 To: mailing list for gambas users Repl

Re: [Gambas-user] Database question

2012-01-18 Thread Benoît Minisini
Le 18/01/2012 14:17, M. Cs. a écrit : > Hi! > Is there any built in function in Gambas3 which can secure the > database connection from the errors caused by special characters? > > I have written functions for replacing the dangerous characters like > ', +, . and so on, but I'd like to know whether

Re: [Gambas-user] Database question

2012-01-18 Thread M. Cs.
Yes, Benoit. I'll check the documentation, since I always used the Myconnection.Exec("SELECT FROM table WHERE field='"& myvar & "';) form of the querying, and now I would like to change it to a more convenient way, since I always had to assure myvar is safe. 2012/1/18, Benoît Minisini : > Le 18/01

[Gambas-user] 'Null object' when loading image from a .jpg file

2012-01-18 Thread John Rose
I get a popup window containing 'Null object' at runtime (which unfortunately does not point at problem line of code, though I think that it must be 'image = Image.Load(Dialog.Path)') with following code, when I click ButtonImportImage: CodePublic Sub ButtonImportImage_Click() Dim image As Imag

Re: [Gambas-user] 'Null object' when loading image from a .jpg file

2012-01-18 Thread Benoît Minisini
Le 18/01/2012 19:42, John Rose a écrit : > I get a popup window containing 'Null object' at runtime (which > unfortunately does not point at problem line of code, though I think that > it must be 'image = Image.Load(Dialog.Path)') with following code, when I > click ButtonImportImage: > CodePub

Re: [Gambas-user] ubuntu 12.04 error with libvtkzip or vtkzlib ?

2012-01-18 Thread girard henri
I reinstalled from scrash pangolin and there is no more problem... I guess a bad vtk installation ? Le 18/01/2012 09:32, Girard Henri a écrit : > Hi, > > I have been running precise pangolin for few months now, gambas3 > compiled well... Today first time I have got this error, I can't find > this

[Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 194 by emil.len...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 1) Describe the problem. IIf does not do the correct job when the true par

Re: [Gambas-user] 'Null object' when loading image from a .jpg file

2012-01-18 Thread John Rose
Project attached as requested. JewishHeritage.tar.gz Description: GNU Zip compressed data -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread Randall Morgan
I think the result is correct. I would expect a result of 1,0 as 1 is equal to 1 but 2 is not equal to 1. On Wed, Jan 18, 2012 at 2:22 PM, wrote: > Status: New > Owner: > Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > Desktop-Any GUI-Any > > New issue 194 by emil.len

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread Emil Lenngren
No :) It should print the same as: Print IIf(True, 1.0, 1) Print IIf(False, 1.0, 1) which prints 1 1 2012/1/18 Randall Morgan > I think the result is correct. I would expect a result of 1,0 as 1 is equal > to 1 but 2 is not equal to 1. > > On Wed, Jan 18, 2012 at 2:22 PM, wrote: > > > S

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread Randall Morgan
Yes, you're right. I didn't look at your code close enough before I stuck my foot in my mouth ;-) On Wed, Jan 18, 2012 at 3:04 PM, Emil Lenngren wrote: > No :) > It should print the same as: >Print IIf(True, 1.0, 1) >Print IIf(False, 1.0, 1) > which prints > 1 > 1 > > 2012/1/18 Randall M

[Gambas-user] Issue 195 in gambas: The bit manipulation functions does not work correctly on Shorts when negative values are returned

2012-01-18 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 195 by emil.len...@gmail.com: The bit manipulation functions does not work correctly on Shorts when negative values are returned http://code.google.com/p/gambas/issues/det

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 194 by benoit.m...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 (No comment was entered for this change.) --

Re: [Gambas-user] Issue 4 in gambas: Autosizing and centering a label does not center a label

2012-01-18 Thread gambas
Updates: Labels: GUI-Any Comment #4 on issue 4 by benoit.m...@gmail.com: Autosizing and centering a label does not center a label http://code.google.com/p/gambas/issues/detail?id=4 (No comment was entered for this change.) --

Re: [Gambas-user] Issue 5 in gambas: GUI crash on menu editor

2012-01-18 Thread gambas
Updates: Labels: GUI-Any Comment #4 on issue 5 by benoit.m...@gmail.com: GUI crash on menu editor http://code.google.com/p/gambas/issues/detail?id=5 (No comment was entered for this change.) -- Keep Your Develop

Re: [Gambas-user] Issue 12 in gambas: Disabled timer keep running

2012-01-18 Thread gambas
Updates: Status: WontFix Comment #2 on issue 12 by benoit.m...@gmail.com: Disabled timer keep running http://code.google.com/p/gambas/issues/detail?id=12 No news from one year, I close the issue! -- Keep Your De

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread gambas
Updates: Status: Fixed Comment #2 on issue 194 by benoit.m...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 It should be fixed in revision #4405. -- Keep Your Developer Skills Cu

Re: [Gambas-user] Issue 195 in gambas: The bit manipulation functions does not work correctly on Shorts when negative values are returned

2012-01-18 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 195 by benoit.m...@gmail.com: The bit manipulation functions does not work correctly on Shorts when negative values are returned http://code.google.com/p/gambas/issues/detail?id=195 (No comment was en

Re: [Gambas-user] Issue 195 in gambas: The bit manipulation functions does not work correctly on Shorts when negative values are returned

2012-01-18 Thread gambas
Updates: Status: Fixed Comment #2 on issue 195 by benoit.m...@gmail.com: The bit manipulation functions does not work correctly on Shorts when negative values are returned http://code.google.com/p/gambas/issues/detail?id=195 It should be fixed in revision #4406. As for your tip: appa

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread gambas
Comment #3 on issue 194 by emil.len...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 I'm afraid that fix does not work for pure objects? (A truncated class-pointer will be sent to VALUE_convert, and it will overwrite the higher bits of *PC). I think setting (

[Gambas-user] Issue 196 in gambas: Inline arrays with different types

2012-01-18 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 196 by emil.len...@gmail.com: Inline arrays with different types http://code.google.com/p/gambas/issues/detail?id=196 1) Describe the problem. There are some cases where di

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread gambas
Updates: Status: Accepted Comment #4 on issue 194 by benoit.m...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 Is it better with revision #4407? -- Keep Your Developer Skills Cur

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-18 Thread gambas
Comment #5 on issue 194 by benoit.m...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 And yes, I should use a different function that SUBR_check_good_type() in the IIf() implementation. That function was made for inline arrays detection. -

Re: [Gambas-user] Issue 196 in gambas: Inline arrays with different types

2012-01-18 Thread gambas
Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 196 by benoit.m...@gmail.com: Inline arrays with different types http://code.google.com/p/gambas/issues/detail?id=196 It should be fixed in revision #4408. ---

Re: [Gambas-user] gb3: "Mathematic error"

2012-01-18 Thread Kevin Fishburne
On 01/17/2012 12:38 PM, Fabien Bodard wrote: > Le 17 janvier 2012 16:22, Benoît Minisini > a écrit : >> Le 17/01/2012 11:35, Kevin Fishburne a écrit : >>> On 01/17/2012 05:18 AM, Kevin Fishburne wrote: On 01/16/2012 02:33 AM, Benoît Minisini wrote: > Le 16/01/2012 08:05, Kevin Fishburne