Re: [Gambas-user] My quest for efficiency

2017-07-15 Thread Caveat
Bytes, readSize As Integer ' CHANGE THIS to your input file inFile = Open "/home/caveat/Downloads/mytestfile" For Read ' CHANGE THIS to your output file outFile = Open "/home/caveat/Downloads/mytestfile.out2" For Create ' Remaining bytes starts as the t

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Caveat
Hallo Dmitry Did you already look at: http://gambaswiki.org/wiki/howto/extern ? Kind regards, Caveat On 31-05-17 06:48, Admin wrote: So, I am writing a programm for my business that would basically be a cash register. Don't know for other countries but here in Russia the tax law works

Re: [Gambas-user] The interview on FLOSS

2015-09-19 Thread Caveat
Really not sure what you mean by 'doesn't come from English'... of course it comes from Greek, but it's a word appearing in most English dictionaries... so? Should we exclude anorexia as an English word because it also comes from Greek, or manxome because it was made up by Lewis Carroll... ? :

Re: [Gambas-user] why this code not working

2015-07-14 Thread Caveat
+= 1 'myInt += 10 Print "myInt is now: " & myInt End I've commented out all the lines that might change myInt after we set it to 5... so try uncommenting (delete the single-quote) each line in turn and see what happens to myInt when you double-click on the form...

Re: [Gambas-user] ?????? ?????? how to cite mplayer

2015-07-11 Thread Caveat
MediaView1.URL = music1 otherwise you're not setting the URL to the content of the variable music1 but to the literal string "music1"! On 11/07/15 13:55, tsukuba GIMP user wrote: > Public Sub Button1_Click() > >Dim music1 As String >music1 = application.Path & "/music1.mp3" >Med

Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-13 Thread Caveat
n or off). Inter-process communication is all done via the heating database in MySQL (with tx-isolation as above!). Sorry, kind of realised at the end this is a little off-topic for most of the Gambas list, what if I promise to rewrite my web-interface in Gambas CGI? :-) Kind regards, Caveat On 13

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Caveat
I'll see if have time to sign up and edit the page later, unless someone else can already take care of this? Thanks and kind regards Caveat On 10/01/15 11:59, Tobias Boege wrote: > On Sat, 10 Jan 2015, Lewis Balentine wrote: >> On 01/10/2015 03:04 AM, Caveat wrote: >>> On 10

Re: [Gambas-user] For Each ?WHAT? in Result

2015-01-10 Thread Caveat
I presume you started here http://gambaswiki.org/wiki/comp/gb.db/result And then clicked on the big obvious link to FOR EACH, arriving here: http://gambaswiki.org/wiki/lang/foreach And then didn't look at the second example... :-P Kind regards, Caveat On 10/01/15 09:52, Lewis Balentine

Re: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors)

2014-11-16 Thread Caveat
It's the colours, very light text on a light background. With screenshot and the colours inverted, I was able to read the message, and was then able to see it was actually nothing to worry about "This project is read-only". Kind regards, Caveat On 16/11/14 09:21, Fabien Bodar

Re: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors)

