[Gambas-user] mp3 do not play

2012-03-06 Thread Алексей Беспалов
Hi! I try Music.Load("file.mp3") Music.Play() and i get error "Module format not recognized". OGG ply successfully. What is problem with MP3? I should have installed something? -- С уважением Алексей. --

Re: [Gambas-user] Gambas has Gosub now!

2012-03-06 Thread Kevin Fishburne
On 03/05/2012 09:00 PM, Benoît Minisini wrote: > Le 06/03/2012 02:11, Emil Lenngren a écrit : >> Yeah, if there is no stack relocation, I can assume that a lot of pointers >> into the stack will not change during other external calls, which should >> make code more optimized. >> >> Since local vari

Re: [Gambas-user] Get Output of Shell or Exec in TextArea.

2012-03-06 Thread Willy Raets
On di, 2012-03-06 at 14:14 -0800, Bill-Lancaster wrote: > Good point, I'm using 3.0 and it works fine, I think that with Gambas2, I was > using something like: > > Public hProcess as process > > hProcess=exec[.] for read > > sub hProcess_read > . > end > > hope this helps, if not, I'll

[Gambas-user] FileBrowser

2012-03-06 Thread abbat
I need example of filebrowser. Thanks -- View this message in context: http://old.nabble.com/FileBrowser-tp33454488p33454488.html Sent from the gambas-user mailing list archive at Nabble.com. -- Keep Your Developer Sk

Re: [Gambas-user] Get Output of Shell or Exec in TextArea.

2012-03-06 Thread Bill-Lancaster
Good point, I'm using 3.0 and it works fine, I think that with Gambas2, I was using something like: Public hProcess as process hProcess=exec[.] for read sub hProcess_read . end hope this helps, if not, I'll see if I have some Gambas 2 code Bill -- View this message in context: http:

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Willy Raets
On di, 2012-03-06 at 22:16 +0200, Jussi Lahtinen wrote: > Even better! > > Shell "xdg-user-dir DESKTOP" To sPathOfDesktop Jackpot :-) Wonder on how many distros it will run? A matter of testing I guess. Thanks a lot Jussi, Really helpful Willy --

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Willy Raets
On di, 2012-03-06 at 20:18 +, Sebi wrote: > Maybe you can use this [0], from the gb.desktop component. I'm not sure if > it works with other desktop directories as you need. > > [0] http://gambasdoc.org/help/comp/gb.desktop/desktop/path?v3 Seems like a great option for Gambas3, but doesn't

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Sebi
Maybe you can use this [0], from the gb.desktop component. I'm not sure if it works with other desktop directories as you need. [0] http://gambasdoc.org/help/comp/gb.desktop/desktop/path?v3 -Original Message- From: Jussi Lahtinen Date: Tue, 6 Mar 2012 21:55:04 To: ; mailing list for g

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Jussi Lahtinen
Even better! Shell "xdg-user-dir DESKTOP" To sPathOfDesktop Maybe Benoit could add this natively to User class? Jussi On Tue, Mar 6, 2012 at 21:55, Jussi Lahtinen wrote: > In Ubuntu desktop path is in ~/.config/user-dirs.dirs > > Jussi > > > > > > On Tue, Mar 6, 2012 at 21:51, Willy Raets

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Jussi Lahtinen
In Ubuntu desktop path is in ~/.config/user-dirs.dirs Jussi On Tue, Mar 6, 2012 at 21:51, Willy Raets wrote: > On di, 2012-03-06 at 20:34 +0100, Matti wrote: > > Willy, > > > > The easiest solution to store some infos would be to use gb.settings. > > Then you don't have to care about directo

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Willy Raets
On di, 2012-03-06 at 20:34 +0100, Matti wrote: > Willy, > > The easiest solution to store some infos would be to use gb.settings. > Then you don't have to care about directories at all, gambas does it for you, > and you can read/write the infos very easily. > See http://gambasdoc.org/help/comp/gb

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Matti
Willy, The easiest solution to store some infos would be to use gb.settings. Then you don't have to care about directories at all, gambas does it for you, and you can read/write the infos very easily. See http://gambasdoc.org/help/comp/gb.settings But I don't know what you store in your SystemInf

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Willy Raets
Rolf, On my system I installed English OS with Dutch language. No problem "~/Desktop" is there. On a system of a friend of mine he installed Dutch OS with Dutch language. And that seems to be the difference. The is NO "~/Desktop", instead ls at command returns "~/Bureaublad" (Dutch for desktop)

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Rolf-Werner Eilert
Willy - are you really sure the path name is translated, not only its caption within the GUI? I think you don't need to worry... On my German system, it would be "Arbeitsfläche", and there is still a ~/Desktop (with k). Rolf Am 06.03.2012 15:48, schrieb Willy Raets: > Hi all, > > I'm have th

