[Gambas-user] [SOLVED] Re: value of a field

2009-07-20 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : Finding: ResultVAR!fieldname was a PITA :( -- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitti

[Gambas-user] value of a field

2009-07-20 Thread Jean-Yves F. Barbier
Hi, I don't know how to recover the value from my field in: EXPORT CREATE STATIC ' "GLOBAL" VARIABLES STATIC PUBLIC $dbConnection AS NEW Connection STATIC PUBLIC dbLogin AS String STATIC PUBLIC dbLoginOid AS Integer PRIVATE SUB getAdminOid() DIM resQuery AS Result DIM refiField AS Re

[Gambas-user] close app & libs

2009-07-20 Thread Jean-Yves F. Barbier
Hi, I've got a control that display an error msg if false and I'd like to completly close the app when button its has been clicked, haw can I do so? Also, I noticed that I can put my PROCs into libraries, how shall I declare them? (as modules, or classes or?) JY -- ---

Re: [Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : ... > I think we should vote for the best bug report of the year... :-) Yep, and with a special icon to draw for the winner in he's posts (until next) -- Religion is what keeps the poor from murdering the rich. -- Napoleon --

Re: [Gambas-user] signal 11

2009-07-20 Thread Benoît Minisini
> > Jean-Yves F. Barbier a écrit : > > > Debian sid > > > Gambas V.2.13.1-1 > > > == > > > > > > Hi, > > > > > > I try to start my app, but I can't even trace into it as it returns: > > > (from fr) Program crashed triggering signal# 11 - Please send a bug > > > report to > > > > >

Re: [Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Jean-Yves F. Barbier a écrit : >>> Debian sid >>> Gambas V.2.13.1-1 >>> == >>> >>> Hi, >>> >>> I try to start my app, but I can't even trace into it as it returns: >>> (from fr) Program crashed triggering signal# 11 - Please send a bug >>> report to >>>

Re: [Gambas-user] signal 11

2009-07-20 Thread Benoît Minisini
> Jean-Yves F. Barbier a écrit : > > Debian sid > > Gambas V.2.13.1-1 > > == > > > > Hi, > > > > I try to start my app, but I can't even trace into it as it returns: > > (from fr) Program crashed triggering signal# 11 - Please send a bug > > report to > > > > I already had that, bu

Re: [Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : > Debian sid > Gambas V.2.13.1-1 > == > > Hi, > > I try to start my app, but I can't even trace into it as it returns: > (from fr) Program crashed triggering signal# 11 - Please send a bug report > to > > I already had that, but at least I was able

[Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Debian sid Gambas V.2.13.1-1 == Hi, I try to start my app, but I can't even trace into it as it returns: (from fr) Program crashed triggering signal# 11 - Please send a bug report to I already had that, but at least I was able to trace until faulty line. JY -- You are a wish t

[Gambas-user] Icon/Path question.

2009-07-20 Thread richard terry
This will probably sound confused and vague but here goes. In my project directory I've an icons directory and subdirs I want to use one of these icons on an html form which I generate once the program is running, and to do that I have elected to substitute the %image% in this text with the pa

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Charlie Reinl
Am Montag, den 20.07.2009, 22:05 +0200 schrieb Jean-Yves F. Barbier: 8< > > Yes, thats what I mean , with a name on. And another idea cam up, to > > enclose it as an component. > > NO: it is not a crypto, it's just obfuscation.

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Jean-Yves F. Barbier
Charlie Reinl a écrit : > Am Montag, den 20.07.2009, 20:59 +0200 schrieb Jean-Yves F. Barbier: >> Charlie Reinl a écrit : >> .. >>> my problem is , the project should be able to deal with all possible >>> DB's. >>> And I don't want to force a possible user to install more then gambas. >>> >>>

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Charlie Reinl
Am Montag, den 20.07.2009, 20:59 +0200 schrieb Jean-Yves F. Barbier: > Charlie Reinl a écrit : > .. > > my problem is , the project should be able to deal with all possible > > DB's. > > And I don't want to force a possible user to install more then gambas. > > > > And I know, that while deal

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Jean-Yves F. Barbier
Charlie Reinl a écrit : .. > my problem is , the project should be able to deal with all possible > DB's. > And I don't want to force a possible user to install more then gambas. > > And I know, that while dealing with open source, anybody can have a look > and debug that application, to find

Re: [Gambas-user] break long lines

2009-07-20 Thread Benoît Minisini
>For String assignments you can put an & at the end of it... > > String = "ABCD " & > "1234" > > Steve. > > Jean-Yves F. Barbier wrote: > > Hi, > > > > Is there a special character (such as \ under bash) to break a very long > > line? > > > > JY There are two ways of spanning a long

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Charlie Reinl
Am Montag, den 20.07.2009, 17:36 +0200 schrieb Rolf Schmidt: > Hi Charlie > > > > > > > > no what I need is for gambas2, I have to store Passwords in an > > > > > XML-file, what means plain-text readable. > > > > > So I need a crypting/uncrypting logic . > > > > > I put my PW "TOPSECRET" to store >

Re: [Gambas-user] break long lines

2009-07-20 Thread Stephen Bungay
For String assignments you can put an & at the end of it... String = "ABCD " & "1234" Steve. Jean-Yves F. Barbier wrote: > Hi, > > Is there a special character (such as \ under bash) to break a very long line? > > JY ---

[Gambas-user] break long lines

2009-07-20 Thread Jean-Yves F. Barbier
Hi, Is there a special character (such as \ under bash) to break a very long line? JY -- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors s

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Rolf Schmidt
Hi Charlie > > > > > > no what I need is for gambas2, I have to store Passwords in an > > > > XML-file, what means plain-text readable. > > > > So I need a crypting/uncrypting logic . > > > > I put my PW "TOPSECRET" to store > > > > Print crypting("TOPSECRET") > > > > > > > > >2sgb

Re: [Gambas-user] ide switch Forms...

2009-07-20 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Hi, >> >> Is it possible to have CTRL-PgUp & CTRL-PgDwn to respectively cycle >> backward & forward into opened Forms, Classes etc ? >> >> JY > > It should be possible, as AFAIK nothing uses these shorcuts. Although, there are some: Iceweasel (switch between tabs) =>

Re: [Gambas-user] TextBox and TextLabel do not respect the locale

2009-07-20 Thread Benoît Minisini
> Hi, > > I receive a date from a query to the database...let's say rData!x_date ... > > The database is set to > rData = Mglobal.$hConn.Exec("SET SESSION datestyle TO DMY") > > DMY data style...the locale of the computer is Italian so DMY also. > > If I write rData!x_date into a GridView or into

Re: [Gambas-user] Bug or Feature ?

2009-07-20 Thread Benoît Minisini
> Hi, > I have discovered that in a TableView or in a GridView enabled to receive > data's from a database > PUBLIC SUB TabWB4_Data(Row AS Integer, Column AS Integer) > > and to react to a Click PUBLIC SUB TabWB4_Click() > > Clicking, not only it is executed the _Click() subprogram but al

Re: [Gambas-user] ide switch Forms...

2009-07-20 Thread Benoît Minisini
> Hi, > > Is it possible to have CTRL-PgUp & CTRL-PgDwn to respectively cycle > backward & forward into opened Forms, Classes etc ? > > JY It should be possible, as AFAIK nothing uses these shorcuts. -- Benoît -- Enter

[Gambas-user] TextBox and TextLabel do not respect the locale

2009-07-20 Thread Pino Zollo
Hi, I receive a date from a query to the database...let's say rData!x_date ... The database is set to rData = Mglobal.$hConn.Exec("SET SESSION datestyle TO DMY") DMY data style...the locale of the computer is Italian so DMY also. If I write rData!x_date into a GridView or into a string all g

[Gambas-user] Bug or Feature ?

2009-07-20 Thread Pino Zollo
Hi, I have discovered that in a TableView or in a GridView enabled to receive data's from a database PUBLIC SUB TabWB4_Data(Row AS Integer, Column AS Integer) and to react to a Click PUBLIC SUB TabWB4_Click() Clicking, not only it is executed the _Click() subprogram but also the _Dat

[Gambas-user] Border text and gridview...

2009-07-20 Thread Stephen Bungay
Never mind.. found it. I have GOT to stop working so late. Gridview.Columns[iIndex].Text = "Text Goes Here" Steve :0 <--Yawning -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 i

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Charlie Reinl
Am Montag, den 20.07.2009, 10:27 +0200 schrieb Rolf Schmidt: > Hi Charlie > > > > no what I need is for gambas2, I have to store Passwords in an XML-file, > > > what means plain-text readable. > > > So I need a crypting/uncrypting logic . > > > I put my PW "TOPSECRET" to store > > > Print crypti

Re: [Gambas-user] Constants

2009-07-20 Thread Benoît Minisini
> Hello Benoît, Hello Gambas user, > > I am currently learning Gambas. The following program gives me a syntax > error. > > ' Gambas module file > CONST C AS Integer = 1 > PUBLIC SUB Main() > DIM A[C] AS Integer > DIM B[C] AS Integer > END > > Now obviously using a constant in an array does

Re: [Gambas-user] need some helping hand for crypting

2009-07-20 Thread Rolf Schmidt
Hi Charlie > > no what I need is for gambas2, I have to store Passwords in an XML-file, > > what means plain-text readable. > > So I need a crypting/uncrypting logic . > > I put my PW "TOPSECRET" to store > > Print crypting("TOPSECRET") > > > > >2sgbtf&& > > > > and get it back by > >

Re: [Gambas-user] EXEC vs. SHELL

2009-07-20 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Rolf-Werner Eilert ha scritto: >> >>> Could someone explain me why there are two different ways of executing >>> shell commands and how they differ in practice? I mean, when do I want >>> EXEC and when will I want SHELL? What's the idea behind them? >>> >>> Thank

[Gambas-user] Constants

2009-07-20 Thread Johannes Frank
Hello Benoît, Hello Gambas user, I am currently learning Gambas. The following program gives me a syntax error. ' Gambas module file CONST C AS Integer = 1 PUBLIC SUB Main() DIM A[C] AS Integer DIM B[C] AS Integer END Now obviously using a constant in an array does not work. My question

Re: [Gambas-user] EXEC vs. SHELL

2009-07-20 Thread Benoît Minisini
> Rolf-Werner Eilert ha scritto: > > Could someone explain me why there are two different ways of executing > > shell commands and how they differ in practice? I mean, when do I want > > EXEC and when will I want SHELL? What's the idea behind them? > > > > Thanks for all hints :-) > > SHELL invokes

Re: [Gambas-user] How to report signal #11

2009-07-20 Thread Benoît Minisini
> Hi, > In certain circumstances my project ends with signal #11 Hi, Do you yet have these crashes with the latest revision? I fixed a bug in it that could lead to "random" crashes early in the program execution (i.e. you run your program, and sometimes it crashes early, sometimes it don't).