2014-11-15 Thread Caveat
rday or so... Is this to be fixed in Gambas or do we all have to take some action? Kind regards, Caveat On 12/10/14 22:43, Kevin Fishburne wrote: > At least using the "Quick" theme, there are two problems. > > Demonstrated by the first attachment ("Bad Colors 1.png&qu

Re: [Gambas-user] Add new command to: Copy directories recursively

2014-08-25 Thread Caveat
code, so people don't need to reinvent the wheel every time they need a recursive copy. Kind regards, Caveat On 25/08/14 23:04, Tobias Boege wrote: > On Mon, 25 Aug 2014, Julio Sanchez wrote: >> Hi, could you add a new order within gambas3 to copy directories >> recursively. >

Re: [Gambas-user] requests to gambas cgi scripts issues

2014-08-06 Thread Caveat
Sorry underscore, not dot... my java bad! :-P On 07/08/14 08:19, Caveat wrote: > how can i get the responses in asynchronously mode? > due the response its trapped in _Finished() process > that are out of the mothod cycle > > Depends on where you wrote the code. If the code i

Re: [Gambas-user] requests to gambas cgi scripts issues

2014-08-06 Thread Caveat
ust change something directly on the form as soon as you get a response. Or you could consider making a callback function... Kind regards, Caveat On 06/08/14 22:53, PICCORO McKAY Lenz wrote: >> From: Caveat >> Here's a mail I wrote back in 2011 on calling web services from out of

Re: [Gambas-user] requests to gambas cgi scripts issues

2014-08-05 Thread Caveat
Got header: Server: Microsoft-IIS/7.0 Got header: X-AspNet-Version: 4.0.30319 Got header: X-Powered-By: ASP.NET Got header: Date: Tue, 21 Jun 2011 14:45:19 GMT *** End SOAP 1.1 *** Soap 1.2 data: http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";

Re: [Gambas-user] Gambas 3.5.4 and the Stable PPA

2014-07-15 Thread Caveat
direction but I'm a quick learner and know Ubuntu already for many years) Kind regards, Caveat On 12/07/14 22:41, Sebastian Kulesz wrote: > On Sat, Jul 12, 2014 at 4:53 PM, Willy Raets > wrote: > >> On za, 2014-07-12 at 02:38 -0300, Sebastian Kulesz wrote: >>> Hey! Lon

Re: [Gambas-user] SMTP Component

2014-02-26 Thread Caveat
Try looking in /var/mail/{your-user} You can, for example, install postfix in 'local only' mode... and mail will go to your local system. Kind regards, Caveat On 26/02/14 18:20, Nigel Verity wrote: > Hi > > I am planning to use the SMTP component in a new Gambas project.

Re: [Gambas-user] R: morse code sound ?

2014-02-08 Thread Caveat
I have to say I was a little surprised to find no simple play(note, duration) or BEEP command built-in. Could we add this to the wish-list, Benoit? :-) Kind regards, Caveat On 08/02/14 08:55, Randall Morgan wrote: > I got 5F here. Looking forward to a possible 30F next week. > > Tru

Re: [Gambas-user] R: morse code sound ?

2014-02-07 Thread Caveat
morseTable.Add(".-.-.", "+") morseTable.Add("--", "-") morseTable.Add("..--.-", "_") morseTable.Add(".-..-.", "\"") morseTable.Add("...-..-", "$") morseTable.Add(".--.-.

Re: [Gambas-user] Convert string to integer

2014-01-27 Thread Caveat
hat you make the same mistake twice... first you ask Gambas to convert the invalid String, then you catch an error on that statement, but then you again ask Gambas to convert the invalid String you just got an error on! Kind regards, Caveat On 27/01/14 18:11, Dirk wrote: > Hi, > >

Re: [Gambas-user] Convert string to integer

2014-01-25 Thread Caveat
What is in qrg at the time you try to do the CInteger call? Kind regards, Caveat On 26/01/14 08:35, Dirk wrote: > Hi, > > I'm having a problem with Convert string to integer > > > where is my mistake? I get error message: > Type incompatibility expected integer, inste

Re: [Gambas-user] Tooltip help using HTML.

2014-01-25 Thread Caveat
uch difference... Dim sHTML As String sHTML &= "" sHTML &= "" sHTML &= "Note onG#/Ab" sHTML &= "Row44" sHTML &= "Velocity96" sHTML &= "" sHTML &= "" ... Another thing to

Re: [Gambas-user] What does ... in a menu name signify?

2014-01-14 Thread Caveat
It's a 'standard decoration' signifying there's more behind the chosen item...or that the item needs user confirmation or additional input on a dialogue... http://msdn.microsoft.com/en-us/library/aa511502.aspx#ellipses Kind regards, Caveat On 15/01/14 01:20, Bruce wrote: &

Re: [Gambas-user] File Chooser OK event?

2013-12-19 Thread Caveat
I did explain it, see my previous message. Is it really not clear still? Kind regards, Caveat On 19/12/13 16:32, Rolf-Werner Eilert wrote: > You are right, I now did it the old way with separate buttons. > > But I'm still interested in seeing how this would work, so if someone &

Re: [Gambas-user] File Chooser OK event?

2013-12-19 Thread Caveat
Looks like you have to use (at least) Activate (OK) and Cancel (Errrm Cancel!)... pffft seems simpler the way I had it! ;-) Public Sub FileChooser2_Cancel() Print "Cancel fired" End Public Sub FileChooser2_Activate() Print "Activate fired!" End Kind regards, Ca

