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

2013-12-15 Thread //SCLPL/ Sudeep Damodar
Hi all How to use Type in gambas.my VB Code is given below Private Type coordinates XVal As Double YVal As Double laseron As String mode As String End Type When im compile i got error AS is missing ,if i put AS its gets some other error,so i have to know what is Type syntax in Ga

Re: [Gambas-user] gb.logging API change

2013-12-15 Thread Bruce
On Mon, 2013-12-16 at 01:14 -0200, Sebastian Kulesz wrote: > I just commited an update to the gb.logging component. Please note that a > call to Logger.Begin() is no longer necessary and will fail. The log is > automatically opened for writing when creating the logger. > > A recent change, too, is

[Gambas-user] gb.db Connections questions

2013-12-15 Thread Bruce
Fiddling around under the hood Is there any hidden reason why Connections is readonly? Is there any reason for it not having a Count property? The reason being, I am trying to get rid of my Application override/inheritance problem from this morning. I have run into an issue where a) we con

[Gambas-user] gb.logging API change

2013-12-15 Thread Sebastian Kulesz
I just commited an update to the gb.logging component. Please note that a call to Logger.Begin() is no longer necessary and will fail. The log is automatically opened for writing when creating the logger. A recent change, too, is the ability to use the component without creating a Logger instance.

Re: [Gambas-user] stock icons

2013-12-15 Thread Benoît Minisini
Le 16/12/2013 02:56, Ian Haywood a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A user of our program is getting this error. > > 16/12/2013 10:29:11 [ERROR] Invalid object > 16/12/2013 10:29:11 [ERROR] _DefaultStock.LoadImage.14 > 16/12/2013 10:29:11 [ERROR] Stock._get.507 > > the

[Gambas-user] stock icons

2013-12-15 Thread Ian Haywood
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A user of our program is getting this error. 16/12/2013 10:29:11 [ERROR] Invalid object 16/12/2013 10:29:11 [ERROR] _DefaultStock.LoadImage.14 16/12/2013 10:29:11 [ERROR] Stock._get.507 the offending line of code is this: If Message.warning(smsg, "Y

Re: [Gambas-user] Overriding native classess

2013-12-15 Thread Bruce
On Mon, 2013-12-16 at 00:49 +0100, Benoît Minisini wrote: > Le 16/12/2013 00:36, Bruce a écrit : > > I've got myself in a real mess with this one. :-( > > > > I have a class in a local ("third-party") component that inherits the > > native Application class. It provides some generic setup stuff, da

Re: [Gambas-user] sdl

2013-12-15 Thread Benoît Minisini
Le 15/12/2013 22:57, Shane a écrit : > sorry wrong one try this > > On 15/12/13 22:53, Benoît Minisini wrote: >> Le 15/12/2013 07:06, Shane a écrit : >>> i did a small program >> That program does not use SDL at all. Please provide a project that >> shows your problem! >> > OK, the bug should be f

Re: [Gambas-user] Overriding native classess

2013-12-15 Thread Benoît Minisini
Le 16/12/2013 00:36, Bruce a écrit : > I've got myself in a real mess with this one. :-( > > I have a class in a local ("third-party") component that inherits the > native Application class. It provides some generic setup stuff, database > connectivity across networks and some basic security. It wo

[Gambas-user] Overriding native classess

2013-12-15 Thread Bruce
I've got myself in a real mess with this one. :-( I have a class in a local ("third-party") component that inherits the native Application class. It provides some generic setup stuff, database connectivity across networks and some basic security. It works fine and has done so for a few years. Now

Re: [Gambas-user] sdl

2013-12-15 Thread Shane
sorry wrong one try this On 15/12/13 22:53, Benoît Minisini wrote: Le 15/12/2013 07:06, Shane a écrit : i did a small program That program does not use SDL at all. Please provide a project that shows your problem! SDLtest-0.0.1.tar.gz Description: application/gzip

Re: [Gambas-user] SteamOS and GAMBAS

2013-12-15 Thread Kevin Fishburne
On 12/14/2013 09:07 PM, PICCORO McKAY Lenz wrote: > i said before: we always behind of "mocosoft guiindows" shadows.. with > this king of people... > > ...so if debian has a SDL system lib, its NONSENSE include another SDL > inside program.. Perhaps I should update my sig to say, "I don't use Wind

Re: [Gambas-user] SteamOS and GAMBAS

2013-12-15 Thread Kevin Fishburne
On 12/14/2013 06:21 PM, Rob Kudla wrote: > On 12/14/2013 04:50 PM, Kevin Fishburne wrote: >> SteamOS is Valve's attempt to circumvent the walled >> gardens that are Microsoft Windows and Apple iOS/OSX and allow the >> digital distribution of their games though > ...their own walled garden. > > I th

Re: [Gambas-user] App launch icons on Ubuntu

2013-12-15 Thread Johny Provoost
op 15-12-13 18:18, John Rose schreef: > Using Gambas 3.5.1, I'm not sure how to create an launcher icon for a > Gambas app. I thought that I had to add the icon's file to the Data > entry using the New>Image menu entry. After that I used to do something > else, which I've now forgotten. I also had

Re: [Gambas-user] Writing a text file from the contents of a text area

2013-12-15 Thread Tobias Boege
On Sun, 15 Dec 2013, John Rose wrote: > Bill, > > The textarea control (i.e. as you see it on the form) has a number > of lines. But I'm also interested in an example for a textarea string > having a "number of lines" (i.e. it > contains \n escape characters). Also, I'm interested in an example w

Re: [Gambas-user] Writing a text file from the contents of a text area

2013-12-15 Thread Ricardo Díaz Martín
Bill, take a look to gambas documentation for the easy way to save a string to a text file. http://gambasdoc.org/help/comp/gb/file/save?v3 Regards, Ricardo Diaz 2013/12/15 John Rose > Bill, > > The textarea control (i.e. as you see it on the form) has a number > of lines. But I'm also interes

[Gambas-user] App launch icons on Ubuntu

2013-12-15 Thread John Rose
Using Gambas 3.5.1, I'm not sure how to create an launcher icon for a Gambas app. I thought that I had to add the icon's file to the Data entry using the New>Image menu entry. After that I used to do something else, which I've now forgotten. I also had the feeling that the icon's filename must

Re: [Gambas-user] Gambas3 crash

2013-12-15 Thread Benoît Minisini
Le 10/12/2013 20:15, Pino Zollo a écrit : > While adding a component...in the process of converting a Gambas2 program > > Gambas3 crashes ...see the attached image > > > Thanks > > Pino > Can you send me the full Gambas 2 project? -- Benoît Minisini -

Re: [Gambas-user] sdl

2013-12-15 Thread Benoît Minisini
Le 15/12/2013 07:06, Shane a écrit : > i did a small program That program does not use SDL at all. Please provide a project that shows your problem! -- Benoît Minisini -- Rapidly troubleshoot problems before they affec

[Gambas-user] Writing a text file from the contents of a text area

2013-12-15 Thread John Rose
Bill, The textarea control (i.e. as you see it on the form) has a number of lines. But I'm also interested in an example for a textarea string having a "number of lines" (i.e. it contains \n escape characters). Also, I'm interested in an example where a string is repeatedly presented (with diffe