[Gambas-user] DataSource & DataBrowser problem

2012-02-29 Thread John Rose
I just installed all Gambas3 packages from kendek's launchpad ppa for
Gambas pre-release: he created them yesterday evening after using
subversion. How do I find out the version number of Gambas3 that he used
apart from asking him?

The previous problem is fixed when I try to add a new row to a SQLite3
database table (i.e. the display of a popup stating "Cannot modify
record: SQL error or missing database". However, there are now new
problems:

When the DataBrowser control is initialised, the left hand side of it
points to the centre of the data (with the 'scrolling' point matching
that) rather than the left of the data as it used to do.

When the 'New' icon is clicked (to add a new row), the cursor does not
move automatically to that row. 

When the 'Save' icon is clicked, no save of data takes place (checked by
closing the app & starting it again) unless the 'New' icon is clicked
again (that also causes the left hand side of it to point to the centre
of the data).




--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to organize dependent lists

2012-02-29 Thread Rolf-Werner Eilert
Am 28.02.2012 18:33, schrieb tobi:
> hi,
>
> On Tue, 28 Feb 2012, Rolf-Werner Eilert wrote:
>
>> Hi folks,
>>
>> I would be interested in your opinions. In a project I've got two lists
>> of data and further data which are mutually dependent, such as
>>
>> item 1:
>>  item 1 a
>> data 1 aa
>> data 1 ab
>>  item 1 b
>> data 1 ba
>> data 1 bb
>>
>> and so on, which could be seen like a tree or directory structure.
>>
>> Now my question is, how would YOU organize this internally? I mean, what
>> kind of data structure would you prefer to be able to easily find your
>> way through it? In the GUI, it looks like two ListBoxes and two TextBoxes:
>>
>> List1   List2 TextBox1
>> TextBox2
>>
>> If you choose item1 in List1, List2 will show item1a and item1b. When
>> you choose item1a, the Textboxes show data1aa and data1ab. If you choose
>> item1b, the Textboxes show data1ba and data1bb.
>>
>> Of course, I could make a matrix of
>>
>> item1  item1a  data1aa
>> item1  item1a  data1ab
>> item1  item1b  data1ba
>> item1  item1b  data1bb
>>
>> but how would my program EASILY find which data to show if the user
>> clicks item1a for instance? Another idea was to leave out repetitions:
>>
>> item1  item1a  data1aa
>>  data1ab
>>  item1b  data1ba
>>  data1bb
>>
>> This shows the tree-like structure better, but is it a professional
>> approach?
>>
>> Thanks for your ideas.
>>
>> Rolf
>>
>> --
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> well, my approach would be using a class that has an array of instances of 
> the same class (reminds
> me of linked lists). i don't know if it is possible in gambas, haven't tried 
> or read about it but it
> may look like:
>
> ---
> CNode.class:
>
> Public Children As CNode[]
> ---
>
> or, which may be more intuitive in later usage:
>
> ---
> CNode.class:
>
> Inherits Array
>
> Public Children As CNode[]
>
> Public Function _get(iInd As Integer) As CNode
>Return Me.Children[iInd]
> End
> ---
>
> in fact, i haven't programmed in Gambas for about a month and have no 
> possibility to check my
> suggestions but i think you see the point.
>
> regards,
> tobi


Thank you, Tobi, Nando had a similar idea. I've never tried that, but 
now I see a chance to get this organized.

Regards

Rolf



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to organize dependent lists

2012-02-29 Thread Rolf-Werner Eilert
Thanks a lot for your ideas, I'll try and see if I get this organized 
with it. If anything goes wrong, I'll be back! :-)

Regards

Rolf

Am 28.02.2012 21:17, schrieb nando:
> The second level OBJECT[] actually turns out to be an array of Classes.
> My experience is people understand the OBJECT[] way because of the container
> within a container concept.
> It is the same thing :)
>
>
>
> -- Original Message ---
> From: tobi
> To: i...@eilert-sprachen.de, mailing list for gambas 
> users
> Sent: Tue, 28 Feb 2012 18:33:26 +0100
> Subject: Re: [Gambas-user] How to organize dependent lists
>
>> hi,
>>
>> On Tue, 28 Feb 2012, Rolf-Werner Eilert wrote:
>>
>>> Hi folks,
>>>
>>> I would be interested in your opinions. In a project I've got two lists
>>> of data and further data which are mutually dependent, such as
>>>
>>> item 1:
>>>  item 1 a
>>> data 1 aa
>>> data 1 ab
>>>  item 1 b
>>> data 1 ba
>>> data 1 bb
>>>
>>> and so on, which could be seen like a tree or directory structure.
>>>
>>> Now my question is, how would YOU organize this internally? I mean, what
>>> kind of data structure would you prefer to be able to easily find your
>>> way through it? In the GUI, it looks like two ListBoxes and two TextBoxes:
>>>
>>> List1   List2 TextBox1
>>> TextBox2
>>>
>>> If you choose item1 in List1, List2 will show item1a and item1b. When
>>> you choose item1a, the Textboxes show data1aa and data1ab. If you choose
>>> item1b, the Textboxes show data1ba and data1bb.
>>>
>>> Of course, I could make a matrix of
>>>
>>> item1  item1a  data1aa
>>> item1  item1a  data1ab
>>> item1  item1b  data1ba
>>> item1  item1b  data1bb
>>>
>>> but how would my program EASILY find which data to show if the user
>>> clicks item1a for instance? Another idea was to leave out repetitions:
>>>
>>> item1  item1a  data1aa
>>>  data1ab
>>>  item1b  data1ba
>>>  data1bb
>>>
>>> This shows the tree-like structure better, but is it a professional
>>> approach?
>>>
>>> Thanks for your ideas.
>>>
>>> Rolf
>>>
>>> --
>>> Keep Your Developer Skills Current with LearnDevNow!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-d2d
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> well, my approach would be using a class that has an array of instances of 
>> the
>> same class (reminds me of linked lists). i don't know if it is possible in
>> gambas, haven't tried or read about it but it may look like:
>>
>> ---
>> CNode.class:
>>
>> Public Children As CNode[]
>> ---
>>
>> or, which may be more intuitive in later usage:
>>
>> ---
>> CNode.class:
>>
>> Inherits Array
>>
>> Public Children As CNode[]
>>
>> Public Function _get(iInd As Integer) As CNode
>>Return Me.Children[iInd]
>> End
>> ---
>>
>> in fact, i haven't programmed in Gambas for about a month and have no
>> possibility to check my suggestions but i think you see the point.
>>
>> regards,
>> tobi
>>
>> --
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> --- End of Original Message ---
>
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas

[Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread TME

Hello

I try to compile gambas3 on debian squeeze
Somebody can say to me what are packages-dev necessary for the compilation
(after download  => svn checkout
https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/) ?
I found nothing on this subject

thanck you
jean-luc

-- 
View this message in context: 
http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33410649.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread TME

Hi

I tried to complier with the package for Ubuntu Lucid
The result for /config -C give me that :
||
|| GTK+ toolkit is disabled
||
|| Cairo component is disabled
|| FreeType backend for Cairo is disabled
||
|| Image loading and saving is disabled
||
|| GNU Scientific Library component is disabled
||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.cairo
|| - gb.gsl
|| - gb.gtk
|| - gb.image.io

Somebody would know he to which packages-dev it corresponds?

Thank you for your replie
regards
jean-luc

-- 
View this message in context: 
http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33413267.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread Jesus
El 29/02/12 13:08, TME escribió:
>
> Hi
>
> I tried to complier with the package for Ubuntu Lucid
> The result for /config -C give me that :
> ||
> || GTK+ toolkit is disabled
> ||
> || Cairo component is disabled
> || FreeType backend for Cairo is disabled
> ||
> || Image loading and saving is disabled
> ||
> || GNU Scientific Library component is disabled
> ||
> || THESE COMPONENTS ARE DISABLED:
> || - gb.cairo
> || - gb.gsl
> || - gb.gtk
> || - gb.image.io
>
> Somebody would know he to which packages-dev it corresponds?
>
> Thank you for your replie
> regards
> jean-luc
>


Hi jean-luc

As stated in the wiki, http://gambasdoc.org/help/install/ubuntu?v3
these are the dependencies for Ubuntu which is based on Debian.
Try with these, may be some of them should not be exact, but you are in 
the way. Look in your package manager for similar names.

sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 
libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev 
libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev 
libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev 
libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev 
libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev 
libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev 
libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev 
libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev 
libgdk-pixbuf2.0-dev linux-libc-dev

Regards
-- 
Jesus Guardon

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb3: multiple errors

2012-02-29 Thread Benoît Minisini
Le 29/02/2012 07:26, Kevin Fishburne a écrit :
>>>
>>> Public Struct Server_QueueOut
>>>   Acknowledged As Boolean ' Whether or not transaction has been
>>> acknowledged by recipient.
>>>   Player As Short ' Number of player transaction was sent to.
>>>   Timestamp As Float  ' Time transaction was sent.
>>>   Type As Byte' Transaction type.
>>>   Data As String  ' Transaction payload.
>>> End Struct

Size of the structure (32 bits) :
8 (Gambas object base)
+ 1
+ 1 (padding)
+ 2
+ 4 (padding)
+ 8
+ 1
+ 3 (padding)
+ 4
= 32 bytes

>>> Public QueueOut[2000, 32768] As Struct Server_QueueOut

2000 * 32768 * 32 = 2097152000 bytes = 2 Gb.

It's worse on 64 bits because of the padding.

-- 
Benoît Minisini

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb3: multiple errors

2012-02-29 Thread Emil Lenngren
Arrange the struct like this to get zero padding (I think):
Data As String
Timestamp As Float
Player As Short
Type As Byte
Acknowledged As Boolean

2012/2/29 Benoît Minisini 

> Le 29/02/2012 07:26, Kevin Fishburne a écrit :
> >>>
> >>> Public Struct Server_QueueOut
> >>>   Acknowledged As Boolean ' Whether or not transaction has been
> >>> acknowledged by recipient.
> >>>   Player As Short ' Number of player transaction was sent
> to.
> >>>   Timestamp As Float  ' Time transaction was sent.
> >>>   Type As Byte' Transaction type.
> >>>   Data As String  ' Transaction payload.
> >>> End Struct
>
> Size of the structure (32 bits) :
> 8 (Gambas object base)
> + 1
> + 1 (padding)
> + 2
> + 4 (padding)
> + 8
> + 1
> + 3 (padding)
> + 4
> = 32 bytes
>
> >>> Public QueueOut[2000, 32768] As Struct Server_QueueOut
>
> 2000 * 32768 * 32 = 2097152000 bytes = 2 Gb.
>
> It's worse on 64 bits because of the padding.
>
> --
> Benoît Minisini
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] DataSource & DataBrowser problem

