Re: [Gambas-user] RaspberryPi
It's not possible to just upload a package to Launchpad, it has to be built there. PPAs can't built armhf by default, it must be enabled, and they only do it for official projects. I already asked them to enable arm builds for the Daily PPA and they wouldn't do it. -Original Message- From: John Rose john.aaron.r...@gmail.com Date: Tue, 18 Dec 2012 10:16:37 To: GambasUsers, MailingListgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] RaspberryPi Rob Emil, It would be better if the armhf packages could be put into a ppa like nemh has done for Gambas3 with the relevant Ubuntu packages. I've noticed on someone's blog (http://blog.anantshri.info/howto-add-ppa-in-debian/) that a ppa repo can be accessed in Debian Squeeze. Do you think it's worth asking kendek (i.e. nemh) if he would be willing to host the armhf packages and transfer them from http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/ ? -- Regards, John 01902 331266 -- 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] IMPORTANT! Sourceforge upgrade
Until I sort out the automatic import of the SVN repository, the Daily Builds PPA will be stuck at revision #5418 (somehow it got imported). I'm not sure if I can just change the repository URL, so the reimport is most likely going to take some time. -Original Message- From: Benoît Minisini gam...@users.sourceforge.net Date: Sat, 08 Dec 2012 02:30:26 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade Hi, Sourceforge has upgraded the Gambas project from its old management software to the new one. Consequently, the subversion repository has been migrated to a new place, and then all the checkout you have done on your local computer is now invalid, and you must do a full checkout again. Alas, this process took a long time, and I forgot to send a mail to the user mailing-list to warn people *not* to do any commit. (I did on the developer maling-list) So I'm afraid that the revision #5417 with German translations has been lost and must be committed again to the new repository. Here is the new command for doing the checkout. I will try it soon on my own machine... The information is on https://sourceforge.net/p/gambas/code/ For a read-only access: $ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk For a read-write access: (I don't know why there is a difference!) $ svn checkout --username=username svn+ssh://gam...@svn.code.sf.net/p/gambas/code/gambas/trunk 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] Having an overidden class constructor
In fact, your code is okay, but when creating an instance of a class without arguments you need too skip the parenthesis. -Original Message- From: laurent bernabe laurent.bern...@gmail.com Date: Thu, 22 Nov 2012 18:42:41 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Having an overidden class constructor Hello, I am coding a Vector3f class (representing a Mathematical vector), and I would like that instances of this class can be made from two ways : - either by calling New Vector3f() for a vector located at the origin (0,0,0) - or by supplying 3 arguments, such as with New Vector3f(1,2,-3) In my source file (Vector3f.class) : I designed the _new procedure by giving 3 optionnal float. But when I call (In MMain.module) New Vector3f(), I get the error Unexpected ')' at line 20. So, did I misunderstand optionnal parameters ? Thank in advance -- 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] Object Array problem
IMO, the problem is that you are just updating the values of dataset, and then adding it to the array. All items point to the same object, and end up having the value of the last update. You should create a new instance of the structure in each loop. -Original Message- From: wally wa...@voosen.eu Date: Fri, 09 Nov 2012 15:36:40 To: Gambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Object Array problem What is bad in this code ? ' Gambas class file Public Struct Tupel x As Integer y As Integer End Struct Public dataArr As New Tupel[] Public Sub Button1_Click() Dim i As Integer Dim dataset As New Tupel For i = 0 To 9 dataset.x = (i + 1) dataset.y = (i + 1) * 10 dataArr.Add(dataset, 0) Print i, dataset.x, dataset.y Next Print \n\n For i = 0 To dataArr.Max Print i, dataArr[i].x, dataArr[i].y Next End Output: 0 1 10 1 2 20 2 3 30 3 4 40 4 5 50 5 6 60 6 7 70 7 8 80 8 9 90 9 10 100 0 10 100 1 10 100 2 10 100 3 10 100 4 10 100 5 10 100 6 10 100 7 10 100 8 10 100 9 10 100 project attached thx wally -- 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
Re: [Gambas-user] gb.net.pop3 example?
I have a really simple example, but it's not finished yet. I will upload it tomorrow once it's finished ;) -Original Message- From: Christer Johansson li...@hth.com Date: Wed, 17 Oct 2012 18:05:11 To: 'mailing list for gambas users'gambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] gb.net.pop3 example? Anyone used the new POP3 component and have a simple example to share? I'm a bit unsure how to use it in a CLI app since it's not creatable like ClientSocket etc. /CJ -- 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 -- 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] Gambas-3 Ubuntu 12.10 Quantal
The svn revision used to build the package can be calculated using the revno on its name +1105 (Due to a bug on how source packages are built, i can't yet use the real revision). The version 3.2.90 corresponds to the 3.3 release, which has not been made. -Original Message- From: John Rose john.aaron.r...@gmail.com Date: Fri, 24 Aug 2012 08:32:48 To: GambasUsers MailingListgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Gambas-3 Ubuntu 12.10 Quantal FAO Sebastian Kulesz, How do the svn version shown on the Launchpad webpage of your ppa relate to the version number, which Benoit quotes when asking people to try a new version (for bug fixes / new features)? For example, Benoit asked me to try revision #5070 and the webpage currently states svn 3968 version 3.2.90. Is there a webpage that has a list of these numbers and their correspondences? -- 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] An arbitrary precision calculator class
Great workaround!! I created a snippets page on the wiki some time ago, you will find a link on the main page. Feel free to add it there! -Original Message- From: Jussi Lahtinen jussi.lahti...@gmail.com Date: Sat, 25 Aug 2012 03:59:58 To: Gambas mailing list for users.Gambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] An arbitrary precision calculator class Almost forgot... Some weeks(?) ago I noticed that people tend have problems with floating point precision (problem with all general purpose languages). So, I'll share my quick dirty solution. Short but useful code if you need very precise numbers for math, but speed is not crucial. I personally use it for prototyping. This is for class (name it BcClass): Private hPro As Process Public Function _call(sFunc As String) As String Dim ss As String Print #hPro, sFunc Input #hPro, ss Return ss End Public Sub _new(Optional iPrecision As Integer = 100) hPro = Exec [env, BC_LINE_LENGTH=0, bc] For Read Write Print #hPro, scale= CStr(iPrecision) End Public Sub Stop() hPro.Close() End This is how you use it: Dim Calculate As New BcClass(8) Print Calculate(1+2/7^2.4) 1.04081632 And when all calculations are done, end your code with Calculate.Stop(). BTW. Is there some place for code snippets? Jussi -- 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] Check on entered number having more than 6 digits not working
What about this?? Round(latitude, -6) http://gambasdoc.org/help/lang/round?v3 -Original Message- From: John Rose john.aaron.r...@gmail.com Date: Mon, 13 Aug 2012 14:31:32 To: GambasUsers MailingListgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Check on entered number having more than 6 digits not working Fernando, The number of digits does matter. The use of this Gambas app is for maintenance of a database which is used by an Android app that I'm currently developing. I don't intend to discuss why the number of digits matters to the Android app except to say that it does. Thus, the Gambas app is required to do this validation. -- 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] Flash (.swf) on form
You could load it using a webkit object, provided that the user has flashplayer.so installed. IMO just referencing the local (or remote) flash file on a really simple html page should work. Hope this helps you! -Original Message- From: abbat abbat...@mail.ru Date: Wed, 18 Jul 2012 13:39:46 To: gambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Flash (.swf) on form Is it possible to play flash (.swf) on form. I could not find any example. Thanks -- View this message in context: http://old.nabble.com/Flash-%28.swf%29-on-form-tp34181536p34181536.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] DBUS Example - Seg Fault
Same here using Archlinux x64. Happens when trying to expand the org group of the treeview. It may be the updated gb.xml. Go ahead with the bug report! ;) -Original Message- From: John Spikowski supp...@scriptbasic.org Date: Sat, 14 Jul 2012 19:11:10 To: Gambas-Usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] DBUS Example - Seg Fault I just compiled the latest build (4949) and wanted to try the DBUS example. I get a Segmentation Fault(11) when I select any item from the listbox. Ubuntu 11.04 64 bit. Can someone else give it a try and see if they are having issues as well before I create a bug report? -- 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] Application Error on latest svn
I have the same error, I sent an email to the list yesterday reporting it. Only fix now is to revert to an older commit. -Original Message- From: Demosthenes Koptsis demosthen...@gmail.com Date: Thu, 14 Jun 2012 18:16:24 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Application Error on latest svn Hi list i checkout latest svn 4829 and i get an application error when i start gambas3 see screenshot please help. -- 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] update rev. 4818 to 4828 IDE failer
This bug has already been reported 4 times on the mailing list!! The only fix available now is to revert to a previous commit, and wait. -Original Message- From: RICHARD WALKER richard.j.wal...@ntlworld.com Date: Thu, 14 Jun 2012 00:51:09 To: karl.re...@fen-net.de; mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] update rev. 4818 to 4828 IDE failer 1. your log files have zero length. Try uploading them again. 2. just guessing, I had a problem with this before, are your gambas3 libraries all installed in the usual place for 64-bit libraries? Richard On 13/06/2012, Karl Reinl karl.re...@fen-net.de wrote: Salut, can't start the IDE any more!!! [System] OperatingSystem=Linux Kernel=3.0.0-16-generic Architecture=x86_64 Memory=1019076 kB DistributionVendor=LinuxMint DistributionRelease=Linux Mint 12 KDE Desktop=KDE4 [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.2 r4828 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.4 GTK+=libgtk-x11-2.0.so.0.2400.6 -- Amicalement Charlie -- 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] GB.JIT Crashes
The source can be found here: http://bazaar.launchpad.net/~sebikul/mundus/trunk/view/head:/.src/Main.module Let me know if you need more info! Thanks!! -Original Message- From: Emil Lenngren emil.lenng...@gmail.com Date: Sun, 10 Jun 2012 01:06:19 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] GB.JIT Crashes Yes please, how does your source code look like? Are you trying to enumerate a class? /Emil 2012/6/9 Sebastian Kulesz sebi...@gmail.com Hi! I'm getting a crash when I place the fast keyword on top of a module. The output: 19PushClassExpression gbx3: jit.h:145: virtual llvm::Value* Expression::codegen_get_value(): Assertion `false codegen_get_value not done yet for this type' failed. If you need the source let me know! Thanks! -- 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] crypt.md5 vs md5sum
You should use echo -n to prevent it from printing a /n character. But anyway, they are different. -Original Message- From: Demosthenes Koptsis demosthen...@gmail.com Date: Mon, 11 Jun 2012 11:59:10 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] crypt.md5 vs md5sum hello, i noticed a difference between crypt.md5 function and command md5sum. Both give different results echo password | md5sum is different from crypt.md5(password) why is that? -- 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 3.1 and Exec (Bug or NOT?)
Hi! If the only thing you want to do is test if a given binary is present on any of the $PATH folders, you can use the CheckProgram function used on the Prooject.module file of the IDE source code. It returns false if present, true if missing. Hope it helps! -Original Message- From: Willy Raets wi...@earthshipbelgium.be Date: Fri, 13 Apr 2012 18:05:49 To: Benoît Minisinigam...@users.sourceforge.net Reply-To: wi...@earthshipbelgium.be, mailing list for gambas users gambas-user@lists.sourceforge.net Cc: mailing list for gambas usersgambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) The bug was in Gambas 3.0. Now, in Gambas 3.1, if you try to run a program that does not exist, you get an error. Normally you should get that error message: Cannot run child process: cannot exec program: Resource temporarily unavailable in SysInfo:11 I don't really understand why you get Success instead. Regards, Hi, Okay, so instead of executing command to a string and testing for length of returned string, I now use Try Exec[] to string and that seems to the job. But now on closing the application gbx3 is not closed. Some process seems to prevent the application from correctly closing. The form closed but that's all. Project attached [System] OperatingSystem=Linux Kernel=2.6.35-32-generic Architecture=i686 Memory=2051620 kB DistributionVendor=Ubuntu DistributionRelease=Ubuntu 10.10 Desktop=Gnome [Gambas 2] Version=2.24.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 -- 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] Release of Gambas 3.1
Thanks a lot To be able to provide gambas3 packages on ubuntu you need to talk to a MOTU(masters of the universe) tu submit the packages and find a maintainer. The work is already done, as gambas3 has been already debianized (it has a ppa). If you need any help please ask! -Original Message- From: Benoît Minisini gam...@users.sourceforge.net Date: Sun, 08 Apr 2012 15:25:10 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Release of Gambas 3.1 Hi, This new release fixes more than 150 bugs and adds more than 120 new features. All Gambas 3.x versions will be backward-compatible, i.e. a program written in Gambas 3.0 version will be able to run unchanged with any Gambas 3.x version. But the contrary is false: a program written with a specific Gambas 3.x version will not run with an older version. Beware that this is taken into account by the IDE packager only since Gambas 3.1! To get the details, go the website and read the Release Notes! Enjoy it! P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas 3 binary packages. Anyone has any idea about that? -- Benoît Minisini -- 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] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories
No problem, I will try to make a patch based on the diff2 file. I won't have time until tomorrow noon, but I will definitely do it. Thanks for your help -Original Message- From: gam...@googlecode.com Date: Tue, 03 Apr 2012 11:19:38 To: gambas-user@lists.sourceforge.net Reply-To: codesite-nore...@google.com, mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories Comment #4 on issue 229 by adamn...@gmail.com: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Good! If you have gone though the history of 143, you'll see that I wasn't too sure of diff2 as, like Benoit, I couldn't really understand what Laurent was trying to do. So it is left in abeyance. I am a bit busy at the moment (gb2-gb3 migration, new house, new job, blah blah, etc) and I don't really have the time in the next couple of days (or possibly weeks) to devote any time to this. But if you have any suggested changes re diff2, I'd appreciate the input so that that one could be put to bed. Further conversations should probably best be put on the mail forum. cheers Bruce -- 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] Load hidden file to variable?
Hi! Try to use User.Home instead of ~. I.e. File.Load(User.Home / /.applicationtempfile/.hiddendir/file) -Original Message- From: sundar j sundar_...@rediffmail.com Date: 31 Mar 2012 15:36:56 To: gambas-usergambas-user@lists.sourceforge.net Reply-To: sundar_...@rediffmail.com, mailing list for gambas users gambas-user@lists.sourceforge.net Subject: [Gambas-user] Load hidden file to variable? I need to load file to a variable which is residing in side a hidden folder. So i tried to load it like If Exist(~/.applicationtempfile/.hiddendir/file) = True Then search = File.Load(~/.applicationtempfile/.hiddendir/file) ... rest of coding ... However obove code does not work. Any help??? -- 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
Re: [Gambas-user] About documentation in gambas3: error with gridview class
Hi! I'm also affected by this bug. It started some days ago. Clearing the documentation won't help. AFAIK, this only happens with qt4/gtk classes. I will try to debug the problem when I get home. My guess, somehow the IDE is using gb.qt in stead of gb.qt4. I don't know exactly why, everything worked fine a week ago. -Original Message- From: Benoît Minisini gam...@users.sourceforge.net Date: Thu, 29 Mar 2012 18:45:17 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] About documentation in gambas3: error with gridview class Le 29/03/2012 18:38, Santiago Oberto a écrit : Good morning! I have just installed gambas3 in a fresh start of Fedora 16. Everything worked just perfect in my previous Fedora 14. But now I don't get the correct tip-box/help while I am using gambas IDE. For instance: if I create a Gridview, while i am writing: dim myGridview as Gridview i get the message: This class does not exist in version 3.0. But the program run just fine and the IDE works perfect. It's just an issue of the help messages. I would like to get this message: http://gambasdoc.org/help/comp/gb.form/gridview?v3 instead of this (this is the one the IDE is currently displaying): http://gambasdoc.org/help/comp/gb.qt/gridview?v3 By the way, I have gb.gui on and gb.gkt and gb.qt4 off. Any suggestion would be appreciated. Santiago. Go the option dialog, click on the Clear documentation cache button, and tell me if it helps. Regards, -- Benoît Minisini -- 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] How to compile gambas3 with debugging information
Hi, I would like to know how to compile gambas with debugging information, more specifically, to get information about memory allocations. This is because I'm getting an error every time I close my app about x allocations non freed. It would be nice if I could help fix this bugs. I've been playing a bit with gb_alloc_temp.h, but I couldn't get it to compile without throwing lots of errors If I manually enabled debugging. Thanks! -- 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
Re: [Gambas-user] Probem analysing Desktop path
Maybe you can use this [0], from the gb.desktop component. I'm not sure if it works with other desktop directories as you need. [0] http://gambasdoc.org/help/comp/gb.desktop/desktop/path?v3 -Original Message- From: Jussi Lahtinen jussi.lahti...@gmail.com Date: Tue, 6 Mar 2012 21:55:04 To: wi...@earthshipbelgium.be; mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Probem analysing Desktop path In Ubuntu desktop path is in ~/.config/user-dirs.dirs Jussi On Tue, Mar 6, 2012 at 21:51, Willy Raets wi...@earthshipbelgium.be wrote: On di, 2012-03-06 at 20:34 +0100, Matti wrote: Willy, The easiest solution to store some infos would be to use gb.settings. Then you don't have to care about directories at all, gambas does it for you, and you can read/write the infos very easily. See http://gambasdoc.org/help/comp/gb.settings But I don't know what you store in your SystemInfo.txt, maybe this is not practicable. That would not be practical. The SystemInfo.txt is a file that provides system information (like window manager used, desktop used, gambas version, gambas path, and a lot more) and error information (when an error occurs) from systems the application run on. For example: I have some problems not related to my application but related to Gambas version runtime installed (gbx2 2.22 gives problems) on the users system. Solution when I get a SystemInfo.txt from him would be upgrade runtime to version 2.22 or 2.23. Understand the reason. I have some other problem related only on certain distros with KDE for example. This systeminfo text is central in my error reporting system as it tells me a lot about the behaviour of my application on different distros, desktops and so on. Really useful to me. If so, why do you want to use ~/Desktop by all means? Why not make a directory ~/.YourApp and store the SystemInfo.txt there? So it would be the same on every system? Putting the file on the desktop makes it easy for the user to find and send back to me. We are talking end users here, so it needs to be easy for them. That is why. I was hoping for something like on Widows (%desktop%) which always works no matter what language, but I guess there is no sort of equivalent that works on all linux distros. At least I could not find it. Thanks for thinking along Willy -- 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 -- 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 -- 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] Architecture of gambas binary files
Hi, I would like to know if the gambas binaries created from the IDE, debian, packages or any other type of compilation are architecture dependent or not. i.e. Can a gambas binary compiled on a i386 be executed on amd64? Thanks! -- 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] Bug duplicate
Hi! Due to an error on my side, bugs #214 and #215 where created as duplicates of #213. They can be removed. I'm really sorry for that. -- 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] Code snippets category in the wiki
I tried to create a page at gambasdoc.org/help/snippets using my credentials, but it seems I can only edit pages. Could you check this please? -Original Message- From: Benoît Minisini gam...@users.sourceforge.net Date: Mon, 02 Jan 2012 19:58:11 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] Code snippets category in the wiki Le 02/01/2012 07:20, Sebastian Kulesz a écrit : Hi!! I would like to know what do you think about a Code Snippets category being added to the wiki. It would be a place to share common pieces of code that tend to be used (and coded from scratch) a lot. Yes, great idea. As soon as I don't do it myself, it's already a good idea. :-) -- Benoît Minisini -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Multiline question
On 10/06/2011, at 09:21, tobias tobiasb...@web.de wrote: hello, i have a question about long lines. i know one can split long IF-statements at logical operations like IF TRUE = TRUE AND FALSE = FALSE THEN but is there a way to do that splitting in normal code? i think of something like i = \ 2 which should end up as i = 2 for the interpreter. is there something like this? regards, tobi -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user You can do like this: Foo=bar Var1 foo Which results in: barVar1foo -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Facebook Component
On dom 05 jun 2011 06:22:03 ART, Fabien Bodard wrote: it don't work for me :/ seem to have problem with the password Le 5 juin 2011 04:27, Sebi Kul sebi...@gmail.com a écrit : On sáb 04 jun 2011 19:22:56 ART, Benoît Minisini wrote: Hi all! I have been working the last few days on a Facebook component to make GAMBAS more social and web friendly. It doesn't have many bugs, it misses some features, and it may crash at any time (no error managment implemented). BUT, it works. You don't have to use ByRef for object references. Objects are already references! To detect that in your code, just check that, for example, the FB object reference passed by reference is never modified by the function. Only the object is modified! Regards, Hi! I just updated the component! To provide updates, SVN, downloads, and future components, I created a project on Google Code. You can access it here: http://code.google.com/p/gambas-online/ To download new releases, you can head to :http://code.google.com/p/gambas-online/downloads/list If you are using Ubuntu, you can use the .deb file to automatically list the component -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Remember you need to have an AppID and an API Secret to test the component. You cant just execute it and run it, as it will fail to authenticate. If this is not your problem, could you be more specific please? This way i would be able to solve the bug. Thanks! -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Facebook Component
Hi all! I have been working the last few days on a Facebook component to make GAMBAS more social and web friendly. It doesn't have many bugs, it misses some features, and it may crash at any time (no error managment implemented). BUT, it works. The only things I have implemented so far are: A. *Authentication:* Done using an HTTPClient instance and gb.qt4.webkit to request the user to login.*[1]* Also, I had to code a basic OAuth2 Module, this can be moved into another component to allow interoperability between Facebook and other services using OAuth2, like Google services, etc. [1] I really had to decide between this two options. The first one was to pass the offline_access scope to store an access token *without expiration*. The storage of this token is done using the gb.desktop component (GNOME Keyring, KWallet, etc). The second option was to show a window every time the user started the program requesting him to login and update the token (not good at all) I choose the first option after all, it's easier to use, implement, code, etc. It looks better for the end-user and needs a lot less code. B. *Basic Graph API access:* when you execute the component a window will pop up with a few options to let you interact and test the API. To use it, you must first authenticate, ergo, you need an AppID and an API Secret key (you can create a sample application or use your personal access token). * The data returned by the component is a Json object. The component is ready for use, although it's still BETA, it can be used while developing a parallel application, please *do no use it on stable releases*. That being said, I hope you like it and find it easy/helpful. I will be releasing updates to this component via the mailing list just as I am doing now. Regards 0xC5D113F0.asc Description: application/pgp-keys Facebook_for_Gambas-0.0.1.tar.gz Description: GNU Zip compressed data -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Facebook Component
On sáb 04 jun 2011 19:22:56 ART, Benoît Minisini wrote: Hi all! I have been working the last few days on a Facebook component to make GAMBAS more social and web friendly. It doesn't have many bugs, it misses some features, and it may crash at any time (no error managment implemented). BUT, it works. You don't have to use ByRef for object references. Objects are already references! To detect that in your code, just check that, for example, the FB object reference passed by reference is never modified by the function. Only the object is modified! Regards, Hi! I just updated the component! To provide updates, SVN, downloads, and future components, I created a project on Google Code. You can access it here: http://code.google.com/p/gambas-online/ To download new releases, you can head to :http://code.google.com/p/gambas-online/downloads/list If you are using Ubuntu, you can use the .deb file to automatically list the component -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb.Desktop and Gnome Keyring
On mié 25 may 2011 21:21:24 ART, Benoît Minisini wrote: Hi! I wanted to know how is the keyring accessed using Gambas. I found on the gb.Desktop component a Gambas class (_DesktopPasswords) and a C component when the desktop enviroment is Gnome. but i couldn't find any info regarding it's usage. The _DesktopPasswords is exported as a static class, but it isn't loaded outside the component, the same with the C component. How could i do to be able to get and set passwords? Also, will the component ask the user to unlock the keyring or will it fail (with an error)? and how is the name of the key defined? Thanks all! To store a password: Desktop.Passwords[Key] = Password Key is a way to identify your password inside the password storage system. To read a password: Password = Desktop.Passwords[Key] What happens exactly depends on the password storage system. As I don't use Gnome, you will tell me! The Gnome keyring is accessed through the gb.desktop.gnome hidden component. Look at the source in ./gb.desktop/src/gnome to see which code is executed exactly to access the keyring. Regards, It works flawlessly, and if the keyring is locked it asks you to enter it's password. I've made an example to test this before including it into my project, if you would like to add it to the examples please let me know. Thanks a lot! -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Dynamically loading components
Hi! I am using Gambas 3 to develop a modular application. I would like to know if it's possible to load components dynamically (If the component file exist, load it, if not, skip the execution code where the component's functions are called) What I have so far is this: == Try Component.Load(daily-school-online.gambas) If Component.IsLoaded(daily-school-online.gambas) Then OnlineModuleLoaded = True Endif = But for this to work, I have to add the component as a library on the projects setting dialog, meaning that if the file does not exist, the program wont start. I also have the problem that if I don't add the component as a library, the project wont compile, as the parser will find functions that don't exist on this project, but are declared on the component. Does anybody have any ideas on how to achieve this? 0xC5D113F0.asc Description: application/pgp-keys -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Dynamically loading components
The reason for doing this is the following: I'm developing a project which would theoretically have 2 modules, the base one (the program itself) and the online module, (which adds synchronization capabilities). Because i would like to keep the classes inside the Online module hidden, to avoid any security issues (the base project is subversioned) i am including it as a separate component. What i would like to do is let the base component look for the online module, if it finds it, load it, if not, disable the sections in the GUI that use this functions/classes. I managed to remove the compile errors by creating classes in the Base project with the same name as in the Online component, and inheriting the corresponding class. I just need to know how to load the component only if the file exist. Thanks all for your help! On mar 10 may 2011 21:56:27 ART, Benoît Minisini wrote: Hi! I am using Gambas 3 to develop a modular application. I would like to know if it's possible to load components dynamically (If the component file exist, load it, if not, skip the execution code where the component's functions are called) What I have so far is this: == Try Component.Load(daily-school-online.gambas) If Component.IsLoaded(daily-school-online.gambas) Then OnlineModuleLoaded = True Endif = But for this to work, I have to add the component as a library on the projects setting dialog, meaning that if the file does not exist, the program wont start. I also have the problem that if I don't add the component as a library, the project wont compile, as the parser will find functions that don't exist on this project, but are declared on the component. Does anybody have any ideas on how to achieve this? Why do you want to dynamically load components ? In Gambas, the only reason for doing that is preventing the load of unneeded shared libraries (i.e. native components). If you are not in that case, then you can put all your code in the same project. Gambas loads a class the first time it is used, so if you don't use a class, it will never be loaded. Regards, -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] IconPanel doesn't follow Enabled propriety
Hi all! I was just testing my app and I realized that when I do: -- Me.Enabled=False -- or -- IconPanel1.Enabled=False -- Although the form is disabled, and the IconPanel container is disabled, the icon list isn't (meaning that the user can still change the list index and raise new events when it is supposed that he shouldn't). Could anybody check this to know if it's only my (app) problem or if it's actually a bug that needs to be reported? Thanks!! 0xC5D113F0.asc Description: application/pgp-keys -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Run-time bug
Hi! Try to use: test[0].Add(Logon) It should work then On 05/05/2011, at 00:30, nando nand...@nothingsimple.com wrote: ' Gambas class file PRIVATE test AS String[30, 30] PUBLIC SUB my_test() test = [Voice, Logon] '---If I REM this, there is no runtime error on next line test[0, 1] = Logon '---Runtime error: Bad Number of Dimensions PRINT test.count END Gambas2 -Fernando -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Can Gambas play mp3 Files?
On mar 05 abr 2011 18:41:16 ART, Tomek wrote: I've tried to use SDL music component to play mp3 file, but I can't. In Example Music player it loads and seems to start, but holds on 0:00:00 with no action or error. I tried Gambas 2 and Gambas 3 on Ubuntu Studio 10.10, Debian 6, Ubuntu Studio 11.04. No luck. Tomasz Kolodziejczyk - Ksiegowa radzi: Jak załozyc firme w 15 minut? http://linkint.pl/f2968 -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Have you read this [0] page? It explains how to install the proprietary codec. In short words: $ sudo apt-get install ubuntu-restricted-extras This is just for Ubuntu, i dont know exactly how to install the codec in the other distros PD: this could be added as a dependency when using ubuntu based distros [0]: https://help.ubuntu.com/community/RestrictedFormats/MP3 -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user