[Gambas-user] Twitter oauth client?

2010-09-20 Thread Ron
Hi, did anyone happen to code a twitter client (cli or gui) in gambas using oauth? Regards, Ron. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and

Re: [Gambas-user] Set Active Tabstrib Panel from Button Click

2010-10-06 Thread Ron
tabMytabs.Index = 0 is what you use to select first tab, .Index = 1 second etc... tabMyTabs.Setfocus Regards, Ron_2nd. > Hello all, > > 1) I search in docs a property of tabistrib that make active a tabistrib > tab. > > All that i want to do is to Click a button btnOk and set the first tab > of

Re: [Gambas-user] Barcode reader

2010-10-16 Thread Ron
There are also scanners which are just USB HID devices, so they function as extra input device, just do setfocus on an textlabel input field and scan. See here for the barcode scan code I once made (for fun)... http://www.domotiga.nl/browser/trunk/DomotiGa/FBarcodes.class#L1 http://www.domotiga.nl

[Gambas-user] Search window behavior in Gambas3

2010-10-16 Thread Ron
I find the behavior of the new search/replace window in Gambas3 a bit annoying sorry. Either it's to small and not easy to enlarge by just clicking a button, or it's to big and covers the code you where searching for. I suggest to add a behavior, that if you double click a line in the search resu

Re: [Gambas-user] Display & character on Message box

2010-11-14 Thread Ron
You have the same issue with title propery of forms. On Nov 14, 2010 2:19 PM, "Demosthenes Koptsis" wrote: > Nope, none of them works. > > On Sun, 2010-11-14 at 12:06 +0100, Benoît Minisini wrote: >> > On gambas2-2.21-svn3289 >> > >> > Message.Info("&") >> > >> > is not working! >> > >> > Message

Re: [Gambas-user] Display & character on Message box

2010-11-14 Thread Ron
ot;Loading " & "&" & " starting") > >  Message.Info("&") > > Maybe there was something changed in the following svn updates? > > > > Am 14.11.2010 14:26, schrieb Ron: >> You have the same issue with title propery of fo

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-23 Thread Ron
Strange, this simply works here: ' Gambas class file PUBLIC SUB Form_Open() END PUBLIC SUB Form_Activate() DIM Checksum AS String ME.Mouse = Mouse.Wait Application.Busy = TRUE SHELL "ls -lR" TO checksum Application.Busy = FALSE ME.Mouse = Mouse.DEFAULT 'PRINT checksum

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas 3

2010-11-24 Thread Ron
On 24-11-2010 12:08, Benoît Minisini wrote: > Hi, > > I'm currently thinking about modifying/removing all Is() functions in > Gambas 3. > > They mainly test the datatype of their expression. So, either the datatype is > known at compile time, and there should be no need of testing it ; either y

Re: [Gambas-user] Displaying Mouse.Wait while running a SHELL Command

2010-11-24 Thread Ron
On 24-11-2010 12:09, Benoît Minisini wrote: >> Hi, >> >> Heres how i "fixed" it, hope it is the right way to display a "wait" cursor >> while a process executes. >> >> - >> FMain.Mouse = Mouse.Wait >> WAIT >> Application.Busy = 1 >> >> SHELL "sha512sum lenny.iso" TO actualSU

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

2010-11-24 Thread Ron
On 24-11-2010 12:28, Benoît Minisini wrote: >> On 24-11-2010 12:08, Benoît Minisini wrote: >>> Hi, >>> >>> I'm currently thinking about modifying/removing all Is() functions in >>> Gambas 3. >>> >>> They mainly test the datatype of their expression. So, either the >>> datatype is known at compi

Re: [Gambas-user] Some new features in Gambas 3

2010-11-28 Thread Ron
Benoit, all those changes are great! There is one big problem porting my big gambas2 project to gambas3 and keep it uptodate. (I have to maintain them next to eachother for a while) I cannot use diff or my favorite tool Meld diff viewer, to keep up with the changes to my project, simply because

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

2010-11-30 Thread Ron
>>> Mail.module:IF IsString(Main.GlobalVar["Minute"]) THEN >>> Main.GlobalVar["Minute"] = Val(Main.GlobalVar["Minute"]) >> Just seems to be checks to see if the variant value from that collection >> isn't empty, to prevent errors. > So use 'Not IsNull()' instead. > I get when I do If Not IsN

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

2010-11-30 Thread Ron
Don't want to bash, but why are CLng and CSng removed/replaced by CLong and CSingle and CStr is still there / not replaced by CString? I see some "vb logics" creeping in... same as marking text in insert and normal mode in IDE i wrote about... Back in the Gambas2 version it was so logical and coo

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

