Re: [Gambas-user] Doesn't IF NOT exist? Bug or feature? Or my bad logic?

2009-09-18 Thread Rolf-Werner Eilert
Thanks a lot Ron for your explanation, I did read it line by line and 
found it explains it very well for me. For instance, I didn't realize 
that operators have a relational order, too.

Just one question left:

   arith-order
 ^ * / sqr + -  (Dutch trick:Meneer Van Dale Wacht Op Antwoord)

I don't see the trick. Ik kan een betje op Nederlands praten, but I 
don't see the relationship here :-)

Regards

Rolf


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] qt4 and form.controls

2009-09-18 Thread nero
Benoît Minisini wrote:

 OK, it should be fixed in the next commit.

Thank's very much , now with revision 2342 works perfectly.


-- 
Gli hacker lo fanno con poche istruzioni.



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas output

2009-09-18 Thread Ricardo Díaz Martín
I use my own system to generate standard odt files but maybe it's no enought
clear for other people... :-(

To do this, first I extract content.xml from .odt template and modify it.
After, I put the new content.xml again inside the new file. I use this for
print reports in my apps and works fine.

I'm thinking to make an example of this but more user friendly and put as
gambas example but I got lot of work now (maybe in a few months...)


2009/9/17 yuhej robert1juh...@gmail.com


 Hello,

 From my application I need to create some standard output files. When I
 used
 VB I usually put out data to Excel files. It has the advantage that
 everyone
 can open and edit and I can use templates.
 Do we have a simillar option from Gambas? Fo instance to write into Open
 Office Calc files?

 Thanks,
 Robi
 --
 View this message in context:
 http://www.nabble.com/gambas-output-tp25491550p25491550.html
 Sent from the gambas-user mailing list archive at Nabble.com.



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] I made a mistake again

2009-09-18 Thread Jesus Guardon
Benoît Minisini escribió:
 By adding a clear internal html cache feature to the wiki, I made a mistake 
 again, and erased all images stored in the wiki. :-(
 
 Hopefully, I have saved the database, but it was a few weeks ago, so all 
 images inserted in the wiki after 26 Jul 2009 are lost!
 
 I'm really sorry for the inconvenience. I hope that there are not too many 
 lost images...
 
 Regards,
 

I think there is something broken furthermore...

I've got this error when trying to access several translated pages of 
the wiki:

Unexpected error while displaying this page.

Result is not available
Main.DisplayPage.1851

Always the same line error.

Regards

Jesus Guardon

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] I made a mistake again

2009-09-18 Thread Benoît Minisini
 Benoît Minisini escribió:
  By adding a clear internal html cache feature to the wiki, I made a
  mistake again, and erased all images stored in the wiki. :-(
 
  Hopefully, I have saved the database, but it was a few weeks ago, so all
  images inserted in the wiki after 26 Jul 2009 are lost!
 
  I'm really sorry for the inconvenience. I hope that there are not too
  many lost images...
 
  Regards,
 
 I think there is something broken furthermore...
 
 I've got this error when trying to access several translated pages of
 the wiki:
 
 Unexpected error while displaying this page.
 
 Result is not available
 Main.DisplayPage.1851
 
 Always the same line error.
 
 Regards
 
 Jesus Guardon
 

It should be fixed now.

Regards,

-- 
Benoît Minisini

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GAMBAS crash when setting columnview's Sorted property

2009-09-18 Thread Benoît Minisini
 Bugzilla from gam...@users.sourceforge.net wrote:
  I fixed the bug in revision #2337. It was not 64 bits related at all.
 
 Thanks. I'm assuming revision #2337 is in the 2.x development branch, as I
 just compiled and ran 2.16.0 and it has the same problem. Looks like it was
 GTK-related, as using gb.qt works fine under 2.16.0 but gb.gtk doesn't.
 
 Bugzilla from gam...@users.sourceforge.net wrote:
  If you want to show a lot of data in columns, I suggest using a GridView
  for
  that. Sorted view controls are very slow in GTK+, even if I hack a lot to
  workaround the problem.
 
 I'd like to use the gridview, but it doesn't appear to have integrated
 sorting capabilities. 

If your data comes from a SQL query, you can redo the query with a different 
ORDER BY SQL clause.

If your query returns a lot of data, just return what you need by using the 
Limit() method ( or the LIMIT SQL keyword).

The DataView control of gb.db.form just does all that. It only fetches 64 
records of a query, and does its sorting by using ORDER BY. It works well 
even if there is Internet between the computer and the database.

 If I used that then I'd be coding sorting algorithms
 myself and getting all kinds of headaches. ;) For now I'm going to switch
  to gb.qt and redo my form's colors since they look all crazy under gb.qt
  in Ubuntu. 