2012-02-29 Thread Benoît Minisini
Le 29/02/2012 10:10, John Rose a écrit :
> I just installed all Gambas3 packages from kendek's launchpad ppa for
> Gambas pre-release: he created them yesterday evening after using
> subversion. How do I find out the version number of Gambas3 that he used
> apart from asking him?

Ask him : or find the package creation date, I will guess the revison 
number from it. Usually the revision number is put in the package name.

>
> The previous problem is fixed when I try to add a new row to a SQLite3
> database table (i.e. the display of a popup stating "Cannot modify
> record: SQL error or missing database". However, there are now new
> problems:
>
> When the DataBrowser control is initialised, the left hand side of it
> points to the centre of the data (with the 'scrolling' point matching
> that) rather than the left of the data as it used to do.
>
> When the 'New' icon is clicked (to add a new row), the cursor does not
> move automatically to that row.
>
> When the 'Save' icon is clicked, no save of data takes place (checked by
> closing the app&  starting it again) unless the 'New' icon is clicked
> again (that also causes the left hand side of it to point to the centre
> of the data).
>

Do you use gb.gtk or gb.qt4?

-- 
Benoît Minisini

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread TME

Thank you for your replies

I tried with library Ubuntu Lucid, Ubuntu Maverick, and other library Ubuntu
I have always the same result  :
===> 
GTK+ toolkit is disabled
Cairo component is disabled ,FreeType backend for Cairo is disabled
Image loading and saving is disabled
GNU Scientific Library component is disabled
THESE COMPONENTS ARE DISABLED:
gb.cairo
gb.gsl
gb.gtk
gb.image.io

Nobody has installed Gambas3 on Debian squeeze with KDE ?




Jesus-21 wrote:
> 
> El 29/02/12 13:08, TME escribió:
>>
>> Hi
>>
>> I tried to complier with the package for Ubuntu Lucid
>> The result for /config -C give me that :
>> ||
>> || GTK+ toolkit is disabled
>> ||
>> || Cairo component is disabled
>> || FreeType backend for Cairo is disabled
>> ||
>> || Image loading and saving is disabled
>> ||
>> || GNU Scientific Library component is disabled
>> ||
>> || THESE COMPONENTS ARE DISABLED:
>> || - gb.cairo
>> || - gb.gsl
>> || - gb.gtk
>> || - gb.image.io
>>
>> Somebody would know he to which packages-dev it corresponds?
>>
>> Thank you for your replie
>> regards
>> jean-luc
>>
> 
> 
> Hi jean-luc
> 
> As stated in the wiki, http://gambasdoc.org/help/install/ubuntu?v3
> these are the dependencies for Ubuntu which is based on Debian.
> Try with these, may be some of them should not be exact, but you are in 
> the way. Look in your package manager for similar names.
> 
> sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 
> libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev 
> libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev 
> libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev 
> libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev 
> libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev 
> libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev 
> libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev 
> libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev 
> libgdk-pixbuf2.0-dev linux-libc-dev
> 
> Regards
> -- 
> Jesus Guardon
> 
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33414841.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread Jussi Lahtinen
http://gambasdoc.org/help/doc/distro?en&view
http://gambasdoc.org/help/install?en&view

Jussi



On Wed, Feb 29, 2012 at 17:31, TME  wrote:

>
> Thank you for your replies
>
> I tried with library Ubuntu Lucid, Ubuntu Maverick, and other library
> Ubuntu
> I have always the same result  :
> ===>
> GTK+ toolkit is disabled
> Cairo component is disabled ,FreeType backend for Cairo is disabled
> Image loading and saving is disabled
> GNU Scientific Library component is disabled
> THESE COMPONENTS ARE DISABLED:
> gb.cairo
> gb.gsl
> gb.gtk
> gb.image.io
>
> Nobody has installed Gambas3 on Debian squeeze with KDE ?
>
>
>
>
> Jesus-21 wrote:
> >
> > El 29/02/12 13:08, TME escribió:
> >>
> >> Hi
> >>
> >> I tried to complier with the package for Ubuntu Lucid
> >> The result for /config -C give me that :
> >> ||
> >> || GTK+ toolkit is disabled
> >> ||
> >> || Cairo component is disabled
> >> || FreeType backend for Cairo is disabled
> >> ||
> >> || Image loading and saving is disabled
> >> ||
> >> || GNU Scientific Library component is disabled
> >> ||
> >> || THESE COMPONENTS ARE DISABLED:
> >> || - gb.cairo
> >> || - gb.gsl
> >> || - gb.gtk
> >> || - gb.image.io
> >>
> >> Somebody would know he to which packages-dev it corresponds?
> >>
> >> Thank you for your replie
> >> regards
> >> jean-luc
> >>
> >
> >
> > Hi jean-luc
> >
> > As stated in the wiki, http://gambasdoc.org/help/install/ubuntu?v3
> > these are the dependencies for Ubuntu which is based on Debian.
> > Try with these, may be some of them should not be exact, but you are in
> > the way. Look in your package manager for similar names.
> >
> > sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
> > libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev
> > libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev
> > libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
> > libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev
> > libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev
> > libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev
> > libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev
> > libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev
> > libgdk-pixbuf2.0-dev linux-libc-dev
> >
> > Regards
> > --
> > Jesus Guardon
> >
> >
> --
> > Virtualization & Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33414841.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread TME

 Jussi Lahtinen  yes i know !
before post here i tried this web :working:

I post message here because in list french gambas user, Benoît Minisini say
me that there is an error in list of package  for Debian and gambas 3!
Benoît Minisini => "Cette ligne est pour Gambas 2 apparemment, pas pour
Gambas 3. La
personne qui a écrit ça a fait une erreur."







Jussi Lahtinen wrote:
> 
> http://gambasdoc.org/help/doc/distro?en&view
> http://gambasdoc.org/help/install?en&view
> 
> Jussi
> 
> 
> 
> On Wed, Feb 29, 2012 at 17:31, TME  wrote:
> 
>>
>> Thank you for your replies
>>
>> I tried with library Ubuntu Lucid, Ubuntu Maverick, and other library
>> Ubuntu
>> I have always the same result  :
>> ===>
>> GTK+ toolkit is disabled
>> Cairo component is disabled ,FreeType backend for Cairo is disabled
>> Image loading and saving is disabled
>> GNU Scientific Library component is disabled
>> THESE COMPONENTS ARE DISABLED:
>> gb.cairo
>> gb.gsl
>> gb.gtk
>> gb.image.io
>>
>> Nobody has installed Gambas3 on Debian squeeze with KDE ?
>>
>>
>>
>>
>> Jesus-21 wrote:
>> >
>> > El 29/02/12 13:08, TME escribió:
>> >>
>> >> Hi
>> >>
>> >> I tried to complier with the package for Ubuntu Lucid
>> >> The result for /config -C give me that :
>> >> ||
>> >> || GTK+ toolkit is disabled
>> >> ||
>> >> || Cairo component is disabled
>> >> || FreeType backend for Cairo is disabled
>> >> ||
>> >> || Image loading and saving is disabled
>> >> ||
>> >> || GNU Scientific Library component is disabled
>> >> ||
>> >> || THESE COMPONENTS ARE DISABLED:
>> >> || - gb.cairo
>> >> || - gb.gsl
>> >> || - gb.gtk
>> >> || - gb.image.io
>> >>
>> >> Somebody would know he to which packages-dev it corresponds?
>> >>
>> >> Thank you for your replie
>> >> regards
>> >> jean-luc
>> >>
>> >
>> >
>> > Hi jean-luc
>> >
>> > As stated in the wiki, http://gambasdoc.org/help/install/ubuntu?v3
>> > these are the dependencies for Ubuntu which is based on Debian.
>> > Try with these, may be some of them should not be exact, but you are in
>> > the way. Look in your package manager for similar names.
>> >
>> > sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
>> > libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev
>> > libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev
>> > libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
>> libsdl-image1.2-dev
>> > libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev
>> > libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev
>> > libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev
>> > libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev
>> > libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev
>> > libgdk-pixbuf2.0-dev linux-libc-dev
>> >
>> > Regards
>> > --
>> > Jesus Guardon
>> >
>> >
>> --
>> > Virtualization & Cloud Management Using Capacity Planning
>> > Cloud computing makes use of virtualization - but cloud computing
>> > also focuses on allowing computing to be delivered as a service.
>> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> > ___
>> > Gambas-user mailing list
>> > Gambas-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33414841.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> Virtualization & Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33415029.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing t

Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread . .

Hi,
I use Gambas 3 on Debian Squeeze.
First of all, remove the previous installed version (in root, with whereis 
command)
I install the requirementsapt-get install build-essential autoconf libbz2-dev 
libfbclient2 \
libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev \
libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev \
libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev \
libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev \
librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev \
libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev \
libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev \
libgnome-keyring-dev# I don't know why this lib doesn't install on Debian but 
it's OK on Ubuntuapt-get install libgdk-pixbuf2.0-devI get the last version 
SVNmkdir trunk
svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/
cd trunk
./reconf-all
./configure -C
make
sudo make install


For Archlinux users# remove previous gambas versionyaourt -R gambas3
 
# install requirements
yaourt -S automake autoconf gcc intltool mysql postgresql \
libffi bzip2 glib2 v4l-utils zlib mesa libgl glew xdg-utils gtk2 imlib2 \
gdk-pixbuf2 postgresql-libs libmysqlclient unixodbc sqlite2 sqlite3 \
librsvg curl poppler sdl_mixer sdl_ttf libxtst pcre libxcursor libsm \
dbus-core libxml2 libxslt libgnome-keyring
The last step with svn is the same as Debian install.

Hope it can help.
--Arnaud
  
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] mouse down bug in Form IDE

