Re: [Gambas-user] Split: misleading Wiki

2017-05-23 Thread Fabien Bodard
A=Split (replace ("##yyy##1234","##",chr (27)),chr (27)) Or do not use double characters as separator . Le 22 mai 2017 23:35, a écrit : > Matti > > Your string has 3 substrings when split with SPLIT (STRING, "#"): > > Index 0: "Hello" > Index 1: "" > Index 2: "12345"

[Gambas-user] XMLRPC-Server

2017-05-23 Thread Hans Lehmann
Hello, I'm currently experimenting with the gb.xml.rpc component. An XMLRPC client works well (see archive attached). Now I would like to offer on the installed Web server Lighttpd (under Mint 17.1) a webservice (XMLRPC server) and via the XMLRPC client call. The following source code for

[Gambas-user] gambas on androit? status and future!?!

2017-05-23 Thread PICCORO McKAY Lenz
there's any way to run on androit, there's any port event older? available gambas on ANDROIT? what its the status? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -- Check out the vibrant tech community on

[Gambas-user] gambas on MAC? status and future?

2017-05-23 Thread PICCORO McKAY Lenz
there's any way to run, there's any port event older? available gambas on MAC? what its the status? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -- Check out the vibrant tech community on one of the

Re: [Gambas-user] left$ vs String.left behaviour

2017-05-23 Thread PICCORO McKAY Lenz
2017-05-23 7:07 GMT-04:00 Charlie : > I'm not sure where 'querycolsinserts' comes in to this but the code below > sorry was my fault, i mean "query1" > works fine: - > > Print Left$(query1, -1) > Print Left(query1, -1) > The output is: - > `SHW325X` > `SHW325X` > `SHW325X`

Re: [Gambas-user] left$ vs String.left behaviour

2017-05-23 Thread Charlie
I'm not sure where 'querycolsinserts' comes in to this but the code below works fine: - *Public Sub Form_Open() Dim query1 As String = "`SHW325X`," Dim siCount As Short For siCount = Len(query1) DownTo 1 Print String.Left(query1, siCount) Next Print String.Left(query1, -1) Print Left$(query1, -1)

Re: [Gambas-user] table name from db object result

2017-05-23 Thread PICCORO McKAY Lenz
i found that: namcol = Split(rsObj.Fields[indexcol].Name, ".") gridproductos.Columns[indexcol].Title = namcol[1] Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-05-22 15:24 GMT-04:00 PICCORO McKAY Lenz : > in sqlite or odbc how can

[Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread PICCORO McKAY Lenz
the odbc gambas connection supports DSN-less mode? i mean, all the settings into the gambas code, no need of ini files i remenber that this are, since Gambas 3.8.1, IIRC, gb.db.odbc was made to support the so-called "Connection Strings". i can update the documentation but i wish to know if are

[Gambas-user] Tabstrip question

2017-05-23 Thread gbwilly
Hi all, Is it possible to disable a tab in a Tabstrip? Can't find a thing in documentation, or maybe I have missed it. Thanks, gbWilly -- Check out the vibrant tech community on one of the world's most engaging tech

[Gambas-user] What is the maximum text we can put on a TextArea?

2017-05-23 Thread Fernando Cabral
How much text can we display on TextArea? Even after performing serval tests I couldn' t find out. It seems sometimes I can display 7000 characters, sometimes twice as much. Perhaps someone can point me the proper documentation. Thanks - fernando -- Fernando Cabral Blogue:

Re: [Gambas-user] Tabstrip question

2017-05-23 Thread Charlie
Hi Willy, I have done a little testing and you can't disable the 'Tab' but you can disable the controls on that tab. Using this I was unable to click on a Button on 'Tab1' *TabPanel1[1].Enabled = False * This will hide the tab from view *TabPanel1[1].Visible = False* - Check out

Re: [Gambas-user] What is the maximum text we can put on a TextArea?

2017-05-23 Thread Tobias Boege
On Tue, 23 May 2017, Fernando Cabral wrote: > How much text can we display on TextArea? > Even after performing serval tests I couldn' t find out. > It seems sometimes I can display 7000 characters, > sometimes twice as much. > > Perhaps someone can point me the proper documentation. >

Re: [Gambas-user] Tabstrip question

2017-05-23 Thread gbwilly
On 2017-05-23 17:50, Charlie wrote: > Hi Willy, > I have done a little testing and you can't disable the 'Tab' but you > can > disable the controls on that tab. > Using this I was unable to click on a Button on 'Tab1' > *TabPanel1[1].Enabled > = False * > This will hide the tab from view

Re: [Gambas-user] Split: misleading Wiki

2017-05-23 Thread Matti
Very good explanation, thank you. Am 22.05.2017 um 23:33 schrieb d4t4f...@gmail.com: > Matti > > Your string has 3 substrings when split with SPLIT (STRING, "#"): > > Index 0: "Hello" > Index 1: "" > Index 2: "12345" > > It is documented that separators are single characters, not strings; you can

Re: [Gambas-user] Tabstrip question

2017-05-23 Thread PICCORO McKAY Lenz
2017-05-23 12:02 GMT-04:00 : > Forgot about the array accessors :) > if u are taking about VB the "group" are equivalent Maybe I will use the TabStrip[Index].Visible solution if that turns out > more elegant ;) > > Thnaks again, > > gbWilly > > > >