What's the problem with the form colors? They should not change if you switch 
between gb.qt and gb.gtk.

Regards,

-- 
Benoît Minisini

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Grid View and Mysql Result, Time Data

2009-09-18 Thread Benoît Minisini
 I have a gridview control and i fill it with values from a mysql
 $RESULT with the next code
 
 PUBLIC SUB grdView_Data(Row AS Integer, Column AS Integer)
 
   $Result.MoveTo(Row)
 
   grdView.Data.Text = Str($Result[grdView.Columns[Column].Text])
 
 END
 
 
 The problem now.
 When value is Date with mysql format %Y-%m-%d
 the gridview shows 00:00:00 instead :00:00 when the value of
 result is empty
 and change the format to %m/%d/%Y.
 
 
 For example see col4 which holds dates
 
 mysql SELECT * FROM `table4`;
 +--+--+--++
 
 | col1 | col2 | col3 | col4   |
 
 +--+--+--++
 
 |1 |   11 |  111 | 2008-09-24 |  - %Y-%m-%d
 |2 |   22 |  222 | -00-00 |
 
 +--+--+--++
 2 rows in set (0.00 sec)
 
 And gridview shows
 
 09/24/08
 
 Why is this? Normally the gridview must get the string  2008-09-24
 

No. Gambas takes from MySQL the real date, and then you convert it to a string 
with the Str() function. The mysql program does the same thing, but uses its 
own date to string conversion functions.

If you want the same format, instead of using Str() (which is the better IMHO, 
as it follows the system localization settings), do that:

  grdView.Data.Text = Format($Result[grdView.Columns[Column].Text], 
 -mm-dd)

Regards,

-- 
Benoît Minisini

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Grid View and Mysql Result, Time Data

2009-09-18 Thread Demosthenes Koptsis
ok i got it.

Thanks!

2009/9/18 Benoît Minisini gam...@users.sourceforge.net:
 I have a gridview control and i fill it with values from a mysql
 $RESULT with the next code

 PUBLIC SUB grdView_Data(Row AS Integer, Column AS Integer)

   $Result.MoveTo(Row)

   grdView.Data.Text = Str($Result[grdView.Columns[Column].Text])

 END


 The problem now.
 When value is Date with mysql format %Y-%m-%d
 the gridview shows 00:00:00 instead :00:00 when the value of
 result is empty
 and change the format to %m/%d/%Y.


 For example see col4 which holds dates

 mysql SELECT * FROM `table4`;
 +--+--+--++

 | col1 | col2 | col3 | col4       |

 +--+--+--++

 |    1 |   11 |  111 | 2008-09-24 |  - %Y-%m-%d
 |    2 |   22 |  222 | -00-00 |

 +--+--+--++
 2 rows in set (0.00 sec)

 And gridview shows

 09/24/08

 Why is this? Normally the gridview must get the string  2008-09-24


 No. Gambas takes from MySQL the real date, and then you convert it to a string
 with the Str() function. The mysql program does the same thing, but uses its
 own date to string conversion functions.

 If you want the same format, instead of using Str() (which is the better IMHO,
 as it follows the system localization settings), do that:

  grdView.Data.Text = Format($Result[grdView.Columns[Column].Text],
                             -mm-dd)

 Regards,

 --
 Benoît Minisini

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user




-- 

Γεια χαρα σε όλους!!!

Regards,

Demosthenes Koptsis

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Error message from (at least earlier valid) pointer usage.