2010-11-30 Thread Ron
2010/11/30 Benoît Minisini : >> Don't want to bash, but why are CLng and CSng removed/replaced by >> CLong and CSingle and CStr is still there / not replaced by CString? >> > > They were not replaced, I just removed some abbreviations. But I admit it maye > be stupid, as it just takes memory in the

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

2010-11-30 Thread Ron
ss, this is the default Ubuntu type theme. >> > No, it's a bug in Qt or in the font you use. It happens sometimes. You should > use another font! > > Regards, But it's the default font/theme for Ubuntu 10.4... I didn't change a think about the theme. It looks hor

Re: [Gambas-user] Removing / Modifying IsXXXX() functions in Gambas3

2010-12-01 Thread Ron
Yes we did apparently... >>> >>> Look at the attached screenshot.. >>> I marked -with my mouse- all the full lines of text you see in there >>> except the last one "Main.ControlLed("EIB", "On") >>> >>> The last letters of "byte" are not back colored purple, even though I >>> have selected them. >>>

Re: [Gambas-user] gb3 - "Too many arguments" when binding UDP socket to port

2010-12-12 Thread Ron
Syntax has changed in Gb3. See here for my Gambas2-Gambas3 scrapbook notes.. http://www.domotiga.nl/wiki/Gambas/Gambas3#UdpSocketSyntaxChange Happy porting!... Regards, Ron_2nd. On Sun, Dec 12, 2010 at 12:42 AM, Kevin Fishburne wrote: > >   Code looks like this: >   ' General declarations. >  

Re: [Gambas-user] What is the use of Tag property

2010-12-12 Thread Ron
I use the Tag properties in async network code. So I know when a call ends to which event it belongs. See here for an example: http://www.domotiga.nl/browser/trunk/DomotiGa/Ping.module#L67 http://www.domotiga.nl/browser/trunk/DomotiGa/Ping.module#L98 Not all objects have a Tag property, for examp

Re: [Gambas-user] Gambas2 to 3 port error "Form.Delete is badly overridden in class"

2010-12-14 Thread Ron
This seem to be a common error. Since the Gambas3 IDE knows that your forms are still version 2 (because it says so on the first line of the form file) why not check for this after project load and ask the user to convert them? Regards, Ron_2nd. > have you converted your forms ? menu>tools> >

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ron
Not clear why you want to wait exactly, but another way is not to wait but to continue when process is finished. AntiVirRun_Kill() is called when process is finished. So you can do other things in meantime (like parsing _Read) and call the code to run from _Kill to continue. See here for some cod

Re: [Gambas-user] Multiple TCP server sockets

2010-12-28 Thread Ron
Do I miss something here? I have several server sockets on several ports for years in Gambas2... Regards, Ron_2nd. 2010/12/28 Benoît Minisini : >> >  > >> >  > That is not the issue, you can do that, but they all use the same >> >  > socket_read sub. Or I my missing something here? >> > >> > Hem,

[Gambas-user] Eval Gambas2

2011-01-05 Thread Ron
Hi, I'm trying to implement some sort of basic scripting with the use of Eval() inside my project. It works for a lot of math, formatting and comparison commands and works quite nicely. But I need the IF THEN to work too. IIf ( Test AS Boolean , TrueExpression , FalseExpression , FalseExpres

Re: [Gambas-user] Eval Gambas2

2011-01-05 Thread Ron
On 5-1-2011 10:23, Benoît Minisini wrote: >> Hi, >> >> I'm trying to implement some sort of basic scripting with the use of >> Eval() inside my project. >> >> It works for a lot of math, formatting and comparison commands and works >> quite nicely. >> >> But I need the IF THEN to work too. >> >> II

Re: [Gambas-user] Incorrect name at the top of the lang web page V2 instead of V3

2011-01-13 Thread Ron
Yes, would be more clear if you always had both version links displayed, one selected (the displayed one) and one clickable, the other. > i had the same question some time ago. > > But actually later in an email i read that this is for change to other > version of documents. > > so when you are

Re: [Gambas-user] Building 3.0

2011-01-20 Thread Ron
On Jan 20, 2011 8:59 PM, "John Spikowski" wrote: > > Gambas Developer Team, > > I used svn and downloaded the trunk and ran ./reconf-all. I have > installed 3.0 Gambas as a sub-directory in my /home/jrs/gambas-dev/trunk > and ready to build Gambas 3.0. Before I get started I have a few > questions

[Gambas-user] Gambas 3 rev 3489 error message windows in ide gone?