Re: [Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Rolf Schmidt
Hi Willy > If Exist(Use.Home& "/Desktop) then > sPath = User.Home& "/Desktop/SystemInfo.txt" > Endif > > Now it turns out that this only works on systems with English language. > Other systems translate "Desktop" into local language!! > Like for Dutch it will be "Bureaublad" instead of "Desk

[Gambas-user] Probem analysing Desktop path

2012-03-06 Thread Willy Raets
Hi all, I'm have this in my code: If Exist(Use.Home & "/Desktop) then sPath = User.Home & "/Desktop/SystemInfo.txt" Endif Now it turns out that this only works on systems with English language. Other systems translate "Desktop" into local language!! Like for Dutch it will be "Bureaublad" inst

[Gambas-user] [Fwd: Re: Gambas packages version]

2012-03-06 Thread John Rose
Please see below. Forwarded Message From: Kende Krisztián To: John Rose Subject: Re: Gambas packages version Date: Tue, 6 Mar 2012 11:07:59 +0100 It seems to me that this is a bug. It would be worthwhile to report on Benoît. The Gambas 3.0.90 version did you create the package

Re: [Gambas-user] Um, any reason for this?

2012-03-06 Thread Bruce Bruen
On Tue, 2012-03-06 at 11:44 +0100, Benoît Minisini wrote: > Le 06/03/2012 10:47, Bruce Bruen a écrit : > > "" symbol lookup error: /usr/lib/libQtSql.so.4: undefined > > symbol: _ZN14QObjectPrivateD2Ev > > > > All new database using apps exit with code 127 and that message > > > > Um, using post

Re: [Gambas-user] Um, any reason for this?

2012-03-06 Thread Benoît Minisini
Le 06/03/2012 10:47, Bruce Bruen a écrit : > "" symbol lookup error: /usr/lib/libQtSql.so.4: undefined > symbol: _ZN14QObjectPrivateD2Ev > > All new database using apps exit with code 127 and that message > > Um, using postgresql in these apps. > Er, not using any gb.dbform libraries. > > > ???

[Gambas-user] Um, any reason for this?

2012-03-06 Thread Bruce Bruen
"" symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivateD2Ev All new database using apps exit with code 127 and that message Um, using postgresql in these apps. Er, not using any gb.dbform libraries. ? I'm on r4534 file /usr/lib/libQtSql.so.4 /usr/lib/lib

[Gambas-user] Bug? Gambas3, Menu editor

2012-03-06 Thread Ivan Kern
Hello Benoît, You can see this problem if you run the application. Once with QT4 and other times with GTK components. See attachment for screenshot. Regards, Ivan Kern Menu_GTK.pdf Description: Adobe PDF document Menu_QT4.pdf Description: Adobe PDF document --

Re: [Gambas-user] Bug? Gambas3, Menu editor

2012-03-06 Thread Ivan Kern
Hello Benoît, You can see this problem if you run the application. Once with QT4 and other times with GTK components. See attachment for screenshot. Regards, Ivan Kern -Ursprüngliche Nachricht- Von: Benoît Minisini [mailto:gam...@users.sourceforge.net] Gesendet: Dienstag, 6. März 2012