Re: [Gambas-user] File Chooser OK event?

2013-12-19 Thread Caveat
. if from code, or just sticking it on the form if using the designer... Kind regards, Caveat On 19/12/13 12:32, Rolf-Werner Eilert wrote: > pbDone_Click() > > Where does that come from? > > > > Am 19.12.2013 12:15, schrieb Caveat: >> And here's the code

Re: [Gambas-user] File Chooser OK event?

2013-12-19 Thread Caveat
setFileNumber(newFileNumber As Integer) fileNumber = newfileNumber End Public Sub setRoot(newRoot As String) FileChooser2.Root = newRoot End Public Sub setFilter(newFilter As String) FileChooser2.Filter = newFilter End Kind regards, Caveat

Re: [Gambas-user] File Chooser OK event?

2013-12-19 Thread Caveat
er got Done EVENT!" If fileNumber = FORM_LEFT Then txtFile1.Text = fileName Else If fileNumber = FORM_RIGHT Then txtFile2.Text = fileName End If End Kind regards, Caveat On 19/12/13 11:36, Rolf-Werner Eilert wrote: > Just saw that File Chooser can have its own OK and

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-17 Thread Caveat
That's good news (for Sudeep) Jussi! I never bothered to google StretchBlt (the Blt part made it sound more complicated than it really is). tsk tsk ;-) Kind regards, Caveat On 17/12/13 14:15, Jussi Lahtinen wrote: > I think you can have same functionality with Draw.Picture()

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-17 Thread Caveat
for word without any knowledge of either language! ;-) I'm curious, did you write the original VB code yourself? What is your ultimate goal? Have you considered using Wine or a VirtualBox? Kind regards, Caveat On 17/12/13 07:03, //SCLPL/ Sudeep Damodar wrote: > HI All, > Tha

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-16 Thread Caveat
http://msdn.microsoft.com/en-us/library/030kb3e9%28v=vs.90%29.aspx That should get you pointed in the right direction... Kind regards, Caveat On 16/12/13 07:57, //SCLPL/ Sudeep Damodar wrote: > Hi all > > How to use Type in gambas.my VB Code is given below > > Private T

Re: [Gambas-user] Conflicting and bewildering help for pipes

2013-10-29 Thread Caveat
If gnuplot is giving an error, wouldn't that appear on stderr, which you don't appear to be watching? Just a thought... Kind regards, Caveat On 29/10/13 15:04, Tobias Boege wrote: > On Fri, 25 Oct 2013, Beno?t Minisini wrote: >> Le 24/10/2013 15:08, Tobias Boege a ?crit

Re: [Gambas-user] gb.logging component when was it introduced?

2013-10-22 Thread Caveat
That's news to me... good news I mean! Does that mean I can throw away my ugly Logger module? :-D Kind regards, Caveat On 22/10/13 09:43, Bruce wrote: > I just added the help content for the gb.logging component (the > component was written by Sebastian Kulesz - I hope he d

Re: [Gambas-user] gb.xml "unSerialize"