2011-01-23 Thread Ron
When compiling a project which has syntax errors I don't get a pop msg anymore telling what is wrong, it just jump to line with the error and displays the error in the status bar of main project. If you blink you eyes you miss them, because it's only displayed 2 seconds. Is this a bug, or changed

[Gambas-user] Gambas 3 rev 3489 bad form file version

2011-01-23 Thread Ron
When you have a project where not all form are converted from 2.0 yet, there is no way to get it going anymore, since the menu option to convert forms isn't there anymore. And i cannot find any substitute to do that. So i'm stuck again porting my project... Any solution? Regards, Ron_2nd. ---

Re: [Gambas-user] Gambas 3 rev 3489 bad form file version

2011-01-23 Thread Ron
Yes i have, but i copy parts of my project, im keeping a 2 and gambas 3 version. Now i cant copy updated forms anymore and choose update. Can we just keep that menu optio too? --- Regards, Ron. On Jan 23, 2011 5:36 PM, "Benoît Minisini&qu

Re: [Gambas-user] Gambas 3 rev 3489 bad form file version

2011-01-23 Thread Ron
Ok will do and let you know, if it works ok i dont have do merge updates myself, so it's better in the end! --- Regards, Ron. On Jan 23, 2011 6:35 PM, "Benoît Minisini" wrote: >> Yes i have, but i copy parts of my project, im keeping a 2 and gambas 3 >> version. >&

[Gambas-user] Converting a project to Gambas3 (was: Re:Gambas 3 rev 3489 bad form file version)

2011-01-27 Thread Ron
On 23-1-2011 18:39, Benoît Minisini wrote: >>> Yes i have, but i copy parts of my project, im keeping a 2 and gambas 3 >>> version. >>> Now i cant copy updated forms anymore and choose update. >>> >>> Can we just keep that menu optio too? >>&

[Gambas-user] Weird error Gambas2

2011-03-05 Thread Ron
e.377 ... ... Line 377 contains: TRY READ #hRFXComTX, bTemp ?? I don't get it.. gambas2, build yesterday, gb.qt, maveric,k 32 bits. Regards, Ron. -- What You Don't Know About Data Connectivity CAN Hurt You This pa

Re: [Gambas-user] Weird error Gambas2

2011-03-06 Thread Ron
Its in the stable repos code then. Because i compiled gambas from scratch. Had to reinstall my machine. I dont get the error in gui project. Which uses same code in that spot. Will restore your account too. --- Regards, Ron. On Mar 5, 2011 10:56 PM, "Benoît Minisini" wrote: >&g

Re: [Gambas-user] Weird error Gambas2

2011-03-12 Thread Ron
n't been able to get the System Error(42) anymore. I have no clue. But reading for a socket while there is nothing to read triggers this THROW Error debug msgs. If you need to debug it, please let me know, I restore your ssh login. Regards, Ron. On Sun, Mar 6, 2011 at 9:43 AM, Ron wrote:

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Ron
Can someone explain what extern callbacks are/do? Thanks! 2011/3/13 Benoît Minisini : >> It's better, but there are other problems too... Something to do with >> "select case" and callback functions. >> I managed to isolate the problem. See attachment. >> >> Click coupleo of times that button, an

[Gambas-user] Gambas stable bugs in BSet and BChg?

2011-03-16 Thread Ron
When you run this: PUBLIC SUB Main() DIM bByte AS Byte PRINT Bin(bByte, 8) BSet(bByte, 0) PRINT Bin(bByte, 8) BChg(bByte, 0) PRINT Bin(bByte, 8) bByte = bByte OR &H1 PRINT Bin(bByte, 8) PRINT BTst(bByte, 0) END You get this: 0001 T

Re: [Gambas-user] Gambas stable bugs in BSet and BChg?

2011-03-16 Thread Ron
AHA! Forget my e-mail ;-) Regards, Ron_2nd. 2011/3/16 Benoît Minisini : >> When you run this: >> >> PUBLIC SUB Main() >> >>    DIM bByte AS Byte >> >>    PRINT Bin(bByte, 8) >> >>    BSet(bByte, 0) >>    PRINT Bin(bByte, 8) >> >>    BChg(bByte, 0) >>    PRINT Bin(bByte, 8) >> >>    bByte = bByte

[Gambas-user] Gambas 3 RC1 CSng project conversion bug

