[Gambas-user] Ever crashing Gambas 3.7.1

2015-06-21 Thread M. Cs.
Another bug:
gb.qt4: warning: calling the event loop during a keyboard event handler is
ignored
gbx3: warning: circular references detected:

It comes up for nearly any action, be it menu or keypress. The application
closes without error message.

Csaba
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Window's close button and exiting

2015-06-20 Thread M. Cs.
I didn't code in Gambas for a while. I found that when I close the
application using window's close button, the application closes, but gbr3
process remains. How could I quit this as well?
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridLayout like component needed

2015-01-17 Thread M. Cs.
Hi! I would like to know whether SWT's GridLayout could be implemented in
Gambas. I see VPanel and HPanels but it seems to me that it isn't possible
to say how many rows/columns should be inside such a container, and it
makes them quite clumsy. E.g if I need 4 radioButtons in 2x2 layout and if
I want the container to have ability to expand I don't see the solution.
Thanks!

Csaba
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas Future or what kind of Gambas we want.

2013-11-01 Thread M. Cs.
Why, at least if it would be possible to implement multi-threading...


2013/11/1 Kevin Fishburne 

> On 11/01/2013 12:19 PM, PICCORO McKAY Lenz wrote:
> > well, theres some point that end in a double-edged sword
> >
> > there's sense to ported to BSD, maebo, firefox-os,but if we make
> > software for non-free
> > systems, i see that most free projects in net the binaries for OSX or
> > Guindows are more
> > downloaded rather than the binaries for FOSS like linux, maebo, BSD,
> > etc etc, so then this its
> > a double-edged sword
> >
> > those that makes free software for non-free systems are hipocrit due
> > made more relatiable these non-free systems
> >
> > think about it: oh i have gambas for guindows, so why installing
> > complete os linux? nahhh
> > then install "w2008R2 super dupper edition ultimate corporate with all
> stuff"
> > and that's all .. no funny mens
> >
>
> While that's true, it depends on your perspective, or, your intentions
> as a GAMBAS developer. Most developers, especially in the open source
> world, just want their application to be the best possible and to be
> accessible to and used by the most people possible. People like RMS on
> the other hand allow philosophy and politics to affect the landscape,
> sometimes to their own detriment. If you get too "religious" about a
> project you can end up shooting yourself in the face by accident.
>
> Most users aren't technically savvy enough to migrate their OS to Linux
> or set up a dual-boot scenario. They don't understand or care about the
> open source philosophy, and while it's important to me, I don't think it
> NEEDS to be important to other people. Everyone uses computers now;
> kids, grandmas, police, firemen, lumberjacks, whatever. I don't think
> they all need to be worried about changing OS's because a handful of
> programs they want to use only work on Linux.
>
> Linux will have its day on the desktop; it will have it's appropriate
> market share (33% to be fair at this point), but I don't think it will
> be from application platform exclusivity.
>
> --
> Kevin Fishburne
> Eight Virtues
> www: http://sales.eightvirtues.com
> e-mail: sa...@eightvirtues.com
> phone: (770) 853-6271
>
>
>
> --
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A simple server question

2013-09-27 Thread M. Cs.
It is allright now. Yes I do write and read to the same socket: I have an
InputStream and an OutputStream of a socket object, at least in Java you
have, and I found it also viable in Gambas.

Csaba


2013/9/27 Jussi Lahtinen 

> You read and write to same socket?
> It has been long since I have done any network programming, but that seems
> bit odd.
>
> Jussi
>
>
> On Fri, Sep 27, 2013 at 5:01 PM, M. Cs.  wrote:
>
> > Hello, I am trying to write a Gambas frontend for a Java server. I have
> > written a short class for that purpose:
> >
> > Static App As SSocket
> > Public messenger As Socket
> > Public Sub _new()
> >  messenger = New Socket As "socket"
> >  messenger.Connect("localhost", )
> > End
> >
> > Public Sub socket_Read()
> >   Dim sCad As String
> >   Read #messenger, sCad, Lof(messenger)
> >   FMain.myscreen.Text = sCad
> > End
> >
> > Public Sub Send(s As String)
> > Write #messenger, s, Len(s)
> > Flush
> > End
> >
> > While it works from Java to Gambas (it displays the incoming messages) I
> am
> > not able to send the message towards Java. I try to do that with a
> button's
> > click, which then invokes the Send(s As String) method. What am I doing
> > wrong?
> >
> > Thanks!
> >
> > Csaba
> >
> >
> --
> > October Webinars: Code for Performance
> > Free Intel webinars can help you accelerate application performance.
> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> > from
> > the latest Intel processors and coprocessors. See abstracts and register
> >
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A simple server question

2013-09-27 Thread M. Cs.
Hello, I am trying to write a Gambas frontend for a Java server. I have
written a short class for that purpose:

Static App As SSocket
Public messenger As Socket
Public Sub _new()
 messenger = New Socket As "socket"
 messenger.Connect("localhost", )
End

Public Sub socket_Read()
  Dim sCad As String
  Read #messenger, sCad, Lof(messenger)
  FMain.myscreen.Text = sCad
End

Public Sub Send(s As String)
Write #messenger, s, Len(s)
Flush
End

While it works from Java to Gambas (it displays the incoming messages) I am
not able to send the message towards Java. I try to do that with a button's
click, which then invokes the Send(s As String) method. What am I doing
wrong?

Thanks!

Csaba
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Language

2013-05-05 Thread M. Cs.
Bom dia!

You can do it only switching the system's language locale to a sort of
English, e.g. US.

Csaba

2013/5/5 Rodrigo Maia 

> I am brazilian guy, people's i one question for you
>
> My gambas language is Portugueze Brazilian how switch for English
> American???
>
>
>
> --
> -
> Rodrigo Maia - TI Tecnico
> email: rod.pm...@gmail.com
> msn: rodrigo.pm...@hotmail.com
> skype: rodpmaia
> twitter: @rodrigomaia
> linked in: Rodrigo Maia
> facebook: #ropdmaia
> fones: 88188989 - 81533119 - 84893365
> -
>
>
> --
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MySQL language problems

2013-02-26 Thread M. Cs.
What kind of syntax are you using to communicate with the database? Give us
some example, please.

Csaba

2013/2/26 Jorge Carrión 

> I have a serious problem with mysql server. I'm developing a proyect in
> gambas 3.4 on linuxmint 13 maya against a Mysql 5.0.96 server.
>
> All works fine but randomly all characters non english (á é í ñ, etc I'm
> spanish) are miss interpreted. You can work half hour with application
> without problem at all and suddenly all gridview lists an all fields are
> wrong.
>
> Reset de program and some times all runs fine again, some times wrong
> characters are recorded in database.
>
> The collate of Mysql is utf8-general-ci and the charset is ut8-general-ci
> too.
>
> I can't isolate the error...
>
> Any suggest?
>
> Regards
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Dir() function is not reliable

2013-02-11 Thread M. Cs.
Hi Benoit, I think I found the error:
I was using Dir(DirView1.Current, *"*.*"*, gb.File).Sort() instead of
Dir(DirView1.Current,* "*"*, gb.File).Sort().
Although I don't understand why "*.*" wasn't correct.

Csaba
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Dir() function is not reliable

2013-02-10 Thread M. Cs.
Hi Benoit!
I am using Gambas3 v. 3.3.4 from Kendek's PPA. I do expect from the Dir()
function to to list the content of a folder and to put the hits into a
GridView. In most of the cases it works, but then I am running into a
situation where I try to open a folder, and list its content, it won't
found any files, although I know there are hundreds of files inside. Is
Dir() able to recognize files without proper extensions?

Csaba

2013/2/10 Benoît Minisini 

> Le 10/02/2013 18:34, Benoît Minisini a écrit :
> > Le 10/02/2013 17:42, M. Cs. a écrit :
> >> Hi I am working on a batch renamer called Nevezz. The most serious
> >> issue I
> >> have is that it is not listing the content of a folder properly.
> >> The problem is situated at method DirView1_Click(). There are no runtime
> >> errors, yet the content is sometimes not listed properly. Thanks for
> your
> >> help!
> >>
> >> Csaba
> >>
> >
> > Please give more details about what you expect and what you get exactly.
> > Your code is too hard to read being not correctly indented...
> >
>
> And, *of course*, tell us which Gambas version you use...
>
> --
> Benoît Minisini
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Need Gambas3 Made Apps.

2013-02-05 Thread M. Cs.
Hi John,
I can offer you GamCat: http://sourceforge.net/projects/gamcat/
This is a versatile cataloging program written in Gambas3. It has a tons of
features.
I can offer you the Nevezz: http://sourceforge.net/projects/nevezz/
This is a lightweight batch file renamer written also in G3.
I have also a standalone Phonebook application, but I need to
internationalize it.

Csaba
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Shell command including string containing a quote

2013-01-24 Thread M. Cs.
I guess you will need Chr$(39) as ASCII code for ', or if you need double
quote just use  Chr$(34).


2013/1/24 John Rose 

> I have written a GUI to execute a command which involves selecting
> filenames (e.g. sCombinedPath below) to be used in a Shell command (as part
> of a Process). It works OK generally. However, if any filename includes a
> quote, it goes wrong.
>
> sCommand = "mplex -f 8 -o " & "'" & sCombinedPath & "' " &
> "'" & sVideoPath & "' " &
> "'" & sAudioPath & "' " &
> ">/dev/null 2>'" & sLogFilename & "'"
>   Print sCommand
>   hProcess = Shell sCommand
>
> I read about using the Shell$ command to create a quoted string but I
> couldn't make that work. I've also tried a Replace$ command to replace a
> quote by a backslash followed by a quote. I couldn't get that to work.
>
> Any ideas please?
>
> Project attached.
>
> --
> Regards,
> John
>
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Len function not correct?

2012-12-31 Thread M. Cs.
Use String.Len() instead if you plan to use non ASCII characters. The é is
theproblem for Len().

2012/12/31 Johny Provoost 

> Why is Len("Andre") = 5, and Len("André") = 6?
> The same for words with ë, ú, ê ..
> Is there's a particular reason for that, or is it a bug?
>
> Working in Ubuntu 12.04
> QT4
> Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the
> correct number)
>
> Happy 2013
> Johny
>
>
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Possible error with ComboBoxes

2012-12-29 Thread M. Cs.
Public codepage As ComboBox
Public felulet As Form
...
Public Sub encoder_Click()
Dim closer As Button
Dim ext As Label
felulet = New Form
felulet.Width = 240
felulet.Height = 150
felulet.Border = False
ext = New Label(felulet)
ext.X = 20
ext.Y = 20
ext.Width = 220
ext.Height = 40
ext.Text = ("Select source encoding:")

codepage = New ComboBox(felulet) As "Cody"
codepage.List = ["iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4",
"iso8859-5", "iso8859-6", "iso8859-8", "iso8859-9", "iso8859-15"]
codepage.Width = 200
codepage.Height = 35
codepage.ReadOnly = True
codepage.X = 20
codepage.y = 60