2009-09-18 Thread Jussi Lahtinen
This code, gives error message wanted Stream got Long instead:

pPOINTS = Alloc(4, 1522)
tmp = CalculatePoints(pPOINTS,matrix.Data)



 For ii = 0 To tmp
 tmpPOINT = New POINT
 Read #pPOINTS + (ii * 4), tmpPOINT.x Fails here!
 Read #pPOINTS + (ii * 4) + 2, tmpPOINT.y
 ...

POINT class:

Public x As Short = -1
Public y As Short

There is also rather complicated _compare function, but I don't
think it matters with this problem.


This code worked fine with earlier Gambas 3 revisions.
Does this has anything to do with my error?
  * NEW: A Pointer can not be used as a stream directly. You must use the new
Memory instruction for that.

New feature understandably lacks documentation, so I need help!

Jussi

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] another IDE cut/n paste behaviour

2009-09-18 Thread Jussi Lahtinen
I can confirm partly with Gambas 3 revision 2342.
On console CTRL+V and CTRL+C doesn't work, but mouse right click
menu copy and paste works.

With Gambas 2.15, keys works as expected.
On IDE code editor, keys works with both Gambas 2 and 3, as expected.

@Ubuntu 9.04 64bit.


Jussi



On Wed, Sep 9, 2009 at 14:20, Charlie Reinlkarl.re...@fen-net.de wrote:
 Am Mittwoch, den 09.09.2009, 12:58 +0200 schrieb Benoît Minisini:
  Salut,
 
  on gambas2 and gambas3 (since month) in code editor CTRL+C not always
  works.
  CTRL+V is OK, CTRL+X (I haven't tested)
 
  ContextMenu/Copy works well.
 
  Is that a gambas behaviour or Linux/Ubuntu 8.04/Xorg behaviour.
  Or a problem on my box.
 

 Please give more details on when it does not work.


 This behaviour is something on my White-A4-PalmTop which I spread
 today, after read Richards mail.

 For the details, I have to observer closer.
 One case I remember, during debugging.

 Keep it in mind, I set it on the top of my White-A4-PalmTop, and tell
 you later.

 But perhaps there are other around there who remarked that.



 --
 Amicalment
 Charlie


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error message from (at least earlier valid) pointer usage.

2009-09-18 Thread Jussi Lahtinen
I forgot to mention that CalculatePoints is external function.

Jussi


On Sat, Sep 19, 2009 at 00:08, Jussi Lahtinen jussi.lahti...@gmail.com wrote:
 This code, gives error message wanted Stream got Long instead:

 pPOINTS = Alloc(4, 1522)
 tmp = CalculatePoints(pPOINTS,matrix.Data)

 

  For ii = 0 To tmp
  tmpPOINT = New POINT
  Read #pPOINTS + (ii * 4), tmpPOINT.x     Fails here!
  Read #pPOINTS + (ii * 4) + 2, tmpPOINT.y
  ...

 POINT class:

 Public x As Short = -1
 Public y As Short

 There is also rather complicated _compare function, but I don't
 think it matters with this problem.


 This code worked fine with earlier Gambas 3 revisions.
 Does this has anything to do with my error?
  * NEW: A Pointer can not be used as a stream directly. You must use the new
    Memory instruction for that.

 New feature understandably lacks documentation, so I need help!

 Jussi


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error message from (at least earlier valid) pointer usage.

2009-09-18 Thread Benoît Minisini
 This code, gives error message wanted Stream got Long instead:
 
 pPOINTS = Alloc(4, 1522)
 tmp = CalculatePoints(pPOINTS,matrix.Data)
 
 
 
  For ii = 0 To tmp
  tmpPOINT = New POINT
  Read #pPOINTS + (ii * 4), tmpPOINT.x Fails here!
  Read #pPOINTS + (ii * 4) + 2, tmpPOINT.y
  ...
 
 POINT class:
 
 Public x As Short = -1
 Public y As Short
 
 There is also rather complicated _compare function, but I don't
 think it matters with this problem.
 
 
 This code worked fine with earlier Gambas 3 revisions.
 Does this has anything to do with my error?
   * NEW: A Pointer can not be used as a stream directly. You must use the
  new Memory instruction for that.
 
 New feature understandably lacks documentation, so I need help!
 
 Jussi
 

Sorry, all that is work in progress.

I am currently redoing the way Gambas deals with binary data.

So now, to access memory located at a specific pointer, you must do:

Dim pPoints as Pointer
Dim hFile AS File

hFile = Memory pPoints For Read ' or For Write
...
Close #hFile

Then you use the READ instruction normally, except that hFile has an internal 
memory pointer that is automatically incremented. 

The first time, the data is read at address pPoints. But if, for example, you 
read 4 bytes, the next read will occur at address pPoints + 4. And so on until 
the end of the memory or a memory access error.

The syntax of READ and WRITE will change too, and there is an high risk that 
the bytecode format changes, and that projects need to be recompiled.

Regards,

-- 
Benoît Minisini

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error message from (at least earlier valid) pointer usage.

2009-09-18 Thread Jussi Lahtinen
OK, now it works! Thanks!
That makes my code more simple than it was, very good!
Only one little disruptive thing... using File is little counter
intuitive, but maybe I just don't name it hFile,
maybe instead hMyData or like.

Must go to sleep...

Jussi


2009/9/19 Benoît Minisini gam...@users.sourceforge.net:
 This code, gives error message wanted Stream got Long instead:

 pPOINTS = Alloc(4, 1522)
 tmp = CalculatePoints(pPOINTS,matrix.Data)

 

  For ii = 0 To tmp
  tmpPOINT = New POINT
  Read #pPOINTS + (ii * 4), tmpPOINT.x     Fails here!
  Read #pPOINTS + (ii * 4) + 2, tmpPOINT.y
  ...

 POINT class:

 Public x As Short = -1
 Public y As Short

 There is also rather complicated _compare function, but I don't
 think it matters with this problem.


 This code worked fine with earlier Gambas 3 revisions.
 Does this has anything to do with my error?
   * NEW: A Pointer can not be used as a stream directly. You must use the
  new Memory instruction for that.

 New feature understandably lacks documentation, so I need help!

 Jussi


 Sorry, all that is work in progress.

 I am currently redoing the way Gambas deals with binary data.

 So now, to access memory located at a specific pointer, you must do:

 Dim pPoints as Pointer
 Dim hFile AS File

 hFile = Memory pPoints For Read ' or For Write
 ...
 Close #hFile

 Then you use the READ instruction normally, except that hFile has an internal
 memory pointer that is automatically incremented.

 The first time, the data is read at address pPoints. But if, for example, you
 read 4 bytes, the next read will occur at address pPoints + 4. And so on until
 the end of the memory or a memory access error.

 The syntax of READ and WRITE will change too, and there is an high risk that
 the bytecode format changes, and that projects need to be recompiled.

 Regards,

 --
 Benoît Minisini

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error message from (at least earlier valid) pointer usage.

2009-09-18 Thread Jussi Lahtinen
One more thing... While Not Eof(hFile) doesn't work with this case.
Eof() never finds end of file.

Almost sleeping already...

Jussi



On Sat, Sep 19, 2009 at 02:33, Jussi Lahtinen jussi.lahti...@gmail.com wrote:
 OK, now it works! Thanks!
 That makes my code more simple than it was, very good!
 Only one little disruptive thing... using File is little counter
 intuitive, but maybe I just don't name it hFile,
 maybe instead hMyData or like.

 Must go to sleep...

 Jussi


 2009/9/19 Benoît Minisini gam...@users.sourceforge.net:
 This code, gives error message wanted Stream got Long instead:

 pPOINTS = Alloc(4, 1522)
 tmp = CalculatePoints(pPOINTS,matrix.Data)

 

  For ii = 0 To tmp
  tmpPOINT = New POINT
  Read #pPOINTS + (ii * 4), tmpPOINT.x     Fails here!
  Read #pPOINTS + (ii * 4) + 2, tmpPOINT.y
  ...

 POINT class:

 Public x As Short = -1
 Public y As Short

 There is also rather complicated _compare function, but I don't
 think it matters with this problem.


 This code worked fine with earlier Gambas 3 revisions.
 Does this has anything to do with my error?
   * NEW: A Pointer can not be used as a stream directly. You must use the
  new Memory instruction for that.

 New feature understandably lacks documentation, so I need help!

 Jussi


 Sorry, all that is work in progress.

 I am currently redoing the way Gambas deals with binary data.

 So now, to access memory located at a specific pointer, you must do:

 Dim pPoints as Pointer
 Dim hFile AS File

 hFile = Memory pPoints For Read ' or For Write
 ...
 Close #hFile

 Then you use the READ instruction normally, except that hFile has an internal
 memory pointer that is automatically incremented.

 The first time, the data is read at address pPoints. But if, for example, you
 read 4 bytes, the next read will occur at address pPoints + 4. And so on 
 until
 the end of the memory or a memory access error.

 The syntax of READ and WRITE will change too, and there is an high risk that
 the bytecode format changes, and that projects need to be recompiled.

 Regards,

 --
 Benoît Minisini

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas output

2009-09-18 Thread yuhej

Hello Ricardo,

For the moment I survive with text files.
It would be very useful if you can make a function with this option when you
have a little time!

Regards, Robi


Ricardo Díaz Martín wrote:
 
 I use my own system to generate standard odt files but maybe it's no
 enought
 clear for other people... :-(
 
 To do this, first I extract content.xml from .odt template and modify it.
 After, I put the new content.xml again inside the new file. I use this for
 print reports in my apps and works fine.
 
 I'm thinking to make an example of this but more user friendly and put as
 gambas example but I got lot of work now (maybe in a few months...)
 
 
 2009/9/17 yuhej robert1juh...@gmail.com
 

 Hello,

 From my application I need to create some standard output files. When I
 used
 VB I usually put out data to Excel files. It has the advantage that
 everyone
 can open and edit and I can use templates.
 Do we have a simillar option from Gambas? Fo instance to write into Open
 Office Calc files?

 Thanks,
 Robi
 --
 View this message in context:
 http://www.nabble.com/gambas-output-tp25491550p25491550.html
 Sent from the gambas-user mailing list archive at Nabble.com.



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 

-- 
View this message in context: 
http://www.nabble.com/gambas-output-tp25491550p25518414.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] serial port

2009-09-18 Thread yuhej

Hello,

I can see that Gambas can handle the serial ports which is a very good news
for me.
Can someone tell me how can I get the list of the serial ports of my
computer? I wish to make an autodetect function and only allow to select
from the working serial ports.

Robi
-- 
View this message in context: 
http://www.nabble.com/serial-port-tp25518421p25518421.html
Sent from the gambas-user mailing list archive at Nabble.com.


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] serial port

2009-09-18 Thread Lee McPherson
yuhej wrote:
 I can see that Gambas can handle the serial ports which is a very good news
 for me.
 Can someone tell me how can I get the list of the serial ports of my
 computer? I wish to make an autodetect function and only allow to select
 from the working serial ports.

 Robi
   
I think you want /dev/ttyS0, ttyS1, etc...
Also, I don't have a serial port on my laptop, but my USB to serial 
converter creates a device called /dev/ttyUSB0.  All these devices are 
present on my system (Ubuntu latest), but I have no idea how to check if 
they are valid.  Obviously, sending data to /dev/ttyS0 would do nothing 
on my laptop.

You could setup handshaking routines to check and see if there's a 
device that can respond on all of those devices.  Your device would have 
to be able to do hardware or software handshaking though.  Other than 
that, it's out of my league.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas2 IDE Font in KDE4 [SOLVE]

2009-09-18 Thread j. riolex pinuela
Hi,

Thank you everyone for your suggestions. I finally solve this. issue.  As 
Santiago mentioned it is qt3 configuration which i don't have since this system 
is running KDE4 and qt4, I have to install qt3-qtconfig and qt3 theme. Hope 
this helps anyone who encounter similar issue.

Regards




  Get your new Email address!
Grab the Email name you#39;ve always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user