2011-03-28 Thread Ron
Testing RC1 with code revision 3693 Converting a project to Gambas3 doesn't work 100% correct. It seems '+ CSingle' becomes 'CSingleSng' If (RecBuf[6] And &H8) = 0 Then ' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) + CSng(Hex(Lsr(RecBuf[4], 4))) / 10 sCelsius = CSingle(H

[Gambas-user] Gambas 3 RC1 CLng not converted

2011-03-28 Thread Ron
CLng's are not converted to CLong. lCt4 = Lsl(CLng(RecBuf[10]), 36) I remember I reported this earlier, and was fixed? Regards, Ron_2nd. -- Enable your software for Intel(R) Active Management Technology to meet th

[Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
Project runs ok, but every now and then I get this: ** INTERNAL ERROR ** ** Cannot read from SIGCHLD pipe Main.BroadcastEvent.4731: #5: Too many arguments 0: Main.BroadcastEvent.4731 1: Main.RefreshDeviceList.4848 2: Devices.ValueUpdate.823 3: Main.SetGlobalVar.4447 4: RRDTool.GetRRDPath.60 5: RRD

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
' got it Break End If Dec iTries Wend If bSqueezeServerDebug Then Main.WriteDebugLog("[SqueezeServer] < " & URLDecode(sData)) Return URLDecode(sData) End Have to change that ugly code, and syntax. But still Internal Errors shouldn't be there

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
On 28-3-2011 14:24, Benoît Minisini wrote: >> Hmmm, another one in a different part of my project: >> >> ** INTERNAL ERROR ** >> ** Cannot read from SIGCHLD pipe >> CSqueezeServer.ReceiveData.204: #39: End of file >> 0: CSqueezeServer.ReceiveData.204 >> 1: RRDTool.GetRRDPath.60 >> 2: RRDTool.Update

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
On 28-3-2011 15:14, Benoît Minisini wrote: >> On 28-3-2011 14:24, Benoît Minisini wrote: Hmmm, another one in a different part of my project: ** INTERNAL ERROR ** ** Cannot read from SIGCHLD pipe CSqueezeServer.ReceiveData.204: #39: End of file 0: CSqueezeServer.Receiv

[Gambas-user] HttpClient question

2011-03-28 Thread Ron
It seems that if you call HttpClient twice after each other with different urls in async mode, like in example below the _finished event is only called once (with the last call/url) So they are not really async/background, or is this a bug? Or are they overwritten, due to false usage/code? This

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
On 28-3-2011 15:32, Ron wrote: > On 28-3-2011 15:14, Benoît Minisini wrote: >>> On 28-3-2011 14:24, Benoît Minisini wrote: >>>>> Hmmm, another one in a different part of my project: >>>>> >>>>> ** INTERNAL ERROR ** >>>>> **

Re: [Gambas-user] Gambas 3 RC1 CLng not converted

2011-03-28 Thread Ron
On 28-3-2011 16:55, Benoît Minisini wrote: >> CLng's are not converted to CLong. >> >> lCt4 = Lsl(CLng(RecBuf[10]), 36) >> >> I remember I reported this earlier, and was fixed? >> >> Regards, >> Ron_2nd. >> > Can you try the latest revision? > Yes this is fixed. Thanks. -

Re: [Gambas-user] Gambas 3 RC1 CSng project conversion bug

2011-03-28 Thread Ron
On 28-3-2011 16:55, Benoît Minisini wrote: >> Testing RC1 with code revision 3693 >> >> Converting a project to Gambas3 doesn't work 100% correct. >> >> It seems '+ CSingle' becomes 'CSingleSng' >> >> If (RecBuf[6] And&H8) = 0 Then >> ' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) +

[Gambas-user] Gambas3 RC1 Bind conversion

2011-03-28 Thread Ron
Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3 It looks like Bind(0) calls should be converted by the IDE, but it doesn't seem to be implemented. No Bind related code in app/src/gambas3/.src/Project/MConvert.module Regards, Ron_2nd.

Re: [Gambas-user] Gambas3 RC1 Internal error all of a sudden

2011-03-28 Thread Ron
It still runs without errors, so seems fixed to, otherwise it stopped after a few minutes. I wonder where those interrupted systems calls referred too btw. Are those processes stopped or pipes closed, are they normal? Thanks! 2011/3/28 Benoît Minisini : >> >> Disabled the SqueezeServer module a

Re: [Gambas-user] Gambas3 RC1 Bind conversion

2011-03-29 Thread Ron
Yes, converting .Bind() works ok now too! Thanks. 2011/3/29 Benoît Minisini : >> Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3 >> It looks like Bind(0) calls should be converted by the IDE, but it >> doesn't seem to be implemented. >> >> No Bind related code in  app/src/gamb

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Ron
Hi Caveat, I wanted to create a module for my software so I can fetches sensor data from public pachubes sensors in japen, to get nuclear radiation values. I will adapt your code, thanks! Regards, Ron_2nd. > Hi Ron_2nd, > > Benoit is (need I say it!) 100% correct. > > But I figured out a kind o

Re: [Gambas-user] HttpClient question

2011-03-30 Thread Ron
I got a curl pipe error, and sent you my test project privately in a sec. So you can test with my user account. Regards, Ron. 2011/3/30 Benoît Minisini : >> It seems that if you call HttpClient twice after each other with >> different urls in async mode, like in example below the _fi

Re: [Gambas-user] how to flush a process stream

2011-03-31 Thread Ron
Pls report experiences with the use of the structures. I want to use them in parts of my project too. Regards, Ron. Op 1 apr. 2011 00:51 schreef "Kevin Fishburne" < kevinfishbu...@eightvirtues.com&

Re: [Gambas-user] shell script output controls gambas

2011-04-05 Thread Ron
On 5-4-2011 12:12, Ganesh Kumar wrote: > Hi Gurus, > > I am new to Gambas. I have executed shell script,, the shell script > output control the decision. > > My script > / > #! /biin/bash > host google.com>/dev/null

Re: [Gambas-user] another extern math problem

2011-05-28 Thread Ron
If you really need to talk to an C++ library you can try to create a wrapper lib. Someone made one for my project to be able to use the openzwave library (C++) from my project Gambas2. Look here for the code: http://domotiga.nl/browser/trunk/wrappers/domozwave You have to make sure that the calls

[Gambas-user] Gambas3 and database connection

2011-05-29 Thread Ron
Running my project with Gambas3 RC1 now. Always used the database manager from gambas2, I noticed that now you have a connections folder in the project tree. How can you manage the database in Gambas3, can find it... I have a connection defines in my project itself like so '~~~

[Gambas-user] Starting Gambas3 RC1 IDE on Mint 11 fails

2011-05-31 Thread Ron
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. -- make install-data-hook make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.dbus/src

Re: [Gambas-user] Starting Gambas3 RC1 IDE on Mint 11 fails

2011-05-31 Thread Ron
Nevermind the screenshot, it was another problem which is already fixed. ;-) On Tue, May 31, 2011 at 11:55 AM, Ron wrote: > Yes that fixed it, thanks. > > Regards, > Ron_2nd. > 2011/5/31 Benoît Minisini : >>> ... >>> ron@laptop-ron ~/install/gambas/trunk $ gamba