closer = New Button(felulet) As "Shutter"
closer.Width = 100
closer.X = 120
closer.Y = 120
closer.Text = ("Close")
felulet.ShowModal
End

Public Sub Cody_Change()
Dim faj As File
Message("itt")
  faj = Open User.Home & "/.nevezz/encoding" For Write Create
  Print #faj, codepage.Text
  Close (faj)
End

Public Sub Shutter_Click()
felulet.Delete
End


The dinamically created button "closer" is reacting with the
Shutter_Click() event, while on "codepage"-s change the event Cody_Change()
isn't raised.

Csaba
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Testing a command-line application

2012-12-27 Thread M. Cs.
I need to know how could I test run my command-line application without
having installed it.

Thanks!
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Writing applications with both GUI and command-line

2012-12-27 Thread M. Cs.
I've written a new program, which uses GUI. How can I add options to run it
with command-line only mode if needed (with parameters)?

Thanks!

Csaba
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Lost launchers

2012-12-19 Thread M. Cs.
Thanks!

2012/12/19 Benoît Minisini 

> Le 19/12/2012 22:20, M. Cs. a écrit :
> > This is a small stand-alone phonebook.
> >
>
> You must fill the "Categories" in the packager wizard. This is what is
> used by some desktop to decide where the launcher should go. Others use
> the "menu entry".
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Lost launchers

2012-12-19 Thread M. Cs.
This is a small stand-alone phonebook.

2012/12/19 Benoît Minisini 

> Le 19/12/2012 22:03, M. Cs. a écrit :
> > Hello Benoit,
> > I have a long standing problem with Gambas-based program launchers. When
> I
> > create an installation's package, I am questioned where to put the
> > application and I use to set it regularly for each distribution
> > respectively. Yet, regardless to what application group I choose, and
> also
> > regardless to the DE or the distro, I am always finding my applications
> in
> > either Lost & Found submenu (KDE) or in Others (Cinnamon etc.)
> > Is this the normal behavior?
> >
> > Csaba
> >
>
> Can you send me a package of one of your application for my Ubuntu? I
> will see where the launcher goes.
>
> --
> Benoît Minisini
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


telefonx_2.0.10-1_all.deb
Description: application/debian-package
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to use Stat().Perm

2012-12-19 Thread M. Cs.
Hello,
I simply don't understand the new function:
How can I decide of a certain file whether it is writable or not?
How can I decide of a certain folder whether it is writable or not?
What are the proper return values?

Please do the documentation if you add some news to the project!

Thanks.

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Another possible bug with GridView

2012-12-18 Thread M. Cs.
I've discovered that there cannot be mixed usage of bold and non-bold fonts
in the same column of a gridView at the same time. Is this correct? I mean
like:

text1
*text2*
*text3*
text4

Can this be enabled somehow?

Thanks!

Csaba
2012/12/18 M. Cs. 

> Public Sub filer_Data(i As Integer, j As Integer)
> Dim szin As String
> Select Case j
> Case 0
> filer.Data.Text = content[i]
> Case 1
> filer.Data.Text = preview[i]
> If scheck.Value = True Then
>   szin = SecurityCheck(preview[i], i)
>   If szin = "green" Then filer.Data.Background = Color.White
>   If szin = "yellow" Then filer.Data.Background = Color.Yellow
>   If szin = "red" Then filer.Data.Background = Color.Red
> Endif
> If bolder = True Then
>   filer.Data.Font.Bold = True
> Else
>   filer.Data.Font.Bold = False
> Endif
> End Select
> End
>
> This is the Data event which fixes the issues as you told me. Yet there is
> another problem. As you see, I've tried to set the cell's Font property to
> bold (if this is a directory and not a file, just to understand the reason
> why). Bolder is a global boolean which is set in another sub. Why do I have
> only normal font thickness with both bolder values?
>
> Csaba
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Another possible bug with GridView

2012-12-18 Thread M. Cs.
Public Sub filer_Data(i As Integer, j As Integer)
Dim szin As String
Select Case j
Case 0
filer.Data.Text = content[i]
Case 1
filer.Data.Text = preview[i]
If scheck.Value = True Then
  szin = SecurityCheck(preview[i], i)
  If szin = "green" Then filer.Data.Background = Color.White
  If szin = "yellow" Then filer.Data.Background = Color.Yellow
  If szin = "red" Then filer.Data.Background = Color.Red
Endif
If bolder = True Then
  filer.Data.Font.Bold = True
Else
  filer.Data.Font.Bold = False
Endif
End Select
End

This is the Data event which fixes the issues as you told me. Yet there is
another problem. As you see, I've tried to set the cell's Font property to
bold (if this is a directory and not a file, just to understand the reason
why). Bolder is a global boolean which is set in another sub. Why do I have
only normal font thickness with both bolder values?

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Another possible bug with GridView

2012-12-18 Thread M. Cs.
  If clr = "green" Then filer[i, 1].Background = Color.Green
  If clr = "yellow" Then filer[i, 1].Background = Color.Yellow
  If clr = "red" Then filer[i, 1].Background = Color.Red

This code clears the content of filer[i.1].Text instead of painting the
background into green, yellow or red. The filer[i,1] column is fed through
another string array with Data event. I think this fact should not affect
the content of the cell, since the array is intact.

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request: Component hunt disabler

2012-12-18 Thread M. Cs.
In fact I cannot catch the error, although it occurs randomly. I've tried
several times to create screenshots, but at that moment the error didn't
come up.

Csaba

2012/12/18 Benoît Minisini 

> Le 18/12/2012 01:01, Adrien Prokopowicz a écrit :
> >
> > Hi Benoît,
> >
> > I have the same problem since a few weeks now, and I just understood what
> > it was.
> > Actually, when I get a compilation warning, the IDE automatically jumps
> to
> > the position of the warning, and makes these "messy jumps".
> > I know that I should write my code so that I won't have any warning, but
> > this is really annoying.
> >
> >
> > Regards,
> >
>
> Warnings can be disabled in the project property dialog if they are
> unwanted.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Setting all RadioButton's values to false

2012-12-17 Thread M. Cs.
Is there a possibility to set all the RadioButton's values to false?

E.G:
RadioButton1.Value = False
RadioButton2.Value = False
RadioButton3.Value = False
RadioButton4.Value = False
RadioButton5.Value = False
RadioButton6.Value = False

Will still leave the last clicked RadioButton's value True.

Thanks!

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request: Component hunt disabler

2012-12-17 Thread M. Cs.
Why, I could not reproduce the error!

2012/12/16 Benoît Minisini 

> Le 16/12/2012 19:36, M. Cs. a écrit :
> > Hello Benoit,
> > I would like to ask you to set a default behavior for the Gambas3 IDE:
> >
> > When I do some changes either in code editor in let say Public Sub
> MyAct(),
> > or in form designer on a component Combobox1 after hitting F5 and
> checking
> > the difference, the IDE drops me either to a random part of code or to
> > FMain's properties. This is very annoying and can take quite a lot of
> time
> > to search for the code I've just edited or to find a component in
> Hierarchy
> > tree. Can this kind of behavior be healed. I would like to continue the
> > code writing/ designing right there where I was before the Compile&Run.
> >
> > Thanks!
> >
> > Csaba
>
> Sorry, I don't understand: if I start or stop a program, the current
> editor and the current cursor do not change.
>
> Can you explain differently, eventually with screenshots?
>
> --
> Benoît Minisini
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Feature request: Component hunt disabler

2012-12-16 Thread M. Cs.
Hello Benoit,
I would like to ask you to set a default behavior for the Gambas3 IDE:

When I do some changes either in code editor in let say Public Sub MyAct(),
or in form designer on a component Combobox1 after hitting F5 and checking
the difference, the IDE drops me either to a random part of code or to
FMain's properties. This is very annoying and can take quite a lot of time
to search for the code I've just edited or to find a component in Hierarchy
tree. Can this kind of behavior be healed. I would like to continue the
code writing/ designing right there where I was before the Compile&Run.

Thanks!

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Expander cannot be disabled.

2012-12-16 Thread M. Cs.
I think this may be a bug:
I have the Expander initially disabled by IDE, yet during runtime it
accepts mouse clicks.

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Expander conditional Show

2012-12-16 Thread M. Cs.
Hello!
I am curious to know whether there are possibilities to make Expander's
expanding conditional.
There are defined event _Show(), which is happening between the mouse's
click and Expander's expand, and similarly the event _Hide().
But none of them offer possibility to intercept the opening/closure
conditionaly,

E.G: I would like to let Expander expand with click if exactly one item of
a list is selected. How to solve this?

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Installing KDE on Cinnamon

2012-12-01 Thread M. Cs.
Hi,
I've installed KDE on LinuxMint 14 64-bit Cinnamon, since the Cinnamon
desktop is quite buggy. The Gambas KDE applications are still looking
Gnomish. I don't know which are the missing KDE libraries, so I need your
help. Thanks!

Csaba
--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Stretchable GridView

2012-11-30 Thread M. Cs.
I have a GridView with constant number of rows.The rows are painted with
different colors than the GUI's background. How it is possible to set the
grid view to loose the white area on the bottom of the gridView? The Form
is resizeable and I would like to have gridView's area filled with the 9
rows regardless of the Form's state.

Thanks!
<>--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to invoke warnings in Gambas3 IDE?

2012-11-30 Thread M. Cs.
Hello!
I would like to cleanup the project from the unused variables. I see
Warnings in IDE sometimes, but I didn't find the way how to invoke this
function.

Csaba
--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request

2012-11-26 Thread M. Cs.
Exactly that. It is easier to use  shorter files for translation. Thank you!

Csaba

2012/11/26 Benoît Minisini 

> Le 26/11/2012 11:50, M. Cs. a écrit :
> > Hello Benoit!
> > It's easy: If I export the translation to a .po file, that will contain
> all
> > the strings, so the person translating the strings needs to find the
> lines
> > with "" strings, which isn't very comfortable. If it would be possible to
> > implement an option to export only the items with empty strings could
> > improve the user's experience a lot. And when the translation is over,
> the
> > developer could just merge the translated part with the new strings.
> > Now, when I am doing the translation I need to copy-paste the raw text
> to a
> > text editor and to send the sentences to the translators. It already
> > happened that she worked on Windows so I got back translation with
> wrongly
> > encoded text, and I had to correct the characters manually. It is
> sometimes
> > a pain!
> >
> > Csaba
> >
>
> Do you mean that the translator does not do the translation directly in
> Gambas, but directly in the text *.po file? Is it that?
>
> Anyway I will add a filter to the exportation dialog.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request