2012-02-29 Thread richard terry
SVN is 4515 but this bug has been present for a while

I've tried to narrow it down without success, but roughly seems to occur when 
a form is shown in the ide and the first thing you do is click on a control. If 
one goes to the hierachy tree first, clicks on anything, then goes back to the 
IDE it seems not to occur.

see the picture.
<>--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Process in TableVew and to Kill a Process

2012-02-29 Thread abbat

Help me please.

1) How to situate processes in TableView or GridView by Name and PID
columns?
2) How to kill Process?


I cannot find any example of it and about Process.Kill.

I tried: 

Dim p As Process = "tvtime"
p.Kill


Process.Kill(9207)
_

Process.Kill(tvtime)

Its does not work.



Thank you



-- 
View this message in context: 
http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417515.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread TME

Thanck Arnaud :drunk:

but i have always the same result:
--
GTK+ toolkit is disabled
Cairo component is disabled ,FreeType backend for Cairo is disabled
Image loading and saving is disabled
GNU Scientific Library component is disabled 
gb.cairo gb.gsl gb.gtk gb.image.io are disabled
---

and when i install the package-dev :

jean-luc@debian:~$ sudo aptitude install build-essential autoconf libbz2-dev
libfbclient2 libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev
libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev
libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev
libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev libffi-dev
kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev libimlib2-dev
libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev
Impossible de trouver un paquet dont le nom ou la description correspond à
« libgdk-pixbuf2.0-dev »
Impossible de trouver un paquet dont le nom ou la description correspond à
« libgdk-pixbuf2.0-dev »
Les NOUVEAUX paquets suivants vont être installés : 
  libcairo2-dev{ab} libcurl4-gnutls-dev{b} libgtk2.0-dev libgtkglext1-dev
