Re: [Gambas-user] segfault with insanely large array of structures

2013-08-12 Thread Tobias Boege
On Mon, 12 Aug 2013, Kevin Fishburne wrote: > I know this code is horrible (it will be changed), but the following > declarations and procedure raise a signal 11 and populate some of > the array properties with non-zero values: > > ' Plan structures and array (server). > Public Struct PlanBlockStr

[Gambas-user] drag & drop in a tableview cell

2013-08-12 Thread Federico Allegretti
[ENG] i made a quick test: http://sourceforge.net/projects/otva/files/2013-08-12_dragdrop_troubles/scheduler-0.0.6.tar.gz/download to check how to make drag&drop in a gridview/tableview cell. both have the .finditem method that returns the object item overed by mouse or a NULL value ... But nor t

[Gambas-user] Microsoft Access database

2013-08-12 Thread Ivan Kern
Hi, Is it possible to connect Microsoft access database with Gambas? If yea, please, an example. Best regards, Ivan -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshoo

Re: [Gambas-user] Microsoft Access database

2013-08-12 Thread Caveat
Not that I know of, but I have written a system to convert MSAccess databases to MySQL/postgresql/MSSQLServer. It's written in java and uses the jackcess library (http://jackcess.sourceforge.net/). I also wrote a server which makes calls to the jackcess library based on simple text commands, s

Re: [Gambas-user] Microsoft Access database

2013-08-12 Thread Randall Morgan
I would think you should be able to use the ODBC component to connect ot MSAccess? Check this out: http://office.microsoft.com/en-us/access-help/administer-odbc-data-sources-HA010275550.aspx And this: http://gambasdoc.org/help/doc/odbc?en&v3 On Mon, Aug 12, 2013 at 5:26 AM, Caveat wrote: > No

Re: [Gambas-user] segfault with insanely large array of structures

2013-08-12 Thread Jussi Lahtinen
Can you make this crash code into runnable project? Jussi On Mon, Aug 12, 2013 at 7:35 AM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: > I know this code is horrible (it will be changed), but the following > declarations and procedure raise a signal 11 and populate some of the arr

Re: [Gambas-user] pass parameters to another form invoke where?

2013-08-12 Thread PICCORO McKAY Lenz
Thanka Tobias and Fabien, theres what i think about two solutions: 1) The proposed from tobias are not beatifull but easy to understand and good hack .. From: Tobias Boege > In FAuth you can write: > > Public Sub MyShowModal(theParameter As ...) > ' Do something with theParameter > Me.Show

Re: [Gambas-user] Microsoft Access database

2013-08-12 Thread nando
ACCESS db is really just a file ,and not a 'server' like MySQL You need software to install on your linux box to tickle the file. There is something out there, I did use something on a box a while back. (sorry forgot what is was) -- Original Message --- From: Caveat To: gambas-us

[Gambas-user] Sending mails "solved"

2013-08-12 Thread Rolf-Werner Eilert
Hi folks, just FYI, for you were so nice to try to get me up with the Gambas SMTP client: Finally, I picked up a discussion Benoit had had with someone else some time ago that it's tricky to really implement authorisation here. Then I remembered another discussion in some forum about a similar

Re: [Gambas-user] Sending mails "solved"

2013-08-12 Thread Benoît Minisini
Le 12/08/2013 18:28, Rolf-Werner Eilert a écrit : > Hi folks, > > just FYI, for you were so nice to try to get me up with the Gambas SMTP > client: > > Finally, I picked up a discussion Benoit had had with someone else some > time ago that it's tricky to really implement authorisation here. Then I

Re: [Gambas-user] Interest in a difficult bug?

2013-08-12 Thread Benoît Minisini
Le 10/08/2013 18:57, Tobias Boege a écrit : > On Sat, 10 Aug 2013, Beno?t Minisini wrote: >> Le 10/08/2013 17:33, Beno?t Minisini a ?crit : >>> Le 10/08/2013 14:06, Tobias Boege a ?crit : Hi Benoit, in a project I can reliably reproduce the following message: ** Oops! Inter

Re: [Gambas-user] Interest in a difficult bug?

2013-08-12 Thread Benoît Minisini
Le 12/08/2013 18:47, Benoît Minisini a écrit : > > No crash at all there. The line: > > Shell "setsid sleep 1" Wait > > never returns until the sleep is exausted or if I kill it manually. Then > we enter the next loop which never terminate, as "pgrep sleep" now > always return nothing. >

Re: [Gambas-user] segfault with insanely large array of structures

2013-08-12 Thread Benoît Minisini
Le 12/08/2013 06:35, Kevin Fishburne a écrit : > I know this code is horrible (it will be changed), but the following > declarations and procedure raise a signal 11 and populate some of the > array properties with non-zero values: > > ' Plan structures and array (server). > Public Struct PlanBlockS