2012-11-26 Thread M. Cs.
Hello Benoit!
It's easy: If I export the translation to a .po file, that will contain all
the strings, so the person translating the strings needs to find the lines
with "" strings, which isn't very comfortable. If it would be possible to
implement an option to export only the items with empty strings could
improve the user's experience a lot. And when the translation is over, the
developer could just merge the translated part with the new strings.
Now, when I am doing the translation I need to copy-paste the raw text to a
text editor and to send the sentences to the translators. It already
happened that she worked on Windows so I got back translation with wrongly
encoded text, and I had to correct the characters manually. It is sometimes
a pain!

Csaba

2012/11/26 Benoît Minisini 

> Le 25/11/2012 11:40, M. Cs. a écrit :
> > Hello Benoit,
> > this is a repeat of a former request:
> > Would you be so kind to add an option to the Translations's GUI to export
> > only the non-translated strings?
> > I have over 550 strings now in my application and it is quite difficult
> to
> > handle the translations, except if we could had a list of missing string
> as
> > an excerpt from the .po file.
> >
> > Thank you!
> >
> > Csaba
>
> I didn't remember that request: can you elaborate please? Why can't you
> use directly the translation GUI?
>
> --
> Benoît Minisini
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Feature request

2012-11-25 Thread M. Cs.
Hello Benoit,
this is a repeat of a former request:
Would you be so kind to add an option to the Translations's GUI to export
only the non-translated strings?
I have over 550 strings now in my application and it is quite difficult to
handle the translations, except if we could had a list of missing string as
an excerpt from the .po file.

Thank you!

Csaba
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fastest way to select/unselect all

2012-11-17 Thread M. Cs.
Thank you! That's what I've been looking for.

Csaba

2012/11/17 Jussi Lahtinen 

> Dim oo As Object
>
> For Each oo In scV.Children
>   If oo Is CheckBox Then
> oo.Value = iDesiredValue
>   Endif
> Next
>
>
> Do you need to use Tag like that?
> Maybe you could use it to identify that certain checkbox group?
> Like this:
>
> For Each oo In scV.Children
>   If oo Is CheckBox Then
> If oo.Tag = "CreatedCheckBoxes" Then
> oo.Value = iDesiredValue
> Endif
>   Endif
> Next
>
>
> I don't know how IDE implements groups, but maybe it is something you could
> look if this wasn't what you wanted.
>
>
> Jussi
>
>
>
>
>
>
> On Sat, Nov 17, 2012 at 1:32 PM, M. Cs.  wrote:
>
> > Private Sub AddItem(Ite As String)
> > Dim chB As CheckBox
> > chB = New CheckBox(scV) As "Nyomi"
> > chB.Text = Ite
> > chB.Tag = Ite
> > End
> >
> >
> > I have an array of checkboxes created with this procedure. I would like
> to
> > select / unselect all of them at once. How can I reach them?
> >
> > Csaba
> >
> >
> --
> > Monitor your physical, virtual and cloud infrastructure from a single
> > web console. Get in-depth insight into apps, servers, databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > Pricing starts from $795 for 25 servers or applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fastest way to select/unselect all

2012-11-17 Thread M. Cs.
Private Sub AddItem(Ite As String)
Dim chB As CheckBox
chB = New CheckBox(scV) As "Nyomi"
chB.Text = Ite
chB.Tag = Ite
End


I have an array of checkboxes created with this procedure. I would like to
select / unselect all of them at once. How can I reach them?

Csaba
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas 3 IDE doesn't come up

2012-11-14 Thread M. Cs.
What is your platform (distro)? I am currently using it on both Kubuntu
12.04 and Fedora 17 - without issues.

Csaba

2012/11/13 Rolf-Werner Eilert 

> When I type gambas3, the answer is
>
> ERROR: #27: Cannot load component 'gb.qt4':
> /usr/lib64/gambas3/gb.qt4.so: undefined symbol: GB
>
>
> What's going wrong here? I haven't had the Gambas3 IDE running for quite
> some while, so I don't know when this error occured.
>
> It's the version from the repos, maybe I should make my own one again?
>
> Rolf
>
>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora and mp3

2012-11-09 Thread M. Cs.
Thank you Fabian!
I've ported the musical part of my project from gb.sdl.sound to gb.media,
and for the first time ever, I can listen to mp3 songs on a RPM distro!

Csaba


2012/11/9 Fabien Bodard 

> is it already done ... it's gb.media
>
>
> 2012/11/9 M. Cs. 
>
> > Hello!
> > Did someone manage to play mp3 with Fedora 17 through Gambas3?
> > I just don't know why, but there's no sounds at all, even if there are no
> > errors shown. Thanks!
> >
> > Other question: is it possible to implement gstreamer instead of sdl and
> > sdl.sound?
> >
> > Csaba
> >
> >
> --
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_nov
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Fabien Bodard
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fedora and mp3

2012-11-09 Thread M. Cs.
Hello!
Did someone manage to play mp3 with Fedora 17 through Gambas3?
I just don't know why, but there's no sounds at all, even if there are no
errors shown. Thanks!

Other question: is it possible to implement gstreamer instead of sdl and
sdl.sound?

Csaba
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] LXDE

2012-10-20 Thread M. Cs.
Funny, but a year ago I've asked the same all question, and I'm facing with
the same problem again:
I've just installed Lubuntu 12.10 and the installed gambas3 application's
icon won't shown up in the menu. I've tried different icon themes, but no
use. Why this issue with LXDE?

Csaba
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread M. Cs.
Try to set the components to the gb.gtk rather than using gb.qt. It will
give you the old fashioned look. But beware! I'm not sure that gb.qt and
gb.gtk dependencies are 100% compatible! I found it better to use gb.qt
since it feels more stable.

Csaba

>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread M. Cs.
What does happen when you change the theme of GNOME? I think this may be
connected with the theme used, but I'm not the developer of the component.

Csaba

2012/9/5 rocko 

> Say what?
> Really?
> I prefer the old fashioned way, with the borders of the frame all
> around.
> Is there a way to change this?
>
> On Wed, 2012-09-05 at 21:21 +0200, M. Cs. wrote:
> > This is the correct look of the frames when using KDE, and probably with
> > the GNOME too. It isn't error.
> >
> > Csaba
> >
> > 2012/8/29 rocko 
> >
> > > Using Gambas 3.2.1
> > >
> > > The frame container is not displaying correctly.
> > > The sides of the border are fading about midway and are
> > > completely absent at the bottom.
> > > See attached screenshot.
> > >
> > > I thought this might be some new eye candy in the frame property,
> > > as this is the first time I've use Ganbas 3.2.1.
> > > My previous experience is with version 3.1.1.
> > > --
> > > rocko 
> > >
> > >
> > >
> --
> > > Live Security Virtual Conference
> > > Exclusive live event will cover all the ways today's security and
> > > threat landscape has changed and how IT managers can respond.
> Discussions
> > > will include endpoint security, mobile security and the latest in
> malware
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > >
> >
> --
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> --
> rocko 
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Scrollbars

2012-09-05 Thread M. Cs.
You can have a ScrollView component which is a container itself. You can
also have a ScrollBar which is shown unless you set the Visible property to
false. I have no problems maximizing the window: the ScrollBar is shown
properly.

Csaba

2012/9/5 rocko 

> If I put a scrollbar on a form, then run the app and maximized the
> window, shouldn't the scrollbar show??
>
> I currently have a scrollbar on a form and when I maximize the window
> the scrollbar does not appear and the bottom half of my window is
> blocked.
>
> Does the scrollbar need to be in a container??
> --
> rocko 
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Frame Borders not displaying correctly

2012-09-05 Thread M. Cs.
This is the correct look of the frames when using KDE, and probably with
the GNOME too. It isn't error.

Csaba

2012/8/29 rocko 

> Using Gambas 3.2.1
>
> The frame container is not displaying correctly.
> The sides of the border are fading about midway and are
> completely absent at the bottom.
> See attached screenshot.
>
> I thought this might be some new eye candy in the frame property,
> as this is the first time I've use Ganbas 3.2.1.
> My previous experience is with version 3.1.1.
> --
> rocko 
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Who use gb.report ? (to all gambas users)

2012-08-31 Thread M. Cs.
Hello Fabien!
I use it for printing tasks. I can cope with the settings, although they
aren't as natural for me. I think it would be great thing to have in the
help settings thoroughly explained for some typical tasks like: printing on
a specified paper size (chosen by user), and positioning with fixed
coordinates preferably in millimeters from the top left edge of the paper
with specified margins.
This floating concept can be great for some cases, but for an average user
my task is far more used.
The next task I will use gb.report will be printing on a custom sized paper
with text fields to be printed accurately on their positions measured by
hand. :-)


Greetings!

Csaba
2012/8/31 Ricardo Díaz Martín 

> You didn't attach infobook.db
>
>
>
>
> 2012/8/30 Jack 
>
> > Le 30/08/2012 15:26, Fabien Bodard a écrit :
> > > For jack... Gb.report is more easy to use :)
> >
> > Yes Fabien,
> > I admire your work and I will use gb.report when i have a little more
> > time :)
> >
> >
> >
> >
> --
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New feature in the IDE code editor

2012-08-14 Thread M. Cs.
That will be great!

Csaba
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Adding values to fields in SQLite table??

2012-08-07 Thread M. Cs.
I use to add fields like this:
$hConn.Begin
$hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN)
$hConn.Commit

And I use Begin and Commit only for the large amount of insertions.
Csaba

2012/8/7 rocko 

> Having a bit of trouble with trying to get Ganbas to add a value to a
> field in a table.
>
> I have a sqlite DB with a table named 'inventory' with field names like:
> 'name', 'start_date', 'end_date' and so on.
>
> I'm trying to add values to the fields using a interface, I have a text
> box to add a name to the 'name' field in the inventory table.
>
> But I am not having any success.
> I'm using Gambas version 2.21 as that is in my repo and been following
> the older book "A beginners Giude to Gambas" which i think uses version
> 1.9 as a basis.
>
> Here is my code for the 'connect' button:
>
> PUBLIC SUB btnConnect_Click()
>
>   DIM $hConn AS NEW Connection
>
>
>   TRY $hConn.CLOSE
>
>   WITH $hConn
> .Type = "sqlite"
> .Host = "/home/rocko/DataBases"
> .Name = "plant_trax"
>   END WITH
>
>   TRY $hConn.Open
>   IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text
>
>   $hConn.Close
>  END
>
> This works as far as I can tell as I don't get the error.
>
> The offending code i believe is in the btnAdd_CLICK():
>
> PUBLIC SUB btnAdd_Click()
>
>   DIM $hConn AS NEW Connection
>   DIM rTable AS Result
>
>   $hConn.Open
>
>   TRY $hConn.Open
>   IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text
>
>   INC Application.Busy
>
>
>   $hConn.Begin
>   rTable = "Inventory"
>   rTable!name = txtName.Text
>   rTable.Update
>
>   $hConn.Commit
>
> FINALLY
>   DEC Application.Busy
>   $hConn.Close
>
> END
>
> I was getting "Database cannot be opened. Error =Driver name missing"
> So I added an "$hconn.Open".
> But now the app just hangs when I click the add new btn
>
> The database doesn't get updated.
>
> Forgive me but I'm still learning Gambas and basic.
>
> I had compiled a newer version of Gambas from the SVN but that was on
> another laptop that got stolen last week and I just installed what ever
> was in my repo (Crucnhbang) on my replacement, but I don't think thats
> my problem.
>
>
>
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Why does gridView_Data() trigger gridView_Select() ?