2013-10-19 Thread Caveat
3 Kind regards, Caveat On 19/10/13 11:09, Bruce wrote: > What is the opposite of XMLElement.Serialize(text as String)? > > ( I want my SQL text back as "... WHERE rdate of "... WHERE rdate<current_date...") > > tia > Bruce > > > ---

Re: [Gambas-user] Gambas and MS SQL

2013-10-18 Thread Caveat
.Name = "some_dbname" End With Let me know if anyhting is not clear Kind regards, Caveat On 18/10/13 10:47, Ivan Kern wrote: > Hello. > > > > Does somebody use Gambas for communication with MS SQL database? > > Is it possible with ODBC? > > > >

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-07 Thread Caveat
ID-weight rows would make it easier to manage the counts/weights in a system with many concurrent users, rather than having people queue up to modify the count on a normalised 347-200 row? Who knows! Kind regards, Caveat On 06/10/13 20:24, Randall Morgan wrote: > If you need some books on

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Caveat
to represent 13 pennies! Same for what Willy is doing, but I guess he's dealing with something that's been done that way historically for one reason or another. Kind regards, Caveat On 06/10/13 02:25, Bruce wrote: > On Sun, 2013-10-06 at 00:58 +0200, Willy Raets wrote: >> O

Re: [Gambas-user] [slightly OT] No Problem with Gambas or MySql!

2013-10-05 Thread Caveat
arefully you select those 3 pennies! A tuple is, by definition, unique. If I have 8 rows on my database representing 8 real-world penny objects and I can delete 3 of them... are the remaining 5 rows tuples? How closely does the database model reality in this case? Kind regards Caveat --

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Caveat
works perfectly, giving the expected results: 1: My actual ID 2: My actual ID 3: My actual ID 4: My actual ID 5: My actual ID 6: My actual ID 1: My actual ID 2: My actual ID 3: My actual ID 4: My actual ID Willy, can you explain again EXACTLY what your problem is? What error do you get, where, and

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread Caveat
.html Kind regards, Caveat On 04/10/13 22:53, Willy Raets wrote: > Hi All, > > In a bigger project where creating, editing and deleting records works > as a charm, only one table is giving me trouble and just won't delete a > record with reason 'No primary key&#

Re: [Gambas-user] accessing mdb files

2013-08-31 Thread Caveat
What I'm looking for is to try the software out on a few other databases, see what makes it break Right now there's no guarantees it doesn't just happen to work on Northwind and our database from work by pure chance Kind regards, Caveat On 30/08/13 22:45, Fabien Bodard wrote:

Re: [Gambas-user] accessing mdb files

2013-08-29 Thread Caveat
you can retrieve rows, do simple selects, examine columns etc. The conversion is done using only commands which are also available as interactive commands... Kind regards, Caveat On 27/08/13 10:32, Fernando wrote: > On Aug 26, 2013 21:34 "Willy Raets" wrote: > >> I made a s

Re: [Gambas-user] SQL query for DB.Exec() question

2013-08-29 Thread Caveat
lternatively, to be sure you get the backtick and not the single quote: myDB.Exec("delete from test_table") myDB.Exec("insert into test_table (" & Chr(96) & "Actual ID" & Chr(96) & ") values('My actual ID')") res = myDB.Exec

Re: [Gambas-user] Microsoft Access database

2013-08-13 Thread Caveat
to both MSSQLServer and MySQL and of course, the ubiquitous Northwind sample db. I'm still planning on adding support for binary data fields... if you don't have any, then you're in luck! Kind regards, Caveat On 13/08/13 16:03, Rob Kudla wrote: > On 2013-08-13 09:31, Bruce wrote

Re: [Gambas-user] Microsoft Access database

2013-08-12 Thread Caveat
mands, so in theory you could make a basic client in Gambas... Let's first see if anyone has already found a way to talk to access dbs directly in Gambas... Kind regards, Caveat On 12/08/13 13:39, Ivan Kern wrote: > > > Hi, > > > > > > Is it possible to co

Re: [Gambas-user] scraping html

2013-07-12 Thread Caveat
You need to use the right tool for the job. I find the python tool BeautifulSoup one of the best for parsing and extracting data from web pages. http://www.crummy.com/software/BeautifulSoup/ Kind regards, Caveat On 12/07/13 09:01, Shane wrote: > Hi everyone > > i am trying to get

Re: [Gambas-user] read/data commands

2013-06-28 Thread Caveat
Kind regards, Caveat On 27/06/13 23:54, Keith Clark wrote: > No, the data was just an example. What if it were to be 255 unrelated > values? > > Did nobody else use BASIC from the 80s? > > Read/Data statments. > > On 13-06-27 05:48 PM, Jussi Lahtinen wrote: >> I d

Re: [Gambas-user] Connect hang with latest revision

2013-06-06 Thread Caveat
by the Stream class which Socket inherits. I think if we're going to make it possible for the user to specify whether they want Blocking or not, and by implication, set a Timeout value... it will need a little more work than just a tweak to call set_timeout whenever set_blocking is called...

Re: [Gambas-user] Connect hang with latest revision

2013-06-03 Thread Caveat
ity to set 'blocking' sockets (synchronous) and 'non-blocking' (asynchronous) sockets and to set a user-defined timeout value. Please do try first setting the socket to blocking (synchronous) mode, THEN setting the timeout value! Kind regards, Caveat On 02/06/13 17:05, Ron

Re: [Gambas-user] Possible bug

2013-05-14 Thread Caveat
ambas doesn't crash with the code exactly as you had it. As Benoit experienced, it just doesn't compile, same for me (compile error is"Bad character constant"). Kind regards, Caveat On 15/05/13 01:17, Charlie wrote: > Hi Benoit, > > It may, or may not, be good syntax bu

Re: [Gambas-user] Gambas3.4.0 installation - help needed

2013-03-03 Thread Caveat
> However, it still does not work. Please give more details! Does it still tell you gambas is not installed? Does it now crash? What error do you see, exactly? Can you copy paste? On 03/03/13 09:52, bill-lancaster wrote: > Yes, I forgot that step. > However, it still does not work. > I went

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-17 Thread Caveat
t;], ["7", "0111"], ["8", "1000"], ["9", "1001"], ["A", "1010"], ["B", "1011"], ["C", "1010"], ["D", "1011"], ["E", "1110"],