libpango1.0-dev{a} libpoppler-glib-dev librsvg2-dev 
0 paquets mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à
jour.
Il est nécessaire de télécharger 5 708 ko/6 748 ko d'archives. Après
dépaquetage, 20,1 Mo seront utilisés.
Les paquets suivants ont des dépendances non satisfaites :
  libcurl4-gnutls-dev: Est en conflit avec: libcurl-dev qui est un paquet
virtuel
  libcairo2-dev: Dépend: libpixman-1-dev (>= 0.18.4) mais il ne sera pas
installé.
  libcurl4-openssl-dev: Est en conflit avec: libcurl-dev qui est un paquet
virtuel
Les actions suivantes permettront de résoudre ces dépendances :

 Supprimer les paquets suivants :   
1) libcurl4-openssl-dev 

 Conserver les paquets suivants dans leur version actuelle :
2) libcairo2-dev [Non installé] 
3) libgtk2.0-dev [Non installé] 
4) libgtkglext1-dev [Non installé]  
5) libpango1.0-dev [Non installé]   
6) libpoppler-glib-dev [Non installé]   
7) librsvg2-dev [Non installé]  

Accepter cette solution ? [Y/n/q/?] y
Les NOUVEAUX paquets suivants vont être installés : 
  libcurl4-gnutls-dev 
Les paquets suivants seront ENLEVÉS : 
  libcurl3{u} libcurl4-openssl-dev{a} libssh2-1{u} libssh2-1-dev{u} 
0 paquets mis à jour, 1 nouvellement installés, 4 à enlever et 0 non mis à
jour.
Il est nécessaire de télécharger 0 o/1 040 ko d'archives. Après dépaquetage,
2 077 ko seront libérés.
Voulez-vous continuer ? [Y/n/?] y
(Lecture de la base de données... 124223 fichiers et répertoires déjà
installés.)
Suppression de libcurl4-openssl-dev ...
Suppression de libcurl3 ...
Suppression de libssh2-1-dev ...
Suppression de libssh2-1 ...
Traitement des actions différées (« triggers ») pour « man-db »...
Sélection du paquet libcurl4-gnutls-dev précédemment désélectionné.
(Lecture de la base de données... 123739 fichiers et répertoires déjà
installés.)
Dépaquetage de libcurl4-gnutls-dev (à partir de
.../libcurl4-gnutls-dev_7.21.0-2.1+squeeze1_i386.deb) ...
Traitement des actions différées (« triggers ») pour « man-db »...
Paramétrage de libcurl4-gnutls-dev (7.21.0-2.1+squeeze1) ...
  
jean-luc@debian:~$
---
sorry but the result of install package-dev is in french :-/: 


There is problem with cairo So i can understand that gb.cairo is disabled,
but why the other components?

Thanck you
regards
Jean-Luc
  


-- 
View this message in context: 
http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33417552.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sou

[Gambas-user] R: Process in TableVew and to Kill a Process

2012-02-29 Thread Ru Vuott
' Gambas class file


Private hpro As Process


Public Sub Button1_Click()

' An application start, i.e. “ Gedit “
  hpro = Exec ["gedit"]

End


Public Sub button2_Click()

' it closes application process
  hpro.kill

End
 

Public Sub hpro_Kill() ' this event is raised, when process is closed

   Print "Process closed !"

End







--- Mer 29/2/12, abbat  ha scritto:

> Da: abbat 
> Oggetto: [Gambas-user]  Process in TableVew and to Kill a Process
> A: gambas-user@lists.sourceforge.net
> Data: Mercoledì 29 febbraio 2012, 23:28
> 
> Help me please.
> 
> 1) How to situate processes in TableView or GridView by Name
> and PID
> columns?
> 2) How to kill Process?
> 
> 
> I cannot find any example of it and about Process.Kill.
> 
> I tried: 
> 
> Dim p As Process = "tvtime"
> p.Kill
> 
> 
> Process.Kill(9207)
> _
> 
> Process.Kill(tvtime)
> 
> Its does not work.
> 
> 
> 
> Thank you
> 
> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417515.html
> Sent from the gambas-user mailing list archive at
> Nabble.com.
> 
> 
> --
> Virtualization & Cloud Management Using Capacity
> Planning
> Cloud computing makes use of virtualization - but cloud
> computing 
> also focuses on allowing computing to be delivered as a
> service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] R: Process in TableVew and to Kill a Process - RECTIUS

2012-02-29 Thread Ru Vuott
' Gambas class file

Private hpro As Process


Public Sub Button1_Click()
 
 ' An application start, i.e. “ Gedit “
   hpro = Exec ["gedit"] As "hpro"
 
End

 
Public Sub button2_Click()
 
 ' it closes application process
   hpro.kill
 
 End
  

' this event is raised, when process is closed:
 Public Sub hpro_Kill()

   Print "Process closed !"
 
 End


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ?

2012-02-29 Thread Ru Vuott
Hello Benoit,

with new Gridview  I noticed that is not possible write:

 Gridview1.Columns.WIDTH = number

Now there are only:
 Count
 H
 Height
 Max
 Resizable.

Maybe, WIDTH in future revisions ?

Bye
Vuott

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Process in TableVew and to Kill a Process - RECTIUS

2012-02-29 Thread abbat

It works only if I use Button1 (If we execute an app ourselves).
But how to kill process if we know only Name?
Thanks


Vuott wrote:
> 
> ' Gambas class file
> 
> Private hpro As Process
> 
> 
> Public Sub Button1_Click()
>  
>  ' An application start, i.e. “ Gedit “
>    hpro = Exec ["gedit"] As "hpro"
>  
> End
> 
>  
> Public Sub button2_Click()
>  
>  ' it closes application process
>    hpro.kill
>  
>  End
>   
> 
> ' this event is raised, when process is closed:
>  Public Sub hpro_Kill()
> 
>    Print "Process closed !"
>  
>  End
> 
> 
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417896.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Process in TableVew and to Kill a Process - RECTIUS

2012-02-29 Thread Emil Lenngren
Try this: Exec("killall program_name")

2012/3/1 abbat 

>
> It works only if I use Button1 (If we execute an app ourselves).
> But how to kill process if we know only Name?
> Thanks
>
>
> Vuott wrote:
> >
> > ' Gambas class file
> >
> > Private hpro As Process
> >
> >
> > Public Sub Button1_Click()
> >
> >  ' An application start, i.e. “ Gedit “
> >hpro = Exec ["gedit"] As "hpro"
> >
> > End
> >
> >
> > Public Sub button2_Click()
> >
> >  ' it closes application process
> >hpro.kill
> >
> >  End
> >
> >
> > ' this event is raised, when process is closed:
> >  Public Sub hpro_Kill()
> >
> >Print "Process closed !"
> >
> >  End
> >
> >
> >
> --
> > Virtualization & Cloud Management Using Capacity Planning
> > Cloud computing makes use of virtualization - but cloud computing
> > also focuses on allowing computing to be delivered as a service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417896.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Process in TableVew and to Kill a Process - RECTIUS

2012-02-29 Thread Ru Vuott
By trying:

 Exec ["killall program_name"]

it gives me an error:
"Cannot run child process: cannot exec program: resource temporarily 
unavailable"


But by using:

  SHELL "killall program_name"

it's OK
.


--- Gio 1/3/12, Emil Lenngren  ha scritto:

> Da: Emil Lenngren 
> Oggetto: Re: [Gambas-user] R: Process in TableVew and to Kill a Process - 
> RECTIUS
> A: "mailing list for gambas users" 
> Data: Giovedì 1 marzo 2012, 00:54
> Try this: Exec("killall
> program_name")
> 
> 2012/3/1 abbat 
> 
> >
> > It works only if I use Button1 (If we execute an app
> ourselves).
> > But how to kill process if we know only Name?
> > Thanks
> >
> >
> > Vuott wrote:
> > >
> > > ' Gambas class file
> > >
> > > Private hpro As Process
> > >
> > >
> > > Public Sub Button1_Click()
> > >
> > >  ' An application start, i.e. “ Gedit “
> > >    hpro = Exec ["gedit"] As "hpro"
> > >
> > > End
> > >
> > >
> > > Public Sub button2_Click()
> > >
> > >  ' it closes application process
> > >    hpro.kill
> > >
> > >  End
> > >
> > >
> > > ' this event is raised, when process is closed:
> > >  Public Sub hpro_Kill()
> > >
> > >    Print "Process closed !"
> > >
> > >  End
> > >
> > >
> > >
> >
> --
> > > Virtualization & Cloud Management Using
> Capacity Planning
> > > Cloud computing makes use of virtualization - but
> cloud computing
> > > also focuses on allowing computing to be delivered
> as a service.
> > > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > >
> >
> > --
> > View this message in context:
> > http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417896.html
> > Sent from the gambas-user mailing list archive at
> Nabble.com.
> >
> >
> >
> >
> --
> > Virtualization & Cloud Management Using Capacity
> Planning
> > Cloud computing makes use of virtualization - but cloud
> computing
> > also focuses on allowing computing to be delivered as a
> service.
> > http://www.accelacomm.com/jaw/sfnl/114/51521223/
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> --
> Virtualization & Cloud Management Using Capacity
> Planning
> Cloud computing makes use of virtualization - but cloud
> computing 
> also focuses on allowing computing to be delivered as a
> service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ?

2012-02-29 Thread Benoît Minisini
Le 01/03/2012 00:26, Ru Vuott a écrit :
> Hello Benoit,
>
> with new Gridview  I noticed that is not possible write:
>
>   Gridview1.Columns.WIDTH = number
>
> Now there are only:
>   Count
>   H
>   Height
>   Max
>   Resizable.
>
> Maybe, WIDTH in future revisions ?
>
> Bye
> Vuott
>

What do you want that to do? Setting the same width to all columns?

-- 
Benoît Minisini

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ?

2012-02-29 Thread Ru Vuott
Yes, Benoit, before it was possible.

An little exemple (before):

   With GridView1
.columns.Count = 34
.Rows.Count = 12
.Columns.Width = 12   ' <- 
.Rows.Height = 16
.Font.Size = 9
.Font.Bold = True
  End With


Now, it's not possible !!!
How can I set all columns of grid of my "old" program ?  :-(

Bye
Vuott




--- Gio 1/3/12, Benoît Minisini  ha scritto:

> Da: Benoît Minisini 
> Oggetto: Re: [Gambas-user] Why not  .Columns.WIDTH = nn  in new Gridview ?
> A: "mailing list for gambas users" 
> Data: Giovedì 1 marzo 2012, 01:37
> Le 01/03/2012 00:26, Ru Vuott a
> écrit :
> > Hello Benoit,
> >
> > with new Gridview  I noticed that is not possible
> write:
> >
> >   Gridview1.Columns.WIDTH = number
> >
> > Now there are only:
> >   Count
> >   H
> >   Height
> >   Max
> >   Resizable.
> >
> > Maybe, WIDTH in future revisions ?
> >
> > Bye
> > Vuott
> >
> 
> What do you want that to do? Setting the same width to all
> columns?
> 
> -- 
> Benoît Minisini
> 
> --
> Virtualization & Cloud Management Using Capacity
> Planning
> Cloud computing makes use of virtualization - but cloud
> computing 
> also focuses on allowing computing to be delivered as a
> service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas runtime

2012-02-29 Thread Willy Raets
Hi,

I'm trying to figure out if it is possible to detect the gambas runtime
version in a command line manner, to be used in EXEC?

Any ideas?

Willy


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ?

2012-02-29 Thread richard terry
On Thursday 01 March 2012 10:26:25 Ru Vuott wrote:
> Hello Benoit,
> 
> with new Gridview  I noticed that is not possible write:
> 
>  Gridview1.Columns.WIDTH = number

 With gridview1 

  .columns.count = 2
  .columns[0].width = 60  
  .columns[0].width = 22   
etc etc
   end with   

> 
> Now there are only:
>  Count
>  H
>  Height
>  Max
>  Resizable.
> 
> Maybe, WIDTH in future revisions ?
> 
> Bye
> Vuott
> 
> ---
> --- Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas3 ans debain squeeze

2012-02-29 Thread girard henri
I don't know if you have gambas3 in your repository ?
If yes then with a apt-get build-dep gambas3 should help you finding 
most of libs.
Maybe you can add an ppa  there are few now. I use 12.04 for few months 
now and the only problem i got was one week ago which is corrected now.


Le 29/02/2012 16:59, TME a écrit :
>   Jussi Lahtinen   yes i know !
> before post here i tried this web :working:
>
> I post message here because in list french gambas user, Benoît Minisini say
> me that there is an error in list of package  for Debian and gambas 3!
> Benoît Minisini =>  "Cette ligne est pour Gambas 2 apparemment, pas pour
> Gambas 3. La
> personne qui a écrit ça a fait une erreur."
>
>
>
>
>
>
>
> Jussi Lahtinen wrote:
>> http://gambasdoc.org/help/doc/distro?en&view
>> http://gambasdoc.org/help/install?en&view
>>
>> Jussi
>>
>>
>>
>> On Wed, Feb 29, 2012 at 17:31, TME  wrote:
>>
>>> Thank you for your replies
>>>
>>> I tried with library Ubuntu Lucid, Ubuntu Maverick, and other library
>>> Ubuntu
>>> I have always the same result  :
>>> ===>
>>> GTK+ toolkit is disabled
>>> Cairo component is disabled ,FreeType backend for Cairo is disabled
>>> Image loading and saving is disabled
>>> GNU Scientific Library component is disabled
>>> THESE COMPONENTS ARE DISABLED:
>>> gb.cairo
>>> gb.gsl
>>> gb.gtk
>>> gb.image.io
>>>
>>> Nobody has installed Gambas3 on Debian squeeze with KDE ?
>>>
>>>
>>>
>>>
>>> Jesus-21 wrote:
 El 29/02/12 13:08, TME escribió:
> Hi
>
> I tried to complier with the package for Ubuntu Lucid
> The result for /config -C give me that :
> ||
> || GTK+ toolkit is disabled
> ||
> || Cairo component is disabled
> || FreeType backend for Cairo is disabled
> ||
> || Image loading and saving is disabled
> ||
> || GNU Scientific Library component is disabled
> ||
> || THESE COMPONENTS ARE DISABLED:
> || - gb.cairo
> || - gb.gsl
> || - gb.gtk
> || - gb.image.io
>
> Somebody would know he to which packages-dev it corresponds?
>
> Thank you for your replie
> regards
> jean-luc
>

 Hi jean-luc

 As stated in the wiki, http://gambasdoc.org/help/install/ubuntu?v3
 these are the dependencies for Ubuntu which is based on Debian.
 Try with these, may be some of them should not be exact, but you are in
 the way. Look in your package manager for similar names.

 sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
 libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev
 libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev
 libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
>>> libsdl-image1.2-dev
 libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev
 libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev
 libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev
 libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev
 libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev
 libgdk-pixbuf2.0-dev linux-libc-dev

 Regards
 --
 Jesus Guardon


>>> --
 Virtualization&  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


>>> --
>>> View this message in context:
>>> http://old.nabble.com/gambas3-ans-debain-squeeze-tp33410649p33414841.html
>>> Sent from the gambas-user mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> --
>>> Virtualization&  Cloud Management Using Capacity Planning
>>> Cloud computing makes use of virtualization - but cloud computing
>>> also focuses on allowing computing to be delivered as a service.
>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>> --
>> Virtualization&  Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>


--

[Gambas-user] DataSource & DataBrowser problem

2012-02-29 Thread John Rose
Re question on whether I use gb.gtk or gb.qt4: I specified gb.gui only
i.e. neither gb.gtk nor gb.qt4. Since I'm using Ubuntu, I understand
that this results in gb.gtk being used.


Le 29/02/2012 10:10, John Rose a écrit :
> I just installed all Gambas3 packages from kendek's launchpad
ppa for
> Gambas pre-release: he created them yesterday evening after
using
> subversion. How do I find out the version number of Gambas3
that he used
> apart from asking him?

Ask him : or find the package creation date, I will guess the
revison 
number from it. Usually the revision number is put in the
package name.

>
> The previous problem is fixed when I try to add a new row to a
SQLite3
> database table (i.e. the display of a popup stating "Cannot
modify
> record: SQL error or missing database". However, there are now
new
> problems:
>
> When the DataBrowser control is initialised, the left hand
side of it
> points to the centre of the data (with the 'scrolling' point
matching
> that) rather than the left of the data as it used to do.
>
> When the 'New' icon is clicked (to add a new row), the cursor
does not
> move automatically to that row.
>
> When the 'Save' icon is clicked, no save of data takes place
(checked by
> closing the app&  starting it again) unless the 'New' icon is
clicked
> again (that also causes the left hand side of it to point to
the centre
> of the data).
>




--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Why not .Columns.WIDTH = nn in new Gridview ?

2012-02-29 Thread Rolf-Werner Eilert
You could at least re-write the code to somewhat like

FOR iCol = 1 TO 33  'or 0 to 33?
   GridView1.Columns[iCol].Width = number
NEXT

By the way, would this run? Never tried it:

With GridView1
 .columns.Count = 34
 .Rows.Count = 12

FOR iCol = 1 TO 33  'or 0 to 33?
   .Columns[iCol].Width = number
NEXT

 .Rows.Height = 16
 .Font.Size = 9
 .Font.Bold = True
   End With

Regards

Rolf


Am 01.03.2012 01:46, schrieb Ru Vuott:
> Yes, Benoit, before it was possible.
>
> An little exemple (before):
>
> With GridView1
>  .columns.Count = 34
>  .Rows.Count = 12
>  .Columns.Width = 12   '<- 
>  .Rows.Height = 16
>  .Font.Size = 9
>  .Font.Bold = True
>End With
>
>
> Now, it's not possible !!!
> How can I set all columns of grid of my "old" program ?  :-(
>
> Bye
> Vuott
>
>
>
>
> --- Gio 1/3/12, Benoît Minisini  ha scritto:
>
>> Da: Benoît Minisini
>> Oggetto: Re: [Gambas-user] Why not  .Columns.WIDTH = nn  in new Gridview ?
>> A: "mailing list for gambas users"
>> Data: Giovedì 1 marzo 2012, 01:37
>> Le 01/03/2012 00:26, Ru Vuott a
>> écrit :
>>> Hello Benoit,
>>>
>>> with new Gridview  I noticed that is not possible
>> write:
>>>
>>> Gridview1.Columns.WIDTH = number
>>>
>>> Now there are only:
>>> Count
>>> H
>>> Height
>>> Max
>>> Resizable.
>>>
>>> Maybe, WIDTH in future revisions ?
>>>
>>> Bye
>>> Vuott
>>>
>>
>> What do you want that to do? Setting the same width to all
>> columns?
>>
>> --
>> Benoît Minisini
>>
>> --
>> Virtualization&  Cloud Management Using Capacity
>> Planning
>> Cloud computing makes use of virtualization - but cloud
>> computing
>> also focuses on allowing computing to be delivered as a
>> service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
> --
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user