2012-07-29 Thread M. Cs.
I have a combobox which changes the content of a gridview which is then
filled using the Data event. My problem is, if I select a row in the
gridview, and afterwards I change the gridview itself, the Select event is
triggered, but normally that means that nothing is selected, yet I am using
the selected item inside the Select event so it rises error. Could this
Select event be rewritten so to react with real selections only?


Csaba
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Shell not working properly in G 3.2

2012-07-13 Thread M. Cs.
You may be right. In fact the mentioned process is executed after another
extracting process, which may be not finished before this starts.
Inserting a delay fixes the issue, yet it isn't as good.
Csaba
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Shell not working properly in G 3.2

2012-07-13 Thread M. Cs.
I have a BIG problem with the Shell command:

Shell "unzip -u " & Chr$(34) & User.Home & "/.GamCat/GamCat.zip" & Chr$(34)
& " -d " & Chr$(34) & User.Home & "/.GamCat/" & Chr$(34) Wait
Tells me the the following:

"unzip:  cannot find zipfile directory in one of
/home/minthaka/.GamCat/GamCat.zip or
/home/minthaka/.GamCat/GamCat.zip.zip, and cannot find
/home/minthaka/.GamCat/GamCat.zip.ZIP, period."

However, the file User.Home & "/.GamCat/GamCat.zip" exists, and even I try
to run in a terminal the copied message

Message("unzip -u " & Chr$(34) & User.Home & "/.GamCat/GamCat.zip" &
Chr$(34) & " -d " & Chr$(34) & User.Home & "/.GamCat/" & Chr$(34))
works seamlessly.

Please help me, I've already spent hours over this issue!

The worst thing is that when I use

Shell "unzip -u /home/minthaka/.GamCat/GamCat.zip -d
/home/minthaka/.GamCat/" Wait
there are no errors at all.

Csaba
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Silly behavior on Mageia 2

2012-06-01 Thread M. Cs.
1. UTF-8 -> charset
2. hu_HU.UTF-8 -> language


2012/6/1, Benoît Minisini :
> Le 01/06/2012 10:03, M. Cs. a écrit :
>> Hi,
>> I'm testing my Gambas3 application on the new Mageia 2 release, and
>> I'm encountering weird things:
>> 1. There's no mp3 playback with gb.sdl.sound component
>
> SDL must be allowed to play mp3 files, but I don't know if it is enabled
> at compilation time or by installing a specific library.
>
>> 2. The Exist() cannot find existing files.
>
> Please provide the value of System.Charset and System.Language.
>
>> I have no such errors on Kubuntu..
>>
>> I was a big fan of Mandriva, so I wanted to give a try to its fork,
>> but the result isn't very impressive. Moreover, I never had decent
>> results with any of big RPM based distributions ( openSuse, Fedora,
>> Mandriva and now Mageia too). There are nearly always dependency
>> problems. But in present case I just don't know what's wrong.
>
> My own experience is the contrary: I now use Kubuntu since two years,
> and it has been always far more buggy than Mandriva. I just find dpkg
> faster than rpm.
>
> At the moment I'm trying to find why my right control key suddenly
> stopped working by emitting a key code that no application recognizes...
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Silly behavior on Mageia 2

2012-06-01 Thread M. Cs.
Hi,
I'm testing my Gambas3 application on the new Mageia 2 release, and
I'm encountering weird things:
1. There's no mp3 playback with gb.sdl.sound component
2. The Exist() cannot find existing files.
I have no such errors on Kubuntu..

I was a big fan of Mandriva, so I wanted to give a try to its fork,
but the result isn't very impressive. Moreover, I never had decent
results with any of big RPM based distributions ( openSuse, Fedora,
Mandriva and now Mageia too). There are nearly always dependency
problems. But in present case I just don't know what's wrong.

Any similar experiences, solutions?

Csaba

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] KDE Plasma Launcher

2012-05-23 Thread M. Cs.
It is as easy as drag and drop. You can add a container to your
desktop, and then drop the icons of the apps to it, or just use the
interface shipped with the widget.

Csaba

2012/5/23, Bill-Lancaster :
>
> I have a number of Gambas applications that I would like to add the Plasma
> Launcher.
> Does anyone know how best to do this?
> --
> View this message in context:
> http://old.nabble.com/KDE-Plasma-Launcher-tp33894456p33894456.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weird bug in Gambas 3.1.1 IDE

2012-05-02 Thread M. Cs.
Yes I did it. Now it looks like OK, but I will test it for next few days.

Csaba

2012/5/2, Benoît Minisini :
> Le 02/05/2012 17:24, M. Cs. a écrit :
>> Well, after a stop I started to work with Gambas again, and I have
>> problems with all sorts of fonts: FreeMono, DejaVu Sans, Nimbus Roman
>> No9... Basically nothing helps anymore.
>> - I've used various font sizes from 9 to 11.
>> - The resolution says>  "resolution:102x102 dots per inch"
>>
>> Csaba
>>
>
> Maybe the bug is related to the resolution. Can you enforce 96x96 DPI ?
> It is possible with the KDE control center, but I don't know what you
> are using.
>
> --
> Benoît Minisini
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weird bug in Gambas 3.1.1 IDE

2012-05-02 Thread M. Cs.
Well, after a stop I started to work with Gambas again, and I have
problems with all sorts of fonts: FreeMono, DejaVu Sans, Nimbus Roman
No9... Basically nothing helps anymore.
- I've used various font sizes from 9 to 11.
- The resolution says > "resolution:102x102 dots per inch"

Csaba

2012/4/28, Benoît Minisini :
> Le 28/04/2012 00:02, Benoît Minisini a écrit :
>> Le 27/04/2012 21:52, M. Cs. a écrit :
>>> Maybe it does. Although I marked this problem as solved after changing
>>> the font, the problem also persist with the new font selection too.
>>> Kendek, the packager for Ubuntu's PPA also confirmed that since v. 3.0
>>> he did encounter several times this problem. Now I use to change the
>>> font's size and this solves the problem temporary.
>>>
>>> Csaba
>>>
>>
>> I have just upgraded to Ubuntu 12.04, I'm going to check...
>>
>
> No problem at all. Can you give me:
> - A font that has the problem, but that is not "Monospace" (which is not
> a true font, but a shortcut to another font).
> - The size of the font.
> - The resolution of the X11 server, as returned by "xdpyinfo | grep
> resolution"
>
> Thanks in advance.
>
> --
> Benoît Minisini
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas & GStreamer

2012-04-30 Thread M. Cs.
Does this all means that sdl and sdl-sound components will be finally
replaced with a better backend?

2012/4/30, Fabien Bodard :
> 2012/4/30 Benoît Minisini 
>
>> Le 30/04/2012 14:35, Fabien Bodard a écrit :
>> > is there a way to list media or codecs for source,demuxer, etc ?
>>
>> Apparently 'gst-inspect' does that. Actually I don't really know: I have
>> started to read the GStreamer documentation for the first time two days
>> ago...
>>
>>
> good luck
>
>
>> --
>> Benoît Minisini
>>
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>
> --
> Fabien Bodard
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weird bug in Gambas 3.1.1 IDE

2012-04-27 Thread M. Cs.
Maybe it does. Although I marked this problem as solved after changing
the font, the problem also persist with the new font selection too.
Kendek, the packager for Ubuntu's PPA also confirmed that since v. 3.0
he did encounter several times this problem. Now I use to change the
font's size and this solves the problem temporary.

Csaba

2012/4/27, l k :
> I have a feeling that this problem affects only Ubuntu. I changed the
> font in the editor to FreeMono, and helped. In Fedora 16 I did not
> have this problem.
>
> Regards,
> LeszekK
>
> moonsterbike.com
>
> 2012/4/27, M. Cs. :
>> I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's
>> PPA.
>> The problem is, when I start to type a code into IDE editor, there's a
>> dislocation of cursor. The cursor is actually 1 place to the right
>> instead of the right position. So It is difficult to use it.
>>
>> Any ideas?
>>
>> --
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
> --
> Serdecznie pozdrawiam,
>
> Leszek Kubiszewski
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Weird bug in Gambas 3.1.1 IDE

2012-04-27 Thread M. Cs.
Thanks! Changing the font from Monospace to Ubuntu solved the thing.

Csaba

2012/4/27, Benoît Minisini :
> Le 27/04/2012 12:24, M. Cs. a écrit :
>> I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's
>> PPA.
>> The problem is, when I start to type a code into IDE editor, there's a
>> dislocation of cursor. The cursor is actually 1 place to the right
>> instead of the right position. So It is difficult to use it.
>>
>> Any ideas?
>>
>
> No. Please provide a screenshot, and try to change the font.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Weird bug in Gambas 3.1.1 IDE

2012-04-27 Thread M. Cs.
I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's PPA.
The problem is, when I start to type a code into IDE editor, there's a
dislocation of cursor. The cursor is actually 1 place to the right
instead of the right position. So It is difficult to use it.

Any ideas?

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"?

2012-04-20 Thread M. Cs.
What about Quit instead Me.Close?

2012/4/20, abbat :
>
> It does not CLOSE.
> Just try F5
>
>  If True then
> Exec ["ls"]
> Me.Close
>   EndIf
>
> DOES NOT CLOSE (you have to push "stop" button), AND:
>
>  If True then
> 'Exec ["ls"]
> Me.Close
>   EndIf
>
> WORKS
>
>
>
>
> GMail-79 wrote:
>>
>> On Fri, 2012-04-20 at 03:13 -0700, abbat wrote:
>>> Hi,
>>>
>>> Public Sub Form_Open()
>>> Dim a As String = 4
>>> Dim b As String = 4
>>>
>>> If a > b Then
>>>
>>>   Else
>>> 'Shell "ls"
>>> Exec ["ls"]
>>> Me.Close
>>> Endif
>>> End
>>>
>>> How to "Me.Close"
>>>
>>> Thanks
>>>
>> Removing irrelevant code, I get
>>
>> Public Sub Form_Open()
>>
>>   If True then
>> Exec ["ls"]
>> Me.Close
>>   EndIf
>>
>> End
>>
>> or better
>>
>> Public Sub Form_Open()
>>
>>   Exec ["ls"]
>>   Me.Close
>>
>> End
>>
>> both of which seem to execute perfectly well (i.e. as expected) here.
>>
>> Please explain your problem again.
>>
>> cheers
>> Bruce
>>
>>
>> --
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719872.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> --
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-17 Thread M. Cs.
If the documentation is done in html, you could make a compressed
offline version of its current state, like a compressed copy of the
entire website. But I guess it is also made with Gambas :-)