Re: [Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread PICCORO McKAY Lenz
well in my svn version of 3.9 are working.. but i dont know if are available in 3.9.0 officially also noted that code must configure only host and type, if any other are configured connection will fail Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-05-23 12:55 GMT-04:00

Re: [Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread PICCORO McKAY Lenz
hi Ml/zxMarce this feature are available officially in the normal 3.9.X release and up? i use the svn and i dont know if ! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-05-23 13:56 GMT-04:00 ML : > Piccoro, > > Using ODBC via ConnectionString needs only

Re: [Gambas-user] What is the maximum text we can put on a TextArea?

2017-05-23 Thread Fernando Cabral
Tobi wrote: >I don't know where your problems with text input controls come from but I >just generated a 10^6 characters long string and inserted it into a TextArea >without any problems. That's impressive. And much longer than I need. Perhaps I should try a different explanation for the failure.

Re: [Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread ML
It should; as far as I know nobody sent any further patches to the ODBC component other than me... On 23/05/17 14:59, PICCORO McKAY Lenz wrote: > hi Ml/zxMarce this feature are available officially in the normal 3.9.X > release and up? i use the svn and i dont know if ! > > Lenz McKAY Gerardo

Re: [Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread ML
Piccoro, Using ODBC via ConnectionString needs only the Connection.Type (so that gambas knows it should use the ODBC component) and Connection.Host (for the connection data) properties correctly set. The component will, first and foremost, scan the .Host property looking for semicolons (";"). If

Re: [Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread PICCORO McKAY Lenz
ok thanks.. great work.. please i'll watch over the póssibility to workaround over the count and max misc! 2017-05-23 14:04 GMT-04:00 ML : > >> If the component fails to connect when other (gambas) component > >> properties are set, it could be something I did no foresee.

Re: [Gambas-user] XMLRPC-Server

2017-05-23 Thread T Lee Davidson
Hello Hans, RpcServer.Listen relies on ServerSocket which is part of the gb.net component. The documentation does not specify that gb.net is required for gb.xml.rpc, but it apparently is. On 05/23/2017 07:55 AM, Hans Lehmann wrote: > Hello, > > I'm currently experimenting with the gb.xml.rpc

[Gambas-user] gb.debug: Unable to open fifo

2017-05-23 Thread T Lee Davidson
Hello folks, I am trying to see if gb.debug will help me diagnose why HttpClient does not properly expose redirect response codes on my system (and reportedly Tobi's system) while it does so correctly on Benoît's system. However, the documentation for gb.debug is so sparse that I am having to

[Gambas-user] [Gambas Bug Tracker] Bug #1104: ODBC driver misc 1: if name, login or pass are specified connection does not open

2017-05-23 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1104=L21haW4- Comment #2 by zxMarce: Piccoro, I don't have any Sybase servers to test. I will, nonetheless, try first with both MSSql 2005 and Firebird. Is there any chance that I get access to a Sybase test DB of your property if I need it for

[Gambas-user] [Gambas Bug Tracker] Bug #1104: ODBC driver misc 1: if name, login or pass are specified connection does not open

2017-05-23 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1104=L21haW4- Comment #3 by PICCORO LENZ MCKAY: Its same protocol for mocosoft sql server as sybase was the original software behind of... so TDS protocol its the used for sybase and mocosoft sql server, only mocosoft added changes to the

Re: [Gambas-user] gb.debug: Unable to open fifo

2017-05-23 Thread Tobias Boege
On Tue, 23 May 2017, T Lee Davidson wrote: > Hello folks, > > I am trying to see if gb.debug will help me diagnose why HttpClient does not > properly expose redirect response codes on my > system (and reportedly Tobi's system) while it does so correctly on Benoît's > system. > > However, the

[Gambas-user] [Gambas Bug Tracker] Bug #1104: ODBC driver misc 1: if name, login or pass are specified connection does not open

2017-05-23 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1104=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary --- ODBC driver misc 1: if name, login or pass are specified connection does not open Type : Bug Priority : Low Gambas version : 3.9 Product : ODBC

[Gambas-user] [Gambas Bug Tracker] Bug #1104: ODBC driver misc 1: if name, login or pass are specified connection does not open

2017-05-23 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1104=L21haW4- Comment #1 by PICCORO LENZ MCKAY: odbc documentation was update by me and splited for better: * notes in connection class host property: http://gambaswiki.org/wiki/comp/gb.db/_connection/host

Re: [Gambas-user] odbc dsn-less support or "connection strings" and documentation status?

2017-05-23 Thread PICCORO McKAY Lenz
i update the odbc documentation: odbc documentation was update by me and splited for better: * Overall odbc related: http://gambaswiki.org/wiki/doc/odbc * ODBC specific like the Mysql howto (WIP): http://gambaswiki.org/wiki/howto/odbcdatabase * notes in connection class doc:

Re: [Gambas-user] Gambas-user Digest, Vol 132, Issue 29

2017-05-23 Thread Dimitris Anogiatis
Does the same behavior occur with a wired keyboard (not your wireless Logitech K330)? On Tue, May 16, 2017 at 3:48 AM, Glaucio Araujo wrote: > Hi, Jussi > > > My Xorg.0.log is in ~/.local/share/xorg/ > > Log attached. > > My Xinput: > > > gda@acer:~$ xinput list >

Re: [Gambas-user] ​ Re: Keyboard locked -- insisting one more time

2017-05-23 Thread Dimitris Anogiatis
Ok.. Gambas3 run as root? Not a good idea. I realize it's a much needed workaround but not the recommended one. I would go with what Cris suggested. I've run Gambas3 3.9.2 on a Virtualbox VM of Ubuntu Budgie 17.04 and as a normal user I've never had problems with the keyboard locking. Is there

Re: [Gambas-user] Split: misleading Wiki

2017-05-23 Thread Gianluigi
A variant of the previous suggestions, to ignored (5) voids :-) Public Sub Main() Dim ss As String[] Dim s As String ss = Split("hello#12345", "#") For Each s In ss If Not IsNull(s) Then Print s; Next End Regards Gianluigi 2017-05-23 8:38 GMT+02:00 Fabien Bodard