Re: [Gambas-user] Printing - same code - two machines - two outputs

2012-11-14 Thread Caveat
ormation. Kind regards, Caveat On 14/11/12 16:39, Gregor Burck wrote: > Hi, > > I write a little application to print some barcodes. With the same code I get > two diffrent outputs. > > PC1: linuxmint - gambas 3.3.3 > PC2: ubuntu - gambas 3.3.3 > > On the second PC th

Re: [Gambas-user] trigonometric function

2012-10-25 Thread Caveat
You want inverse tangent then? Tried atn? Kind regards, Caveat On 25/10/12 17:44, p...@laur-net.de wrote: > > > Hi, > > I just got a mathematic problem: > > I need the angle alpha and > x and y are given. > > tan(alpha) = x / y > > so alpha = tan^-1(x/y)

Re: [Gambas-user] Gambas3 3.3.3 error compiling jit

2012-10-12 Thread Caveat
> two and a half years old! Pt... no-one ever moaned at me for still using COBOL-68 in 1984! ;-) On 12/10/12 21:17, Emil Lenngren wrote: > You probably have a too old version of GCC. Ubuntu 10.04 is like two and a > half years old ;) > > /Emil > > 2012/10/11 Pino Zollo > >> On Ubuntu >>

Re: [Gambas-user] gb3 latest revision and 3-3.3.3 segfault

2012-10-12 Thread Caveat
;sudo rm gb*" from /usr/local/bin (or any other system directory for that matter). If you can't provide a definitive list of the files we should delete, then at least provide details of how we can check for any files we perhaps shouldn't be deleting! Kind regards, Caveat P.S

Re: [Gambas-user] Gambas crashes with /trunk

2012-10-12 Thread Caveat
Be careful with the first command there, in case you installed gbrowse, gbrainy, gbirthday, gbsplay or anything else for that matter that might go into /usr/local/bin and start with 'gb'! Kind regards, Caveat On 12/10/12 18:22, Benoît Minisini wrote: > Le 12/10/2012 18:18, Beno

Re: [Gambas-user] Segmentation error (core dump created) at runtime

2012-10-11 Thread Caveat
Looks like I'll be sticking with rev5051 (is that recent enough for you Kevin?) for a little while then... :-D Kind regards, Caveat On 11/10/12 07:34, Kevin Fishburne wrote: > On 10/11/2012 01:31 AM, Emanuele Sottocorno wrote: >> Thanks Benoit, >> attached the new gene

Re: [Gambas-user] Example to IIF: what is meant here

2012-10-10 Thread Caveat
LOL... you got me on the Yoda-speak one, but a true English gentleman would know that there *is* one message and there *are* several messages :-D On 10/10/12 20:11, Jussi Lahtinen wrote: > You could even translate it to "gentleman English". > > "you have &1 &2" --> "Good sir, there is &2 for you,

Re: [Gambas-user] Example to IIF: what is meant here

2012-10-10 Thread Caveat
Still wouldn't work for Yoda-speak" "29 messages have you" :-) On 10/10/12 16:26, Fabien Bodard wrote: > True > :-) > Le 10 oct. 2012 16:21, "Jussi Lahtinen" a écrit : > >>> Print ("you have ") & X & iif(x>1, ("message"), ("messages ")) >>> >> This is still not good. Better would be: >> >> Prin

Re: [Gambas-user] Example to IIF: what is meant here