Csaba

2012/4/17, Jesus :
> One more joining the request!
>
> Thanks
>
> --
> Jesus
>
> El 17/04/12 21:04, Willy Raets escribió:
>> And another agreed here as I am not always online when coding.
>>
>> On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote:
>>> Also agreed,
>>> sometimes it takes a while to get help info from online, I would like it
>>> to
>>> be immediate.
>>>
>>> Jussi
>>>
>>>
>>>
>>> On Tue, Apr 17, 2012 at 20:35, M. Cs.  wrote:
>>>
>>>> I agree with you. If would be nice to have a package gambas3-gb-help,
>>>> as an option.
>>>>
>>>> Csaba
>>>>
>>>> 2012/4/17, sundar j:
>>>>> Is it possible to make online documentation to include in standard
>>>>> installation and make it available from help/F1. It would be nice if
>>>>> examples also included in the offline documentation.
>>>>>
>
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translation interface errors

2012-04-17 Thread M. Cs.
Or at least tell me how can I obtain a .po file which will work as
expected. Let say I have a freeze of new features or strings in a
release: how will those #fuzzy -es disappear?

Csaba

2012/4/17, M. Cs. :
> I think the problem isn't with the standard itself, but rather with
> the GUI, which makes error during file import.
>
> Csaba
>
> 2012/4/17, Benoît Minisini :
>> Le 17/04/2012 21:00, Willy Raets a écrit :
>>> On di, 2012-04-17 at 19:41 +0200, Benoît Minisini wrote:
>>>> Le 17/04/2012 17:13, M. Cs. a écrit :
>>>>>
>>>>
>>>> You should translate your project directly from the IDE.
>>>>
>>>> The translations marked as "fuzzy" are not imported. Because, among
>>>> other things, translations are marked as "fuzzy" when they are not
>>>> definitive.
>>>>
>>>> Regards,
>>>>
>>> I have application in multi languages and used to send people the text
>>> files to translate and import them.
>>>
>>> It was not a pleasant way of translating (from the exported files) for
>>> translators and I had likewise issues on import.
>>>
>>> So now I copy paste all into a .odt with some screenshots so they know
>>> what it is about and when translation returns I copy paste the
>>> translations into the IDE. But that is a lot extra work.
>>>
>>> Problem is that the people translating are NO programmers and don't have
>>> Gambas IDE. Several of them don't even have linux.
>>> Just people that happen to be willing to translate because they know the
>>> language.
>>>
>>> Some clever way of exporting what needs to be translated in a user
>>> friendly format for translators and a manner to import the translations
>>> done by others would be very welcome and save loads of time.
>>> The current export is not something you can send to people to do
>>> translating in. It confuses them and loads of mistakes are made this
>>> way.
>>>
>>
>> The current export is the standard GNU translation file format. What
>> other format do you suggest?
>>
>> --
>> Benoît Minisini
>>
>> --
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translation interface errors

2012-04-17 Thread M. Cs.
I think the problem isn't with the standard itself, but rather with
the GUI, which makes error during file import.

Csaba

2012/4/17, Benoît Minisini :
> Le 17/04/2012 21:00, Willy Raets a écrit :
>> On di, 2012-04-17 at 19:41 +0200, Benoît Minisini wrote:
>>> Le 17/04/2012 17:13, M. Cs. a écrit :
>>>>
>>>
>>> You should translate your project directly from the IDE.
>>>
>>> The translations marked as "fuzzy" are not imported. Because, among
>>> other things, translations are marked as "fuzzy" when they are not
>>> definitive.
>>>
>>> Regards,
>>>
>> I have application in multi languages and used to send people the text
>> files to translate and import them.
>>
>> It was not a pleasant way of translating (from the exported files) for
>> translators and I had likewise issues on import.
>>
>> So now I copy paste all into a .odt with some screenshots so they know
>> what it is about and when translation returns I copy paste the
>> translations into the IDE. But that is a lot extra work.
>>
>> Problem is that the people translating are NO programmers and don't have
>> Gambas IDE. Several of them don't even have linux.
>> Just people that happen to be willing to translate because they know the
>> language.
>>
>> Some clever way of exporting what needs to be translated in a user
>> friendly format for translators and a manner to import the translations
>> done by others would be very welcome and save loads of time.
>> The current export is not something you can send to people to do
>> translating in. It confuses them and loads of mistakes are made this
>> way.
>>
>
> The current export is the standard GNU translation file format. What
> other format do you suggest?
>
> --
> Benoît Minisini
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translation interface errors

2012-04-17 Thread M. Cs.
Oops, it was Willy, not me :-)