Re: [Gambas-user] Starting Gambas3 RC1 IDE on Mint 11 fails

2011-05-31 Thread Ron
, May 31, 2011 at 11:57 AM, Ron wrote: > Nevermind the screenshot, it was another problem which is already fixed. ;-) > > On Tue, May 31, 2011 at 11:55 AM, Ron wrote: >> Yes that fixed it, thanks. >> >> Regards, >> Ron_2nd. >> 2011/5/31 Benoît Minisini : &

Re: [Gambas-user] Starting Gambas3 RC1 IDE on Mint 11 fails

2011-05-31 Thread Ron
SMTP error code #0)' [-1] at SmtpClient.Send.66'. Maybe same cause as what Kevin (i believe) was reporting about udp problems... Regards, Ron_2nd. On Tue, May 31, 2011 at 11:27 AM, Ron wrote: > See any operating system documentation about shared libraries for > more informat

Re: [Gambas-user] Google Chart Api

2011-07-31 Thread Ron
Yes Op 1 aug. 2011 06:21 schreef "Andrea Bertini" het volgende: > Is anyone interested how to use Google Api to show java chart in Gambas? > > Andrea BERTINI > Rome-Italy > -- > Got Input? Slashdot Needs You. > Take our qu

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Ron
Empty lines yes, keep them! But Kevin and I mean remove spaces on empty lines. Looks like this: Dim sTest as string ... <- remove these sTest = "this is a test" ' here above normal empty line, without spaces on it. Regards, Ron_2nd. 2011/8/4 Fabien Bodard : > 2011/8/4 Kevin Fishburne :

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Ron
> That would be awesome. Also removing spaces on otherwise empty lines and > removing spaces at the end of lines. Yes a +1 from me on this one too, I hate floating spaces, and always have the urge to remove them. Regards, Ron_2nd. 2011/8/4 Kevin Fishburne : > On 08/04/2011 11:43 AM, zachsmith...

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Ron
Yes the lines must stay, but not the spaces, see the dots in the attachment... Regards, Ron_2nd. 2011/8/4 Fabien Bodard : > i alway keep a blank line after var declaration > > 2011/8/4 Ron : >>> That would be awesome. Also removing spaces on otherwise empty lines and >>