2012-10-10 Thread Caveat
guage would struggle with messages like this. Kind regards, Caveat On 10/10/12 11:46, Rolf-Werner Eilert wrote: > Hi all, > > Who has made the examples for IIF? Maybe you can explain what you meant > by "not translatable": > > ' Never do the following in real code,

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
--> options tab --> under compilation; > activate warnings --> yes. > Then click compile all. > > Jussi > > > > On Tue, Oct 9, 2012 at 8:05 PM, Caveat wrote: > >> I have Console, Breakpoints, and Tasks. >> >> No Warnings tab. >> >>

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
Tue, Oct 9, 2012 at 5:01 PM, Caveat wrote: > >> On 09/10/12 14:21, Fabien Bodard wrote: >>> Normally you have this information in the compiler warnings >> Where do you see them? I saw no warning when I compiled the code... >> >> >> ---

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
On 09/10/12 14:21, Fabien Bodard wrote: > Normally you have this information in the compiler warnings Where do you see them? I saw no warning when I compiled the code... -- Don't let slow site performance ruin your busine

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
er warning if you're hiding/stomping on variables by defining them twice? Program works beautifully if you remove the second (local) declaration of IS_ARRAY_NAME. Kind regards, Caveat On 09/10/12 09:28, Fabien Bodard wrote: > Static public? > Le 9 oct. 2012 03:14, "RICHARD WALK

Re: [Gambas-user] Getting data from table