2012/4/17, M. Cs. :
> excuse me for doubled post.
>
> 2012/4/17, M. Cs. :
>> It is sometimes hardly viable: I have a Russian translator who doesn't
>> use Linux at all, but likes my project and helps me. The German
>> translation is also being done with a Windows user person. So when I
>> have 30-40 new strings/release multiplied by number of languages...
>> I think Gambas needs some more efficient tool. Think about
>> modifications, please! I don't know how it works under the hood, and I
>> also don't understand why do we need the first line of records like:
>>
>> #: Archs.class:543 WhereIsIt.class:96
>> msgid "Inserting the records into database..."
>> msgstr "Wprowadzanie rekordów do bazy danych..."
>>
>>
>> Probably for getting ideas where this string belongs to. I'm not very
>> good in Gambas, but an expert in data mining, so I don't think there
>> could not be a better way of storing the translations. Probably it
>> works now as:
>> 1. Get the sysyem language
>> 2. Read in the file .po with that language and fill in the strings on
>> the GUI(the first line of the translation's record.
>> This is all great, but the translation's interpreter doesn't
>> recognizes its own product. Namely: I use the .po files exported with
>> Gambas IDE. Then these files are slightly modified (nothing deleted,
>> but rather added characters into empty strings), and afterwards the
>> same IDE won't recognize the same file. It has to be a bug. So I don't
>> think the real solution would be sticking to the Gambas IDE. Is that
>> part of IDE written in Gambas? Maybe I would take a look why does it
>> make such errors.
>>
>> Csaba
>>
>>
>> 2012/4/17, Benoît Minisini :
>>> Le 17/04/2012 17:13, M. Cs. a écrit :
>>>> Hi!
>>>> I'm spending quite a lot of time with repairing the translations for
>>>> my program. It is translated into several languages, and there is a
>>>> constant, annoying error:
>>>> - I use to export the translations into myapp-xx-ver.po
>>>> - the translating person translates the strings using a text editor
>>>> (Kate, Gedit...). It is looking for a string "" which represents the
>>>> place of the strings to be translated.
>>>> - I get back the translation and in Translation GUI I do import the
>>>> translated file.
>>>> - The GUI tells me how many strings have been picked up.
>>>> - Usually I am getting back full translation, however, the Translation
>>>> GUI is telling me N strings aren't translated. When I open the .po
>>>> file I can clearly find the translation.
>>>>
>>>> Why does T-GUI make such errors?
>>>> Sometimes in the .po file I can find the following string:
>>>> #, fuzzy
>>>>
>>>> It is quite exhausting!
>>>> Any suggestions?
>>>>
>>>> Csaba
>>>>
>>>
>>> You should translate your project directly from the IDE.
>>>
>>> The translations marked as "fuzzy" are not imported. Because, among
>>> other things, translations are marked as "fuzzy" when they are not
>>> definitive.
>>>
>>> Regards,
>>>
>>> --
>>> Benoît Minisini
>>>
>>> --
>>> Better than sec? Nothing is better than sec when it comes to
>>> monitoring Big Data applications. Try Boundary one-second
>>> resolution app monitoring today. Free.
>>> http://p.sf.net/sfu/Boundary-dev2dev
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translation interface errors

2012-04-17 Thread M. Cs.
excuse me for doubled post.

2012/4/17, M. Cs. :
> It is sometimes hardly viable: I have a Russian translator who doesn't
> use Linux at all, but likes my project and helps me. The German
> translation is also being done with a Windows user person. So when I
> have 30-40 new strings/release multiplied by number of languages...
> I think Gambas needs some more efficient tool. Think about
> modifications, please! I don't know how it works under the hood, and I
> also don't understand why do we need the first line of records like:
>
> #: Archs.class:543 WhereIsIt.class:96
> msgid "Inserting the records into database..."
> msgstr "Wprowadzanie rekordów do bazy danych..."
>
>
> Probably for getting ideas where this string belongs to. I'm not very
> good in Gambas, but an expert in data mining, so I don't think there
> could not be a better way of storing the translations. Probably it
> works now as:
> 1. Get the sysyem language
> 2. Read in the file .po with that language and fill in the strings on
> the GUI(the first line of the translation's record.
> This is all great, but the translation's interpreter doesn't
> recognizes its own product. Namely: I use the .po files exported with
> Gambas IDE. Then these files are slightly modified (nothing deleted,
> but rather added characters into empty strings), and afterwards the
> same IDE won't recognize the same file. It has to be a bug. So I don't
> think the real solution would be sticking to the Gambas IDE. Is that
> part of IDE written in Gambas? Maybe I would take a look why does it
> make such errors.
>
> Csaba
>
>
> 2012/4/17, Benoît Minisini :
>> Le 17/04/2012 17:13, M. Cs. a écrit :
>>> Hi!
>>> I'm spending quite a lot of time with repairing the translations for
>>> my program. It is translated into several languages, and there is a
>>> constant, annoying error:
>>> - I use to export the translations into myapp-xx-ver.po
>>> - the translating person translates the strings using a text editor
>>> (Kate, Gedit...). It is looking for a string "" which represents the
>>> place of the strings to be translated.
>>> - I get back the translation and in Translation GUI I do import the
>>> translated file.
>>> - The GUI tells me how many strings have been picked up.
>>> - Usually I am getting back full translation, however, the Translation
>>> GUI is telling me N strings aren't translated. When I open the .po
>>> file I can clearly find the translation.
>>>
>>> Why does T-GUI make such errors?
>>> Sometimes in the .po file I can find the following string:
>>> #, fuzzy
>>>
>>> It is quite exhausting!
>>> Any suggestions?
>>>
>>> Csaba
>>>
>>
>> You should translate your project directly from the IDE.
>>
>> The translations marked as "fuzzy" are not imported. Because, among
>> other things, translations are marked as "fuzzy" when they are not
>> definitive.
>>
>> Regards,
>>
>> --
>> Benoît Minisini
>>
>> --
>> Better than sec? Nothing is better than sec when it comes to
>> monitoring Big Data applications. Try Boundary one-second
>> resolution app monitoring today. Free.
>> http://p.sf.net/sfu/Boundary-dev2dev
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translation interface errors

2012-04-17 Thread M. Cs.
It is sometimes hardly viable: I have a Russian translator who doesn't
use Linux at all, but likes my project and helps me. The German
translation is also being done with a Windows user person. So when I
have 30-40 new strings/release multiplied by number of languages...
I think Gambas needs some more efficient tool. Think about
modifications, please! I don't know how it works under the hood, and I
also don't understand why do we need the first line of records like:

#: Archs.class:543 WhereIsIt.class:96
msgid "Inserting the records into database..."
msgstr "Wprowadzanie rekordów do bazy danych..."


Probably for getting ideas where this string belongs to. I'm not very
good in Gambas, but an expert in data mining, so I don't think there
could not be a better way of storing the translations. Probably it
works now as:
1. Get the sysyem language
2. Read in the file .po with that language and fill in the strings on
the GUI(the first line of the translation's record.
This is all great, but the translation's interpreter doesn't
recognizes its own product. Namely: I use the .po files exported with
Gambas IDE. Then these files are slightly modified (nothing deleted,
but rather added characters into empty strings), and afterwards the
same IDE won't recognize the same file. It has to be a bug. So I don't
think the real solution would be sticking to the Gambas IDE. Is that
part of IDE written in Gambas? Maybe I would take a look why does it
make such errors.

Csaba


2012/4/17, Benoît Minisini :
> Le 17/04/2012 17:13, M. Cs. a écrit :
>> Hi!
>> I'm spending quite a lot of time with repairing the translations for
>> my program. It is translated into several languages, and there is a
>> constant, annoying error:
>> - I use to export the translations into myapp-xx-ver.po
>> - the translating person translates the strings using a text editor
>> (Kate, Gedit...). It is looking for a string "" which represents the
>> place of the strings to be translated.
>> - I get back the translation and in Translation GUI I do import the
>> translated file.
>> - The GUI tells me how many strings have been picked up.
>> - Usually I am getting back full translation, however, the Translation
>> GUI is telling me N strings aren't translated. When I open the .po
>> file I can clearly find the translation.
>>
>> Why does T-GUI make such errors?
>> Sometimes in the .po file I can find the following string:
>> #, fuzzy
>>
>> It is quite exhausting!
>> Any suggestions?
>>
>> Csaba
>>
>
> You should translate your project directly from the IDE.
>
> The translations marked as "fuzzy" are not imported. Because, among
> other things, translations are marked as "fuzzy" when they are not
> definitive.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-17 Thread M. Cs.
I agree with you. If would be nice to have a package gambas3-gb-help,
as an option.

Csaba

2012/4/17, sundar j :
> Is it possible to make online documentation to include in standard
> installation and make it available from help/F1. It would be nice if
> examples also included in the offline documentation.
> --
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Translation interface errors

2012-04-17 Thread M. Cs.
Hi!
I'm spending quite a lot of time with repairing the translations for
my program. It is translated into several languages, and there is a
constant, annoying error:
- I use to export the translations into myapp-xx-ver.po
- the translating person translates the strings using a text editor
(Kate, Gedit...). It is looking for a string "" which represents the
place of the strings to be translated.
- I get back the translation and in Translation GUI I do import the
translated file.
- The GUI tells me how many strings have been picked up.
- Usually I am getting back full translation, however, the Translation
GUI is telling me N strings aren't translated. When I open the .po
file I can clearly find the translation.

Why does T-GUI make such errors?
Sometimes in the .po file I can find the following string:
#, fuzzy

It is quite exhausting!
Any suggestions?

Csaba

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How can I flush the image cache?

2012-04-16 Thread M. Cs.
There you are!
It requires Imagemagick to be installed.
There are possible downsides of the Picture.Load(mypicture):
- If the image mypicture is broken or 0 sized, the program will fail
to load, and crash.
- The 'convert' of Imagemagick sometimes creates broken thumbnails, so
I had to build in a size check with Stat(mypicture).Size.

Csaba


ImageFlush-0.0.1.tar.gz
Description: GNU Zip compressed data
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How can I flush the image cache?

2012-04-15 Thread M. Cs.
OK. I solved it with using Picture.Load(myimage) instead of Picture[myimage].

Like in this example:
fView.Add(x, x, Picture.Load(myimage), 0).EnsureVisible
Is this the correct way?

Csaba

2012/4/15, M. Cs. :
> It happens that I change the pictures of a TreeView items during
> runtime. When I clear the TreeView and repopulate, the pictures
> remains the same, although I did changed the source image used to be
> display. After the restart of the program, the proper new picture is
> shown.
> Is there a way for update during runtime?
>
> Csaba
>

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How can I flush the image cache?

2012-04-15 Thread M. Cs.
It happens that I change the pictures of a TreeView items during
runtime. When I clear the TreeView and repopulate, the pictures
remains the same, although I did changed the source image used to be
display. After the restart of the program, the proper new picture is
shown.
Is there a way for update during runtime?

Csaba

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas 3.1 boogey

2012-04-10 Thread M. Cs.
I have a Gridview gV and the corresponding Data event handler:

Public Sub gv_Data(x As Integer, y As Integer) ' Fills the GridView
with the query results
Dim i As Integer
Dim szine As String
If ((x Mod 2) = 0) Then
  szine = &E5E5E5&
Else
  szine = &FF&
Endif

Select Case y
Case 0
 gV.Data.Text = Keress.Name(x)
 gV.Data.BackGround = szine
Case 1
 gV.Data.Text = Keress.Volm(x)
 gV.Data.BackGround = szine
Case 2
 gV.Data.Text = Keress.Road(x)
 gV.Data.BackGround = szine
Case 3
 gV.Data.Text = Keress.Size(x)
 gV.Data.BackGround = szine
Case 4
 gV.Data.Text = Keress.When(x)
 gV.Data.BackGround = szine

 End Select

End

I didn't change anything but the program exits with Null object error
for gV.Data.Text, while Keress.Name(x) etc. are returned correctly.

Csaba

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Form with multiple charts

2012-04-08 Thread M. Cs.
Hi I managed to draw two pie-charts on a form, with two separate DrawingAreas.
My problem is that it I can do it only with single instance of
DIM mychart AS Chart
I can use it for two different drawings on two areas, but when I draw
a third one on a third drawing area I cannot change it's type.

It hasn't sense at all:
- I cannot define two different mycharts like
Dim mychart1 AS Chart
DIM mychart2 AS Chart
Because it rises error division by zero.

>From my part it would be logical to have different charts for
different drawing areas. Since it is nearly 0% documented I need some
help:

mychart.Count = 2 (IS THIS THE NUMBER OF VALUES?)
mychart[0].Values = [0.8,0.2] (WHAT REPRESENTS [0]?)
mychart.Headers.Values = [("Identical"), ("Different")]
mychart.Legend.Visible = True
mychart.Legend.Position = 1 (HOW COULD I PUT LEGEND BELOW THE CHART?)
mychart.Style = ChartType.Pie
mychart.Width = DrawingArea1.W
mychart.Height = DrawingArea1.H
Draw.begin(DrawingArea1)
mychart.Draw
Draw.end

AND why does it work if I would continue this code with

mychart.Count = 3
mychart[0].Values = [0.3, 0.2, 0.5]
mychart.Headers.Values = [("Identical"), ("Different"), ("Other")]
mychart.Legend.Visible = True
mychart.Legend.Position = 1
mychart.Style = ChartType.Pie
mychart.Width = DrawingArea2.W
mychart.Height = DrawingArea2.H
Draw.begin(DrawingArea2)
mychart.Draw
Draw.end

I'm confused.

Csaba

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Visual Studio Express

2012-03-30 Thread M. Cs.
As Mathias said: it is bloated.
IMHO, the ribbon menu was the worst thing MS did with Office. But as
an option it would be nice. Technically it is nothing more than a
ScrollView with horizontal scroll, with an array of VBoxes which have
a PictureBox and Label inside. You can already create such structure
in Gambas 3.

Csaba

2012/3/28, Demosthenes Koptsis :
> what about a ribbon menu control ?
>
> http://en.wikipedia.org/wiki/Ribbon_(computing)
> 
>
> On 03/28/2012 03:47 PM, Mathias Maes wrote:
>> VB Studio Express is not bad, altough, it bugs (or at least, some time
>> ago,
>> it did) when working with controls that are bound to a databasecolumn.
>>
>> And I think the whole Net suite is too bloated.
>>
>> 2012/3/28 Demosthenes Koptsis
>>
>>> These days i started to test Visual Studio Express 2010 to compare it
>>> with Gambas3.
>>>
>>> Does anyone have any experience with VB Studio Express ?
>>>
>>> Are there any characteristics that may be we wanted to see in Gambas3 ?
>>>
>>> Thank you !
>>>
>>>
>>> --
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Dockable frames

2012-03-13 Thread M. Cs.
Im sorry the mail just went away! I would like to know whether it is
possible to move frames inside a VBox so that they change place like
this:
A
B
C

to

C
A
B

I would also like to displace a frame from one container into another
if possible. I know from experience, that this kind of manipulation is
the best source for crashes in many programs I saw, but I am courious
about that. I would like to do that as dragging with mouse.

Thanks!

Csaba

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Dockable frames

2012-03-13 Thread M. Cs.


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Transformable GUI

2012-03-12 Thread M. Cs.
To be more accurate, I would like to implement something like you have
in Guayadeque music player for instance. You have different containers
and you can move them inside the IDE.

2012/3/12, M. Cs. :
> Thank you Tobias, but I would like this as a drag and drop thing.
> Let say I have a VBox with two frames in it: Fr_Top and Fr_Bottom. How
> could I just grab the Fr_Top, drag below Fr_Bottom and drop so they
> changed their places? Is there any limitations to take one of them out
> of container VBox and drop it to a VBox2 container?
>
> Thanks!
>
> 2012/3/11, tobias :
>> hi,
>>
>> On 11.03.2012 20:55, M. Cs. wrote:
>>> Is it possible to change the layout during runtime? I mean if I have a
>>> panel and I would like to move it to another place.
>>>
>>> Thanks!
>>>
>>> Csaba
>>
>> of course is it possible. how could you get along without doing so until
>> now? ;)
>> the controls on your form are objects like almost everything else in
>> your running gambas program. say your Panel1 needs to be moved to 10,10
>> on the form you may want to
>>
>> Panel1.Move(10, 10)
>>
>> or
>>
>> Panel1.X = 10
>> Panel1.Y = 10
>>
>> those are inherited from the Control class on which Panel relies.
>> see the doc for the Control class and everything else under
>> gb.qt4/gb.gtk.
>>
>> regards,
>> tobi
>>
>> --
>> Virtualization & Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Transformable GUI

2012-03-12 Thread M. Cs.
Thank you Tobias, but I would like this as a drag and drop thing.
Let say I have a VBox with two frames in it: Fr_Top and Fr_Bottom. How
could I just grab the Fr_Top, drag below Fr_Bottom and drop so they
changed their places? Is there any limitations to take one of them out
of container VBox and drop it to a VBox2 container?

Thanks!

2012/3/11, tobias :
> hi,
>
> On 11.03.2012 20:55, M. Cs. wrote:
>> Is it possible to change the layout during runtime? I mean if I have a
>> panel and I would like to move it to another place.
>>
>> Thanks!
>>
>> Csaba
>
> of course is it possible. how could you get along without doing so until
> now? ;)
> the controls on your form are objects like almost everything else in
> your running gambas program. say your Panel1 needs to be moved to 10,10
> on the form you may want to
>
> Panel1.Move(10, 10)
>
> or
>
> Panel1.X = 10
> Panel1.Y = 10
>
> those are inherited from the Control class on which Panel relies.
> see the doc for the Control class and everything else under gb.qt4/gb.gtk.
>
> regards,
> tobi
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Transformable GUI

2012-03-11 Thread M. Cs.
Is it possible to change the layout during runtime? I mean if I have a
panel and I would like to move it to another place.

Thanks!

Csaba

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two modal forms at same time

2012-03-09 Thread M. Cs.
Sorry, it was my fault with aliases!

Csaba

2012/3/9, Jussi Lahtinen :
> Can you send project to demonstrate this?
>
> Jussi
>
>
>
> On Fri, Mar 9, 2012 at 15:31, M. Cs.  wrote:
>
>> I have a class with two forms W1 and W2. Forms and corresponding
>> buttons are created in Main procedure of the class. The problem is
>> when I first do
>> W1.ShowModal, it does shows modal, and I have control over the buttons
>> of W1, but if I call W2.ShowModal with a button of W1, it shows up
>> modal, but I have no control over the buttons of W2: no clicks are
>> rised. It is connected with the modality of W1 I know, but how could I
>> have W2 buttons working?
>>
>> Thanks!
>>
>> Csaba
>>
>>
>> --
>> Virtualization & Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Two modal forms at same time

2012-03-09 Thread M. Cs.
I have a class with two forms W1 and W2. Forms and corresponding
buttons are created in Main procedure of the class. The problem is
when I first do
W1.ShowModal, it does shows modal, and I have control over the buttons
of W1, but if I call W2.ShowModal with a button of W1, it shows up
modal, but I have no control over the buttons of W2: no clicks are
rised. It is connected with the modality of W1 I know, but how could I
have W2 buttons working?

Thanks!

Csaba

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Autotools not working - Gambas 3.0

2012-03-07 Thread M. Cs.
Creating package for Autotools.
Making build directory.
Creating package...

aclocal
autoconf
automake -a
Useless use of /d modifier in transliteration operator at
/usr/share/automake-1.9/Automake/Wrap.pm line 60.
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
Makefile.am: installing `./INSTALL'
./configure
/usr/bin/install -c
yes
checking for gawk... gawk
yes
configure: error: Cannot find .project file for GamCat !
make dist
make: *** No rule to make target `dist'.  Stop.

The package build has failed.
Package.MakeAutotoolsPackage.1352: Out of bounds


This is the error I got when I tried to create autotools package on
Kubuntu 11.10 -64bit
I've checked it with automake versions 1.4,1.9,1.11

Csaba

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] mp3 do not play