Re: [Gambas-user] Making code pretty

2011-08-05 Thread Ron
egards, Ron_2nd. 'Pretty' is in the eye of the beholder. I write my code so it is easy to read and easy see the structure of the code, spaces and empty lines are therefore used extensively. Since the compiled code is not affected by them what's the problem? Ron wrote: Empty lines y

Re: [Gambas-user] Gambas 2 and mysql bin-log

2011-08-31 Thread Ron
On 30-8-2011 21:18, Benoît Minisini wrote: >> I need that the "insert" statement to be logged in the binary log. >> > I have no idea why it is not logged. I didn't know there was a "mysql binary > log", and I don't know how it works. > > Try to set 'DB.Debug = True' to see what SQL queries are sent

Re: [Gambas-user] Gambas2 to gambas3 conversion - some problems

2011-09-04 Thread Ron
Yep, here too,conversion from gambas2 to 3 is broken. Running r4082 It starts converting the project and then halts with this error: Cannot open project file: /home/ron/domotiga/convert/DomotiGaServer File or directory does not exist Project.Open.511 No wonder, because if you look at the last

[Gambas-user] Cannot open gambas3 project with r4082

2011-09-04 Thread Ron
If I want to open the gambas3 project with r4082 (to correct bug with converting project) I cannot open it. So I have a chicken and egg problem here. I have this with every default project. Cannot open project file : /home/ron/install/gambas/trunk/app/src/gambas3 File or directory does not exist

Re: [Gambas-user] Cannot open gambas3 project with r4082

2011-09-04 Thread Ron
I also see this: FileView.RefreshView.267: FileView.RefreshView.229: File or directory does not exist 2011/9/4 Ron > If I want to open the gambas3 project with r4082 (to correct bug with > converting project) I cannot open it. > So I have a chicken and egg problem here. > I ha

Re: [Gambas-user] Cannot open gambas3 project with r4082

2011-09-04 Thread Ron
I'm running gambas2 on it for some time without any problems. I'm using it via NX but that never caused any problems. ron@ron-desktop:~$ which sh /bin/sh Dunno... 2011/9/4 Benoît Minisini > > If I want to open the gambas3 project with r4082 (to correct bug with > >

[Gambas-user] MySQL socket path

2011-09-16 Thread Ron
I cannot seem to find a way to set the mysql socket path. Nor in gambas3 gb.mysql nor in gambas2 gb.db component. How can I do that? See here for more related info when using localhost as host. http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html As far as i can see this should b

Re: [Gambas-user] Eval error

2011-09-16 Thread Ron
+1 I'm using Eval() in my gambas2 project too, to check event conditions (domotica lamp on events that is) Like this for example: Eval(Var_Sunset = Format(hour(Now()),"0#") & ":" & Format(minute(DateAdd(now(), gb.Minute, 30)),"0#")) Some people report weird behavior with other code... I'm sure

Re: [Gambas-user] Eval error

2011-09-17 Thread Ron
(Now()),"0#") & ":" & Format(minute(DateAdd(now(), gb.Minute, 30)),"0#")") =FALSE Print Eval("Format(hour(Now()),"0#")") =12 Regards, Ron. 2011/9/17 JUHASZ Robert : > Hello, > > I don't know how to check the revision b

[Gambas-user] Gambas2 error

2011-09-18 Thread Ron
FWIW, I just deleted a gridview from a tabstrip in the ide and got this: Gambas2 latest rev. Ubuntu Natty 64 bit, QT SetProperty: TabStrip.Count: CControl.SetProperty.475: Tab is not empty FForm.GetChildren.490: #29: Invalid object 0: FForm.GetChildren.490 1: CControl.Delete.684 2: FForm.DeleteSe

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-18 Thread Ron
Dont you have some c code to look at from a similar alsa using prog? Or one of its utils? Op 18 sep. 2011 13:25 schreef "Ian Haywood" het volgende: > On Sun, Sep 18, 2011 at 8:56 PM, Ru Vuott wrote: >> Hello, >> >> thank you for your statement. > >> hfile = OPEN "/proc/self/fd/num" for Read Wat

[Gambas-user] perl unpack

2011-09-19 Thread Ron
I'm trying to decode this with gambas, no luck, anyone has an idea? #!/usr/bin/perl print pack('u', "send:"); %http://p.sf.net/sfu/rim-devcon-copy1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listi

Re: [Gambas-user] perl unpack