2012-08-10 Thread Caveat
ll.Add(column, column.getName()) Next Return coll Catch message("Got error: " & Error.Text & " @ " & Error.Where) End Much of this code is a few years old, so there may be new features in Gambas that let you access the RSMD (or even old features tha

Re: [Gambas-user] Re turn Value from Form

2012-07-25 Thread Caveat
The property you need to check is Modal, the function to show a Modal form is ShowModal. So: If Not fPersonell.Modal Then print "No" endif Kind regards, Caveat On 25/07/12 12:02, Bill-Lancaster wrote: > Thanks, > > If Not fPersonell.ShowModal T

Re: [Gambas-user] mysql last_insert_id

2012-07-17 Thread Caveat
auto_increment, you may not need the last id as it'll all happen automatically... Kind regards, Caveat On 17/07/12 13:14, Bill-Lancaster wrote: > I have a table (editprojects) with "id" as primary key, serial, integer. > There is only one record at the moment (id = 1)

Re: [Gambas-user] My Raspberry Pi has arrived!

2012-05-31 Thread Caveat
ssh -X to the pi is working fine. I just installed openssh-server on the pi (I'm currently playing with the Debian Squeeze image) and have successfully run Empathy on the pi but with its window here on my main machine... Regards, Caveat On 30/05/12 10:48, Caveat wrote: > Anyone need

[Gambas-user] My Raspberry Pi has arrived!

2012-05-30 Thread Caveat
Anyone need specific tests carried out, just let me know! OK, OK, I really just wanted to let everyone know it's here! Kind regards, Caveat -- Live Security Virtual Conference Exclusive live event will cover al

Re: [Gambas-user] Is there anywhere hosting for gambas web?

2012-05-24 Thread Caveat
e host of course LOL Regards, Caveat On 24/05/12 07:41, Алексей Беспалов wrote: > Is there anywhere hosting for gambas web? > Do you know? > I do not want to learn more php, pyhon, ... > -- Live Security Virtual

Re: [Gambas-user] Dependencies: Documentation needs update

2012-05-03 Thread Caveat
, Caveat On Thu, 2012-05-03 at 21:30 +0200, Matti wrote: > I compiled the latest svn version and got > checking for GStreamer media component with pkg-config... no > configure: WARNING: GStreamer media is disabled > > Then installed everything I could find about GStr

Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-26 Thread Caveat
I have a Raspberry Pi on order... but no idea yet how long before it will be fulfilled. Once it arrives, of course one of my first tasks will be to try out Gambas on it :-D Are you one of the lucky few who actually has one Benoit? Anyone else on the list with one already? Regards, Caveat On

Re: [Gambas-user] New XML component

2012-04-25 Thread Caveat
serToModel.parseInputFile(User.home &/ "/dev/xml/wireless-network.xml") *** Look at the original XML we have in our internal data model *** parserToModel.getModel().toXMLString("") Probe Response 54.00 29 None AMX 00:02:E3:45:C1:F8 Lite-OnCom 9

Re: [Gambas-user] New XML component

2012-04-23 Thread Caveat
lenty of simple xml examples out on the web, the beauty of my project is that it *should* be generic enough to read pretty much any of those xml examples either from file or from string and doesn't have to be told about specific tags... Regards, Caveat On Mon, 2012-04-23 at 11:16 +0200, Fabie

Re: [Gambas-user] rev. 4651 and new gb.xml

2012-04-22 Thread Caveat
bol 'FromString' in class 'XmlReader' @ XMLParserToModel.parseInputString.60 = Is FromString available in the new gb.xml or not? ===== Regards, Caveat On Mon, 2012-04-23 at 00:39 +0

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
testing went on... Regards, Caveat On Sun, 2012-04-22 at 23:48 +0200, Caveat wrote: > Nope, rev 4656 is not working with relative path (saved the xml as > simple.xml in the project dir and referred to it as "simple.xml")... now > it just fails silently giving wrong results, no

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
ilure with wrong results. Are you able to run my project? Will save us (errm ME) a lot of time if you just run that! First try it using gb.libxml to see what it *should* do, then try it with gb.xml until you get the same result... no? Regards, Caveat On Sun, 2012-04-22 at 18:07 +0200, Adrien P

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
If I put the xml file in the same dir as the project and reference it in a relative way, then it works perfectly (as expected) using gb.libxml. Using gb.xml I get an error "File or directory does not exist". Regards, Caveat On Sun, 2012-04-22 at 13:40 +0200, Fabien Bodard wrote: &

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
er time instead of just breaking existing projects. Regards, Caveat On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: > Le dimanche 22 avril 2012 11:42:20 Caveat a écrit : > > It's not working for me. > > > > I have a project that builds an internal model of

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
looking for why it's not working... Regards, Caveat On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > Hi! I have added most of the missing pages for the gb.xml and > gb.xml.html documentation. I noticed that most of them where not even > created. To the ones that seemed m

Re: [Gambas-user] How to test if result is an array

2012-03-16 Thread Caveat
mplain and say "I expected an object here and you gave me a Boolean" (to take a random example) :-D Regards, Caveat On Fri, 2012-03-16 at 13:09 +0100, Emil Lenngren wrote: > That kind of code should work, I think... On what line is the error? > > 2012/3/16 Randall Morgan >

Re: [Gambas-user] Prepared statements

2012-03-13 Thread Caveat
ferent params but it does solve the escaping problem. Depends whether you really need prepared statements or just think you do...afaicr there are some small efficiency gains in reusing prepared statements... Regards, Caveat (sorry forgot to copy 'the list') On Tue, 2012-03-13 at 0

Re: [Gambas-user] Prepared statements

2012-03-13 Thread Caveat
You mean like this (not so long ago on this very mailing list...) > Caveat wrote: > > > > Here's some working code... > > > > conn = DataAccess.getConnection() > > conn.Exec("delete from UTI001 where CLEF = &1", "Caveat") > &g

Re: [Gambas-user] Strange Keyboard Behavior

2012-03-11 Thread Caveat
NING **: Unable to locate theme engine in module_path: "pixmap", Can you confirm this? It may not be of vital importance to get rid of a couple of warning messages but it will show that changes you make are having an influence... Regards, Caveat On Sat, 2012-03-10 at 14:36 -0800, Bi

[Gambas-user] Consider this and think about that, messages from autoreconf

2012-03-08 Thread Caveat
-I m4' to ACLOCAL_AMFLAGS in Makefile.am. I always get these messages when reconfiguring as part of building/compiling gambas3. As they don't appear to cause any problems, should I continue with my until-now-successful strategy of com

Re: [Gambas-user] ?gambas bug dateadd with leap years???

2012-02-28 Thread Caveat
Yeah, strange... you can add 12 months (temporary workaround?) but adding a year results in an invalid date error... Print DateAdd(Now, gb.Month, 12) 'OK Print DateAdd(Now, gb.Year, 1) ' Gives invalid date Kind regards, Caveat On Wed, 2012-02-29 at 09:47 +1100, richard t

Re: [Gambas-user] How To INSERT INTO in MySQL?

2012-02-06 Thread Caveat
>> conn.Exec("insert into UTI001 (CLEF, Langue, Backup) VALUES (&1, &2, >> &3)", "Caveat", "EN", "C:\\Temp") This has to be ONE LINE! On Mon, 2012-02-06 at 02:40 -0800, abbat wrote: > > http://old.nabble.com/fil

Re: [Gambas-user] How To INSERT INTO in MySQL?

2012-02-06 Thread Caveat
Here's some working code... conn = DataAccess.getConnection() conn.Exec("delete from UTI001 where CLEF = &1", "Caveat") conn.Exec("insert into UTI001 (CLEF, Langue, Backup) VALUES (&1, &2, &3)", "Caveat", "EN", "C

Re: [Gambas-user] How To INSERT INTO in MySQL?

2012-02-06 Thread Caveat
On Mon, 2012-02-06 at 00:14 -0800, abbat wrote: > > but it not work Can you at least tell us the error message you got? Why do we have to try to GUESS why it's not working? -- Try before you buy = See our experts in

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
I thought you meant in the next few days/weeks, not the next few seconds LOL I can confirm that 4442 compiles fine for me in Oneiric now without the disable-gsl option. Thanks for the lightning fast turnaround! Regards, Caveat On Tue, 2012-01-31 at 14:25 -0800, Randall Morgan wrote: >

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
Sounds great Randall, thanks for the info Regards, Caveat On Tue, 2012-01-31 at 14:17 -0800, Randall Morgan wrote: > For the moment compile without GSL. My next commit will not provide > the path so it will depend on the system to locate it. > > > On Tue, Jan 31, 2012 at

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Caveat
the minutes are zero and the seconds are 300? Regards, Caveat On Tue, 2012-01-31 at 14:11 -0800, abbat wrote: > I've read the docs, but my "300" seconds is not the same like "NOW" so it > does not work > > Emil Lenngren wrote: > > > > You should r

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
onent which will interface to the gnu scientific library. Perhaps someone could take a look at including it in the documentation, so it doesn't seem so 'mysterious' in the future? :-) Thanks again and kind regards, Caveat On Tue, 2012-01-31 at 23:51 +0200, Jussi Lahtinen wrote:

[Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
st to see what the component gb.gsl is, but there seems to be no trace of it. Thanks and regards, Caveat result.txt.gz Description: GNU Zip compressed data -- Keep Your Developer Skills Current with LearnDevNow! The

Re: [Gambas-user] Gambas WebPage

2012-01-28 Thread Caveat
... Kind regards, Caveat On Sat, 2012-01-28 at 11:06 +0100, Benoît Minisini wrote: > Hi all, > > I have started the support of a new kind of "form" in the IDE, the > "WebPage". > > WebPage is an HTML page with ASP-like syntax. It is implemented in the &g

Re: [Gambas-user] DB.Quote() doesn't quotes apostrophes

2012-01-23 Thread Caveat
27; Set termStr manually for testing termStr = "abc def he's fill kill''d fine &1 %2 it's%" terms = Split(termStr, " ") For Each enteredTerm In terms escapedTerm = DB.Subst("&1", enteredTerm) 

Re: [Gambas-user] How to create simple applet?

2012-01-23 Thread Caveat
. then let us know what you have tried, what has and hasn't worked, and be a little more specific in saying where you need help rather than having your mails sound like "I want you to write this program for me, and

Re: [Gambas-user] Bizarre things with controls

2012-01-23 Thread Caveat
d for compiling with or without optimisations, getting the latest or a specific svn version etc. I just comment out/uncomment lines as needed. Perhaps this script should be hosted somewhere on gambasdoc so we can maintain it/point new "compilers of Gambas" to it... Kind regards, Caveat On

Re: [Gambas-user] Convert string to integer with arbitrary base

2012-01-20 Thread Caveat
tr As String, base As Integer) As Integer Dim idx, mult, result, value As Integer mult = 1 For idx = Len(inputStr) To 1 Step -1 ' If we're in a base with digits bigger than 9 ' we need the Find to return 10 for A, 11 for B, 12 for C etc. value = DIGITS.Find(UCas

Re: [Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-20 Thread Caveat
lost my focus! I'm sure it's around here somewhere... ComboBox: Oh no, I lost my focus! I'm sure it's around here somewhere... Kind regards, Caveat On Fri, 2012-01-20 at 08:18 +, gam...@googlecode.com wrote: > Updates: > Status: Fixed > > Comment #2 o

  1   2   3   >