2012-03-07 Thread M. Cs.
The problem is in the SDL.sound library. I don't know whether this can
be solved in Gambas only. I have same issues, but not with all files.
In order to help Benoit, try to check the MP3 file's tags: bitrate,
etc. It may help discover the real problem.

2012/3/7, Алексей Беспалов :
> 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?
>
>
> --
> 
> С уважением Алексей.
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two short questions

2012-03-03 Thread M. Cs.
Thank you Benoit!
gb.net.curl is great solution.

2012/3/3, Benoît Minisini :
> Le 03/03/2012 18:53, M. Cs. a écrit :
>> Hi I have two short questions:
>> 1. Is it a way to handle a curl request as process?
>> I use to call :
>> Shell "curl http://www.mysite.com"; to $myvar
>> This is a bit unsafe. If the net hangs, the program hangs too. Would I
>> be able to kill the process, if I created it as:
>> $hProcess=Exec["curl","http://www.mysite.com";]
>> ?
>
> Or you can use the gb.net.curl component, that does CURL request
> asynchronously.
>
>>
>> 2. I've created a PDF file, and I would like to include it to the
>> project package, and let the user open it with a PDF browser. What's
>> the path of the included myfile.pdf if I would like to open it with
>> shell command in Okular or similar?
>>
>> Thanks for the fast answer!
>>
>> Csaba
>
> You must copy it to a temporary location, because only the Gambas
> program can access files located inside its executable.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Two short questions

2012-03-03 Thread M. Cs.
Hi I have two short questions:
1. Is it a way to handle a curl request as process?
I use to call :
Shell "curl http://www.mysite.com"; to $myvar
This is a bit unsafe. If the net hangs, the program hangs too. Would I
be able to kill the process, if I created it as:
$hProcess=Exec["curl","http://www.mysite.com";]
?

2. I've created a PDF file, and I would like to include it to the
project package, and let the user open it with a PDF browser. What's
the path of the included myfile.pdf if I would like to open it with
shell command in Okular or similar?

Thanks for the fast answer!

Csaba

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Possible suggestion/question

2012-03-02 Thread M. Cs.
I red somewhere that GOTO is something that a good programer should
avoid at all costs.
GOTO is a host of countless bug possibilities.

2012/3/2, John Spikowski :
> On Fri, 2012-03-02 at 03:31 +0100, Benoît Minisini wrote:
>> Anyway, there is a syntax problem. In Basic, GOSUB is ended by a RETURN
>> instruction, but RETURN is already used to exit the all function. Or
>> maybe RETURN will return from the function only if there is no pending
>> GOSUB.
>>
> Most Basic languages allow exiting a GOSUB and not RETURNing. GOTO is
> pretty smart in SciptBasic and used to prematurely exit any stack
> tracking structure and cleans up on the way out.
>
> In ScriptBasic the function name is used rather then RETURN.
>
> FUNCTION myfunc ()
>
>  myfunc = 1
>
> END FUNCTION
>
>
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to compile the Gambas3 runtime

2012-02-24 Thread M. Cs.
Add this to your sources:
deb http://ppa.launchpad.net/nemh/gambas3/ubuntu oneiric main

It is Kendek's repository and works fully.

Csaba

2012/2/24, Matteo Pasotti :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Il 24/02/2012 14:44, Peter Scholtz - Isenzo ha scritto:
>> Hi all,
>>
>> I'm new to Linux and Gambas.
>>
>> I've written an application and managed to distribute it to a newly
>> installed Ubuntu 11.04 using the runtime available here:
>> https://launchpad.net/~ihaywood3/+archive/gambas3
>>
>> These are not the latest runtime, 2.99 vs 3 and there is none for the
>> latest
>> Ubuntu 11.10
>>
>> Could you please explain to a n00b how I can compile the runtime for the
>> latest Ubuntu 11.10 and how to place it into a repository?
>>
>> Thank you in advance.
>>
>
> Hi Peter,
> have you tried http://gambasdoc.org/help/install?v3 ?
> Then before duplicating repositories maybe you can talk to ihaywood3 and
> ask him to upgrade his repo.
> Regards,
> - --
> Matteo
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mageia - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJPR5zpAAoJED3LowjDDWbNcS4H/jxeRJVGmuPBR5hVCorml6gt
> SajHIQEd1QmnHmxEKm03lb4b5FhaKrau9PoHp9nobHTpGnJYiXE1e+/3wadqruhZ
> ONgYfKTfjQWabffHV4uxAhmcIhHv98XD403OtWt0hBm2H92GsE3jhi0dsugP3QnY
> jogJl61HnlEYRs4WHWh2c3VD/LNdkTM1ZO2PRbBy86ryCiB6GG540kGFvHP8IkzU
> vicu1kLfAK5dIA/jaDvKsct8fGOOYLtlmKv8GQz6wEQ7lzDYiatWm9o1Oitn1Dw5
> wAy1IFs8sViI5UP/HeQEGTlPxzhpvmGkm29F2r0ssjUSfnIPHFTJhr5BIvk0BlQ=
> =3/IG
> -END PGP SIGNATURE-
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] I need your help, please!

2012-02-24 Thread M. Cs.
It is about 3MB and I use to read it with
While not Eof()
Line Input 
Wend

My biggest problem is, that, regardless to the approach, (using a
module for a task, or using a class instance for the same task) I
cannot regain the idling memory:
I've red in the file, and I have been placing the data into a
database, and I can even clear the array, or use a local variable, but
the amount of used memory remains the same just as when I would still
use the variable. This is either my fault (I am doing something
wrong), or Gambas' error, because it does not handles back the
currently not used memory to the system. I don't know what's wrong.


2012/2/24, Emil Lenngren :
> How large is your csv-file? If it is large then probably much time is spent
> when transfering the data from your hard drive into memory.
>
> /Emil
>
> 2012/2/23 M. Cs. 
>
>> I have few simple questions:
>> what is happening practically with the memory when I open a file and
>> start to read it in into a local variable called myvar?
>> It would be logical for myvar to grow until it reads in the entire file.
>> My question is:
>> - does Gambas clear the memory allocations after the myvar is cleared?
>> - or there will be always a bloated memory usage which is freed only
>> after the main program is closed?
>> - Gambas uses only few % of CPU for reading in the file (.csv). Is
>> this possible to increase the percentage in order to speed up the
>> process?
>>
>> I need your answers please!
>>
>> Csaba
>>
>>
>> --
>> Virtualization & Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] I need your help, please!

2012-02-23 Thread M. Cs.
I have few simple questions:
what is happening practically with the memory when I open a file and
start to read it in into a local variable called myvar?
It would be logical for myvar to grow until it reads in the entire file.
My question is:
- does Gambas clear the memory allocations after the myvar is cleared?
- or there will be always a bloated memory usage which is freed only
after the main program is closed?
- Gambas uses only few % of CPU for reading in the file (.csv). Is
this possible to increase the percentage in order to speed up the
process?

I need your answers please!

Csaba

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to regain the used memory after clearing the array?

2012-02-21 Thread M. Cs.
Hello!
I have this problem with arrays. I have a class Keress given with this:
' Gambas class file

Export
' Gambas module file
Create Static
Private nev As New String[]
Private ut As New String[]
Private nagy As New Float[]
Private mikor As New String[]
Private kotet As New String[]
Public SConn As New Connection
Public Sub Search(y As Integer, stext As String, detect As String,
direction As String) As Integer '### Do the
search for files/folders ##
Dim dis As Integer = 0
Dim n, m, i, j As Integer
Dim visszhang, subhang As Result
Dim dubl, indexer As String[]
Dim quert, point, mkb, xkl, fullsearch As String
Dim nyogd As TextLabel
Dim keep As PictureBox
SConn.Name = "GamCat"
SConn.Type = "sqlite"
SConn.Host = User.Home & "/.GamCat"
SConn.Open()
If FMain.holder.value = False Then
Trashing()
Endif
FMain.gV.Columns.Count = 5
Select Case y
Case 1
If FMain.only.Value = True Then
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE Category=&1 AND
FName=&2 AND (FSubs='0' OR FSubs='3') ORDER BY " & detect & " " &
direction & ";", FMain.SelcatBox.Text, stext)