2011-09-19 Thread Ron
o exactly 8 digits of binary >    ' so for e.g. pad 1 to become 0001 >    aBinChar = Right$("" & intToBase(aByte, BASE_BINARY), 8) >    Print "aByte: " & aByte & " abinChar: " & aBinChar >    ' Add bytes together to make

Re: [Gambas-user] perl unpack

2011-09-20 Thread Ron
s over a telnet socket to my main project, this script comes from the misterhouse project, so I wanted to create a telnet socket interface for it, so other script can be used later. I will see if I can build in some more checks you suggested. Regards, Ron. 2011/9/20 Caveat : > Hi Ron_2nd >

Re: [Gambas-user] Ubuntu 11.10 64 - Build 4200

2011-10-16 Thread Ron
NX isn't working anymore with 11.10's new GUI, even in gnome fallback it doesn't work. Either you don't get a menu, or the complete screens are grabled Also it becomes slower each new version too. Time to look for a new distro... was a Ubuntu user for years, but it seems it has come to an end. R

[Gambas-user] TextEdit and linefeeds

2011-11-06 Thread Ron
Hi all, In my project I replaced the txtArea for readlonly TextEdit objects so I can color the text I want to emphasize, this works good. But how can I just do a single line wrap, until now I only got a blank line in between lines, or all lines concatenated together ;-( It must be something simp

Re: [Gambas-user] TextEdit and linefeeds

2011-11-06 Thread Ron
xt &= "" > > sText = Format$(Now, "/mm/dd hh:nn:ss") & " " & sText > FMain.txtMainLog.EnsureVisible > FMain.txtMainLog.Text &= sText > PRINT sText; > > END > > 2011/11/6 Ron : > > Hi all, > > > > In my pr

Re: [Gambas-user] TextEdit and linefeeds

2011-11-06 Thread Ron
chard terry" het volgende: > On Sunday 06 November 2011 21:22:54 Ron wrote: > > Hi all, > > > > In my project I replaced the txtArea for readlonly TextEdit objects so I > > can color the text I want to emphasize, this works good. > > > > But how can I just do

Re: [Gambas-user] something to do

2011-11-07 Thread Ron
need to sum up call costs for specific sets of a numbers... Or is this far fetched? Regards, Ron. 2011/11/7 Dag-Jarle Johansen > I have to simulate some situations, of course, > what would you rather have, some simulation of one firm, or the simulation > of one concern, or the simu

Re: [Gambas-user] TextEdit and linefeeds

2011-11-08 Thread Ron
Rolf, This is what Fabian also mailed me, but it didn't work, will look into it again, I had ReadOnly is true already set. Thanks. Regards, Ron. > Ron, > > I guess I got it :-) I found my old project where I used it, and now > read this: > > It depends on whether TextE

Re: [Gambas-user] TextEdit and linefeeds

2011-11-08 Thread Ron
All works, expect one thing. When I was using the .Insert() I could set forecolor before and after the insert to color only this line, like so: FLogFiles.txtMainLog.ForeColor = Color.Gray FLogFiles.txtMainLog.Insert(sText) FLogFiles.txtMainLog.ForeColor = Color.Black If I now issue a FLogFiles.t

[Gambas-user] vb ENUMS

2011-11-11 Thread Ron
I'm porting a vb project and it uses a lot of ENUM definitions, I cannot find a similar way to use them in Gambas2/3. They get referred to with: SECURITY2.packettype ENUM SECURITY2 AS Integer packetlength = 0 packettype = 1 subtype = 2 seqnbr = 3 id1 = 4 id2 = 5

Re: [Gambas-user] vb ENUMS

2011-11-11 Thread Ron
Ok, thanks! > yes create a class SECURITY2 > > public enum packetlength = 0, packettype = 1, etc > > actually enum is not fully implemented in gambas :/ maybe for the 4.0 > > 2011/11/11 Ron: >> I'm porting a vb project and it uses a lot of ENUM definitions, I can

Re: [Gambas-user] vb ENUMS

2011-11-11 Thread Ron
I'm just curious: What are enums good for? Never heard of it... > > Rolf > > Am 11.11.2011 09:59, schrieb Ron: >> Ok, thanks! >> >>> yes create a class SECURITY2 >>> >>> public enum packetlength = 0, packettype = 1, etc >>> >&

[Gambas-user] Moviebox with animated gif, need tranparent background

2011-11-26 Thread Ron
I display movieboxes with an animated gifs, and have it use a transparent background, the gifs are already transparant. I can do this for TextLabel with property .Transparant, but how can I do this for MovieBoxes? Small code: WITH hMovieBox TRY .Path = "/some/animated.g

Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-15 Thread Ron
On 15-12-2011 5:50, Benoît Minisini wrote: > Le 15/12/2011 03:42, Benoît Minisini a écrit : >> Le 15/12/2011 01:19, Caveat a écrit : >>> Benoit, >>> >>> I decided to test against qt and gtk+ by selecting them manually from >>> the Project Properties, Components. >>> >>> If I select gb.qt4, the '4k

Re: [Gambas-user] Client/Server Application with Gambas

2011-12-20 Thread Ron
Hi Hamza, I use XMLRPC in my Gambas project. http://www.domotiga.nl/projects/domotiga/repository/entry/trunk/DomotiGa/CXMLRPC.class Look here for simple android, web and iphone clients using xmlrpc/json: http://www.domotiga.nl/projects/domotiga/repository/show/trunk/webclients I also watched webs

Re: [Gambas-user] Issue 159 in gambas: No Toolbox after warning about el_GR.utf8

2011-12-23 Thread Ron
I had the same problem, it's there, but hidden by default (click the arrows on right side and bottom of the IDE screen to see it, when in form mode) There use to be a toolbar icon in gambas2 who made the toolbox visible with one click, but it's not there anymore in gambas3, better re-add it to tak

[Gambas-user] Gambas3 IDE's un- indent buttons

2011-12-28 Thread Ron
Community, I really, really miss the Indent and Unindent toolbar icons in Gambas3's IDE! I want to start a petition to get them back, 1 vote added.. Regards, Ron_2nd. -- Write once. Port to many. Get the SDK and tools

Re: [Gambas-user] Cannot close GUI application

2012-01-02 Thread Ron
Just close all open handles file hand timers hand close main form with me.close Ron Op 2 jan. 2012 18:36 schreef "Olivier Cruilles" het volgende: > Hello, > > Did you use the quit() command in the main Form ? > > > > > > Olivier Cruilles > Mail: linu...@c

Re: [Gambas-user] Cannot close GUI application

2012-01-02 Thread Ron
You always get unfreed stuff when using Quit in a GUI project is my experience. In Form_Close() ' exit program Main.CloseAll() FMain.Close END In CloseAll() I close all file handles, sockets, serial ports and stop timers. Then FMain.Close does the trick nicely. Regards, Ron_2nd. 2012/1/2

[Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
Hi community, Let say I have a class called CMyMsg like this: ' Gambas class file PUBLIC Length AS Integer' packet length PUBLIC Prio AS Integer ' 0 = normal, 1 = system PUBLIC Node AS Integer' node id PUBLIC Key AS String PUBLIC Packet AS NEW Byte[] ' data to send PUBLIC AwaitAck A

Re: [Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
yes looks like i need that, will try, thanks alot! Ron Op 19 jan. 2012 17:29 schreef "Jussi Lahtinen" het volgende: > Maybe I don't understand the question, but why not just like this: > > Do > >ProcessIt(oMyMsg[0]) > >oMyMsgs.Remove(0) > &g

Re: [Gambas-user] Gambas WebPage

2012-01-28 Thread Ron
Benoit great news that we can start develop web pages. No idea what I need exactly. I will just start to play with it for my project and let you know what I think then. Regards, Ron_2nd Op 28 jan. 2012 18:57 schreef "M. Cs." het volgende: > Will it be possible to display a native HTML/PHP code i

Re: [Gambas-user] extern library

2012-01-29 Thread Ron
Modify your systems ldconfig config. Regards, Ron_2nd. Op 29 jan. 2012 21:04 schreef "Wally" het volgende: > Hi > > how can i tell Gambas3, "Library" command to use > "libMyLib.so" in Project Dir or somewhere else ? > > ' Gambas class file > Library "libMyLib:0"'<--- > > Private Exte

Re: [Gambas-user] extern library

2012-02-01 Thread Ron
On 31-1-2012 1:09, Benoît Minisini wrote: > Le 29/01/2012 21:33, Wally a écrit : >> No other way ? >> > Normally the library can be any path, like any data file. So: > > - It is searched as a real file (absolute path, or standard library paths). > > - If it is not found, then it is searched inside

Re: [Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-03 Thread Ron
Just google for gambas calculate get unix time Regards, Ron_2nd. > Hi "another Rolf" > >>> is there a function which allows to convert an unix timestamp into the >>> appropriated date/time in Gambas3? >>> >>> If, how is it called and how to use. >> Take a look at this one: >> http://gambasdoc.org/

  1   2   3   4   5   >