[Gambas-user] ListView.Current.MoveFirst() upside down

2013-08-12 Thread Tobias Boege
Hi, attached is a simple project which uses ListView.Current.MoveFirst() to move the double-clicked item to the top of the ListView. However, MoveFirst() moves the item to the last position while MoveLast() moves to the first position. Am I misunderstanding how ListView thinks about first and la

Re: [Gambas-user] Interest in a difficult bug?

2013-08-12 Thread Benoît Minisini
Le 12/08/2013 18:48, Benoît Minisini a écrit : > Le 12/08/2013 18:47, Benoît Minisini a écrit : >> >> No crash at all there. The line: >> >> Shell "setsid sleep 1" Wait >> >> never returns until the sleep is exausted or if I kill it manually. Then >> we enter the next loop which never ter

Re: [Gambas-user] Microsoft Access database

2013-08-12 Thread Randall Morgan
Some ideas... Are you running MS Access on the same system under wine? Or on a remote machine? Do you need to actually connect to ms access or can you import the access database in to MySQL or Postgres? Access is actually a program. It's data-store is a file(s). Access also has a funny query lang

Re: [Gambas-user] How to interpret the "circular references" message?

2013-08-12 Thread Benoît Minisini
Le 06/08/2013 13:32, Tobias Boege a écrit : > Hi, > > I have got some circular references in my project which I want to get rid > of. Actually I haven't really got an idea of where the cause could lie so I > wonder if there is anything useful in the message from Gambas. > > My questions are: What d

Re: [Gambas-user] Starting a Process and forgetting about it

2013-08-12 Thread Benoît Minisini
Le 07/08/2013 10:08, Tobias Boege a écrit : > Hi, > > in a project I need to start a server Process and watch its Kill event while > the program is running. The server shall, however, continue to run even > after my program exits. > > I'm kind of stuck here: If I create a Process, Gambas keeps watc

Re: [Gambas-user] Feature request: Use key- (and index-)accessor in a With clause

2013-08-12 Thread Benoît Minisini
Le 11/08/2013 13:33, Tobias Boege a écrit : > Hi Benoit, > > what bothers me from time to time is that With is *so* handy but can't be > used to access Array or Collection elements like: > > With hCollection ' or hArray >Print ["key"] ' or Print [0] > End With > > I see that this would be a sy

Re: [Gambas-user] Issue 440 in gambas: Faulty error message from valid code

2013-08-12 Thread gambas
Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #2 on issue 440 by benoit.m...@gmail.com: Faulty error message from valid code http://code.google.com/p/gambas/issues/detail?id=440 That bug seems to be fixed, but I don't remember in which revision. Can you confirm

Re: [Gambas-user] Issue 458 in gambas: Repeated CRITICAL messages

2013-08-12 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 458 by benoit.m...@gmail.com: Repeated CRITICAL messages http://code.google.com/p/gambas/issues/detail?id=458 I can't reproduce the messages with Unity with the latest revision. Can you tell me if the

Re: [Gambas-user] Issue 459 in gambas: Gambas 3.4.2 IDE not working recompile all when downgrading

2013-08-12 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 459 by benoit.m...@gmail.com: Gambas 3.4.2 IDE not working recompile all when downgrading http://code.google.com/p/gambas/issues/detail?id=459 "compile all" forces the recompilation of everything, as y

Re: [Gambas-user] Issue 460 in gambas: Desktop.Sendkeys("{[Control_L]A}") does not work

2013-08-12 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 460 by benoit.m...@gmail.com: Desktop.Sendkeys("{[Control_L]A}") does not work http://code.google.com/p/gambas/issues/detail?id=460 Please send your project so that I can debug. Anyway, if you want to

Re: [Gambas-user] Issue 460 in gambas: Desktop.Sendkeys("{[Control_L]A}") does not work

2013-08-12 Thread gambas
Updates: Status: WontFix Comment #2 on issue 460 by benoit.m...@gmail.com: Desktop.Sendkeys("{[Control_L]A}") does not work http://code.google.com/p/gambas/issues/detail?id=460 OK : please write Desktop.SendKeys("{[Control_L]a}"), because having an "A" needs the SHIFT key (which leads

Re: [Gambas-user] Sending mails "solved"

2013-08-12 Thread Rolf-Werner Eilert
Am 12.08.2013 18:35, schrieb Benoît Minisini: > Le 12/08/2013 18:28, Rolf-Werner Eilert a écrit : >> Hi folks, >> >> just FYI, for you were so nice to try to get me up with the Gambas SMTP >> client: >> >> Finally, I picked up a discussion Benoit had had with someone else some >> time ago that it