For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Else
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE FName=&1 AND
(FSubs='0' OR FSubs='3') ORDER BY " & detect & " " & direction & ";",
stext)
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Endif


Case 2 '!
If FMain.only.Value = True Then
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE Category=&1 AND
FName LIKE &2 AND (FSubs='0' OR FSubs='3') ORDER BY " & detect & " " &
direction & ";", FMain.SelcatBox.Text, "%" & stext & "%")
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Else
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE FName LIKE &1 AND
(FSubs='0' OR FSubs='3') ORDER BY " & detect & " " & direction & ";",
"%" & stext & "%")
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Endif


Case 3
If FMain.only.Value = True Then
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE Category=&1 FName
LIKE &2 AND (FSubs='0' OR FSubs='3') ORDER BY " & detect & " " &
direction & ";", FMain.SelcatBox.Text, "%." & stext & "%")
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Else
visszhang = FMain.DBconX.Exec("SELECT * FROM CENTRAL WHERE FName LIKE
&1 AND (FSubs='0' OR FSubs='3') ORDER BY " & detect & " " & direction
& ";", "%." & stext & "%")
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Endif


Case 4
If FMain.only.Value = True Then
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE Category=&1 AND
FName=&2 AND FSubs='1' ORDER BY " & detect & " " & direction & ";",
FMain.SelcatBox.Text, stext)
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Else
visszhang = SConn.Exec("SELECT * FROM CENTRAL WHERE FName=&1 AND
FSubs='1' ORDER BY " & detect & " " & direction & ";", stext)
For Each visszhang
dis = Insert(visszhang!"FName", visszhang!"FPath",
Round(visszhang!"FSize" / 1048576, -2), visszhang!"FChanged",
visszhang!VName)
Next
FMain.gV.Rows.Count = dis
For i = 0 To dis - 1
FMain.gv_Data(i, 0)
FMain.gv_Data(i, 1)
FMain.gv_Data(i, 2)
FMain.gv_Data(i, 3)
FMain.gv_Data(i, 4)
Next


Endif

Case 5
If FMain.only.Value = True Then
visszhang = SC

Re: [Gambas-user] Memory problems with Gambas3

2012-02-19 Thread M. Cs.
I have similar issue:
I have a module and private subs in it. I'm using string arrays
declared inside that SUB. The SUB is invoked when I scan some
folders/files. The memory consumption rises during this scan by around
30 MB, which is quite normal, since I'm feeding memory with huge
amount of data. The problem is, when the SUB ends, the memory
consumption won't fall back to the previous level, although it should,
because the arrays are destroyed with closing of the SUB.

Csaba

2012/2/19, Jussi Lahtinen :
> Unfortunately I can't send the project. But I keep on trying to isolate the
> problem.
> I'm pretty sure leak is from Gambas as it is fixed by commenting out the
> three lines.
>
> Jussi
>
>
>
>
> 2012/2/19 Benoît Minisini 
>
>> Le 19/02/2012 19:12, Jussi Lahtinen a écrit :
>> > Hi!
>> > I was debugging huge project to find out why it's execution is slowed
>> down
>> > to unusable, when suddenly screen went blank and I was logged out.
>> > Reason found from logs: Killed process 1264 (Xorg) total-vm:6406864kB,
>> > anon-rss:2751124kB, file-rss:784kB
>> > So I ran out of memory. This shouldn't happen, the project I'm working
>> with
>> > doesn't need even nearly that much memory.
>> >
>> > I can prevent this happening when I comment out content of draw event
>> from
>> > drawingarea.
>> > Right now there are only three lines, which shouldn't cause cumulative
>> > memory usage:
>> > Draw.Image(imgKoko, 0, 0)
>> > Draw.Image(imgKarVe, 0, 0)
>> > Draw.Picture(picKohdistin, I.KarX - 12, I.KarY - 12)
>> >
>> > As I said the project is huge, and so far I haven't be able to isolate
>> what
>> > causes the problem.
>> > All I know is that in certain form, every time draw event is raised, it
>> > causes Xorg to take more memory.
>> >
>> > Valgrind log is attached.
>> >
>> > Any ideas?
>> >
>> > Jussi
>> >
>>
>> Gambas will not prevent you from creating pictures into the X server
>> until it eats all the memory, so I must see your code so that I can know
>> if the leak is in Gambas or in your code.
>>
>> Regards,
>>
>> --
>> Benoît Minisini
>>
>>
>> --
>> Virtualization & Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas future?

2012-02-19 Thread M. Cs.
About the crash: just take the example shipped with Gambas IDE and
play with different mp3 files, try to change the position of playing
song and there you are.

Csaba

2012/2/19, Benoît Minisini :
> Le 19/02/2012 16:50, M. Cs. a écrit :
>> Specially the supported file formats and the stability:
>> "The music file format can be: WAV, OGG or MP3."
>> What about flac?
>> If there would be support for other sound formats and stability of
>> playback that would be good. There are some mp3 files which are
>> distorted upon playback (faster playback of shifted octaves). And it
>> is also not possible by now to use a timeline for an mp3 song, if I
>> used a Slider I simply cannot move the sound position without having
>> program crashed.
>
> All that depends on SDL, I cannot do anything (AFAIK). As for the crash,
> please provide more details.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas future?

2012-02-19 Thread M. Cs.
Specially the supported file formats and the stability:
"The music file format can be: WAV, OGG or MP3."
What about flac?
If there would be support for other sound formats and stability of
playback that would be good. There are some mp3 files which are
distorted upon playback (faster playback of shifted octaves). And it
is also not possible by now to use a timeline for an mp3 song, if I
used a Slider I simply cannot move the sound position without having
program crashed.

Thanks!
Csaba

2012/2/19, Benoît Minisini :
> Le 19/02/2012 12:08, M. Cs. a écrit :
>> Please Benoit, if you have some extra time, update the sdl and
>> sdl-sound libraries as well!
>>
>> Csaba
>>
>
> What is missing in those libraries?
>
> --
> Benoît Minisini
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas future?

2012-02-19 Thread M. Cs.
Please Benoit, if you have some extra time, update the sdl and
sdl-sound libraries as well!

Csaba

2012/2/19, Benoît Minisini :
> Le 18/02/2012 19:40, Dr.Diesel a écrit :
>>
>> Benoît, please tease us with what the future will bring in 3.1, 3.5 or
>> even
>> 4.0?
>>
>> Thanks
>>
>>
>
> There will be a 3.1 version. This 3.1 version will be able to run 3.0
> program without recompilation (normally), but 3.1 programs will not run
> with the 3.0 interpreter. I want to fix the following in 3.1: the IDE
> packager (as much as possible), the components/libraries dependencies
> system.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Questions

2012-02-18 Thread M. Cs.
Thanks!


2012/2/18, Andreas Fröhlke :
> 1. just set the text property of your form
>
> 2.
> DIM REStest as Result
>
> REStest = MyConn.Exec("SELECT sum(myrow) FROM MyTable;)
> FOR EACH REStest
>   PRINT REStest["sum(myrow"]
> NEXT
>
>
>
> -Ursprüngliche Nachricht-
> Von: M. Cs. [mailto:mohar...@gmail.com]
> Gesendet: Samstag, 18. Februar 2012 12:48
> An: mailing list for gambas users
> Betreff: [Gambas-user] Questions
>
> Hi, I have some questions:
> 1. Is it possible to set/change the text of panel button. I mean the
> K3b's panel button(of minimized window) shows the process of writing
> in %. Is this possible with Gambas?
> 2. How could I retrieve the result from the following query:
> MyConn.Exec("SELECT sum(myrow) FROM MyTable;)
>
> Csaba
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Questions

2012-02-18 Thread M. Cs.
Hi, I have some questions:
1. Is it possible to set/change the text of panel button. I mean the
K3b's panel button(of minimized window) shows the process of writing
in %. Is this possible with Gambas?
2. How could I retrieve the result from the following query:
MyConn.Exec("SELECT sum(myrow) FROM MyTable;)

Csaba

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Start a form minized

2012-02-08 Thread M. Cs.
Just a trick:
Add a Timer to FMain
and set the Timer1 Enabled to true.
Add the following procedure

Public Sub Timer1_Timer()
FMain.Minimized = True
Timer1.Enabled = False
End

This will hide FMain 1 seconds after the start. Probably not the
solution you are looking for...

Csaba

2012/2/8, Rolf Schmidt :
> Hi M. Cs.:
>
>> Try to add at the
>> Public Sub Form_Open()
>> Me.Minimized=True
>> .
>> End
>
> Because this didn't work, I asked.
>
> Any other ideas?
> Thanks
> Rolf
>

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Start a form minized

2012-02-07 Thread M. Cs.
Try to add at the
Public Sub Form_Open()
Me.Minimized=True
.
End


2012/2/7, Rolf Schmidt :
> Hi everybody out there
>
> is it possible to start a form minimized or invisible.
> I use a TrayIcon to terminate the program and program should stay in the
> background and wait for incoming calls. Then a second from will be shown
> with
> the connection data but the main form - which only has a close button -
> should not be shown.
>
> Any help?
> Thanks
> Rolf
>

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2012-02-06 Thread M. Cs.
And I agree with Fabien
I just over with the transcription of former wrongly formatted query style ->
query="INSERT INTO."
MyConn.Exec(query)
Don't use that style! You will make only troubles with escaping characters.
The right way is MyConn.Exec("INSERT Into ...
VALUES(&1,&2...);",myvar1,myvar2,...)

2012/2/6, Fabien Bodard :
> sql = "INSERT INTO statistic (TimeCode, SessionStart, SessionEnd, Kluch,
> Comp) VALUES (&1,&2,&3,&4,&5)"
> MODMain.$Con.Subst(sql, T, Now(), Now(), kluch, Nc)
> MODMain.$Con.Exec(sql)
>
>
> 
>
> i prefer like that :
>
> MODMain.$Con.Exec("INSERT INTO statistic (TimeCode, SessionStart,
> SessionEnd, Kluch, Comp) VALUES (&1,&2,&3,&4,&5)",T, Now(), Now(),
> kluch, Nc)
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Creating button as class element with variable function

2012-02-04 Thread M. Cs.
Is it possible to create a button with dinamically changeable action?
I would like to have something like:
Public Sub AddGomb2(sz As Integer, m As Integer, x As Integer, y As
Integer, q As Container, szoveg As String, operation as String)
  Dim gomb As Button
  gomb = New Button(q) As "Gomb2"
  gomb.Width = sz
  gomb.Height = m
  gomb.X = x
  gomb.Y = y
  gomb.Text = szoveg
End

I would like to replace "Gomb1" with a passed value, so to have a
reusable button upon creation. I mean, if I have multiple buttons on a
form, i would use:
myclass.AddGomb2(,"action1")
myclass.AddGomb2(,"action2")
myclass.AddGomb2(,"action3")

Is that manageable?

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   >