Re: [Gambas-user] Please help
The CD image is split up into multiple RAR archives. You'll need to install unrar to be able to extract it and get the image file from inside. On 21 April 2010 17:14, Zelimir Ikovic zelimir_iko...@yahoo.com wrote: http://code.google.com/p/domotiga-livecd/downloads/list When I download Live CD there is 8 files, what is next to do -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] trouble with cgi scripting - Error 24 No Startup Method
Hi list, I've been writing some scripts and keep getting this Error 24 No Startup Method. This is what I get when I run them directly from the console: gbw2 -v index.cgi gbs: compiling server page USE gb.web PUBLIC SUB Main() Response.Buffered = TRUE Response.Begin _PrintPage() Response.End END PRIVATE SUB _PrintPage() DIM sEnv AS String PRINT html stuff is here END gbs: create project gbs: process file: /tmp/gambas.0/16002/gs.tmp ERROR: #24: No startup method I've tried this on two different pc's, both with a clean ubuntu 9.10 install on and gambas 2.13. The scripts work the first time, then after a couple of minutes literally just stops working and I have no idea why. If anyone could shed any light on this it would be much appreciated. (I have attached the script that I'm running thats generating this error for me. The strange thing is this script worked the first time and I haven't made any changes to it) Thanks. -- joshua higgins -- test.cgi Description: Binary data -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] trouble with cgi scripting - Error 24 No Startup Method
its still not working with 2.18 on lucid, im compiling 2.19 now -- joshua higgins -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] trouble with cgi scripting - Error 24 No Startup Method
The strangest thing has happened. Once I installed all the development libraries ready to compile gambas 2.19, it started working again with 2.13 installed from the ubuntu repository. These are what I have just installed: Development packages: libice-dev libsm-dev x11proto-xext-dev x11proto-fixes-dev libxfixes-dev x11proto-composite-dev libxext-dev libxcomposite-dev x11proto-render-dev libxrender-dev libxcursor-dev x11proto-damage-dev libxdamage-dev libexpat1-dev libfreetype6-dev libfontconfig1-dev libxft-dev libxi-dev x11proto-xinerama-dev libxinerama-dev x11proto-randr-dev libxrandr-dev libxt-dev x11proto-record-dev libxtst-dev firebird2.1-dev libart-2.0-dev libasound2-dev libattr1-dev libacl1-dev libaspell-dev libbz2-dev libgpg-error-dev libgcrypt11-dev libtasn1-3-dev libgnutls-dev comerr-dev libkrb5-dev libcups2-dev libidn11-dev libidn11-dev libjasper-dev libilmbase-dev libopenexr-dev libpcre3-dev liblua50-dev liblualib50-dev libxmu-dev libjpeg62-dev liblcms1-dev libmng-dev libpng12-dev libaudio-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev qt3-dev-tools libqt3-mt-dev libsasl2-dev libtiff4-dev libxml2-dev libxslt1-dev libavahi-common-dev libdbus-1-dev libavahi-client-dev libavahi-qt3-dev kdelibs4-dev libslang2-dev libncurses5-dev libaa1-dev libaa1-dev libglib2.0-dev libatk1.0-dev libaudiofile-dev libidl-dev liborbit2-dev libpopt-dev libbonobo2-dev libcaca-dev libsysfs-dev libdirectfb-dev libpixman-1-dev libxcb-render0-dev libxcb-render-util0-dev libcairo2-dev libomnithread3-dev libomniorb4-dev libcos4-dev libldap2-dev libcurl4-gnutls-dev libesd0-dev libogg-dev libflac-dev libgif-dev libglew1.5-dev libpango1.0-dev libgtk2.0-dev libgtkglext1-dev libltdl-dev libimlib2-dev libmikmod2-dev libmikmod2-dev libmysqlclient15-dev libpoppler-dev libpoppler-glib-dev libpq-dev libsqlite0-dev libqt4-dev libqt4-opengl-dev librsvg2-dev libsage-dev libsdl1.2-dev libsdl-image1.2-dev libvorbis-dev libsmpeg-dev libsdl-mixer1.2-dev libspeex-dev libsdl-sound1.2-dev libsdl-ttf2.0-dev libsqlite3-dev libv4l-dev libffi-dev unixodbc-dev These other packages were brought in by apt too: libexpat1 libxmu-headers libglib2.0-0 libxml2 libkrb5support0 libk5crypto3 libkrb5-3 libgssapi-krb5-2 libgssrpc4 libkdb5-4 libkadm5srv6 firebird2.1-common-doc firebird2.1-common libfbclient2 gettext-kde libcairo2 libavahi-common3 libavahi-client3 libcups2 libgtk2.0-0 libgail18 libgail-common gtk2-engines-pixbuf libasound2 called libpcrecpp0 lua50 libqt3-headers libtiffxx0c2 kdesdk-scripts libdirectfb-extra libomnithread3c2 libomniorb4-1 libcos4-1 libglew1.5 libgtkglext1 libimlib2 libodbcinstq1c2 libpoppler5 libpoppler-glib4 libpq5 libqt3-compat-headers libqt4-assistant libqt4-scripttools libqt4-xmlpatterns libqt4-help libqt4-test qt4-qmake libsage2 libvorbis0a libvorbisenc2 libvorbisfile3 libsdl-sound1.2 libsdl-ttf2.0-0 libtool orbit2 I assume that one of these must be required for gbs2, but I can't think which one. -- joshua higgins -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] trouble with cgi scripting - Error 24 No Startup Method
Looks like I spoke too soon, its stopped working again. Just waiting for 2.19 to compile. -- joshua higgins -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] trouble with cgi scripting - Error 24 No Startup Method
I'm still having this problem, I haved tried it now with 2.13, 2.18, 2.19 and svn and they are all the same. I have a feeling its something Ubuntu related, because it is intermittent. It has been working for the last 30 mins, but now it has stopped again, giving me the Error 24 again and again. I've noticed that in /tmp/gambas.0/script-cache, there are all my scripts compiled. It is not working normally (through the web browser), but if I run one of the scripts directly from the cache when it was compiled 30 mins ago (when it was working), it works. But the script I've tried to run just now does not work, even if you manually run the executable in the script cache. This is all very strange. It seems that sometimes gbw2 will compile an executable that has the error 24, and sometimes it does not. Or is it the interpreter, gbr2, that is sometimes producing the error 24? -- joshua higgins -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] trouble with cgi scripting - Error 24 No Startup Method
OK, I started from scratch, installed Ubuntu 9.10, compiled svn, and it works as expected. -- joshua higgins -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] changing the picture in a columnview item
Hi list, I'm creating a columnview item to show status, like this: MachineView.Add(192.168.0.1, router, Picture.Load(waiting.png)) ... MachineView.Item[4] = Waiting But then changing it later on as a status update comes in like this: MachineView[thekey][4] = Online My question is, how can I change the picture that I originally created this item with? I want to change it to either online.png or offline.png Thanks. -- joshua higgins -- -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] changing the picture in a columnview item
Of course, in the simplest of places! -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] report-ng script
Good idea, seems better that way. Benoit, is there a central place we can put this script? 2010/1/17 Doriano Blengino doriano.bleng...@fastwebnet.it: Hi Joshua, just took a look at your script, and wanted to make a stupid suggestion. Instead of writing: echo [OperatingSystem] $OutputFile echo OperatingSystem=$OS $OutputFile with many repeats, you could do: ( echo [OperatingSystem] echo OperatingSystem=$OS if [ blah blah blah ]; then ... fi ) $OutputFile ...easier to write and less error-prone. Just a thought. Regards, -- Doriano Blengino Listen twice before you speak. This is why we have two ears, but only one mouth. -- joshua higgins -- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] update to report-ng
Ah, yes, please try this version. -- joshua higgins -- report-ng Description: Binary data -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] update to report-ng
Hi list, I have updated the report-ng script so that it should work with any distro that is supplying an /etc/lsb-release file. Before it only expected Ubuntu to provide this file. Regards, -- joshua higgins -- report-ng Description: Binary data -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] we need an update for report-ng
Where does report-ng live now? 2010/1/11 Charlie Reinl karl.re...@fen-net.de: Salut, we need an update for report-ng Mandriva Linux 2010.0 use also /etc/lsb-release see attached gambas_report.log -- Charlie -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] file.save saves in DOS format
Thanks for the info. My program generates the /etc/exports file from a list of IP addresses and allowed shares. For some reason, when I'm using File.Save to save the contents of a TextArea to /etc/exports, it is putting the two end of line characters like the DOS format, instead of one, so the NFS server cannot read the configuration file. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] file.save saves in DOS format
I'm using a File.Save to write the /etc/exports file, but its not reading it. Opening it with nano says its converted from DOS format. How do I write to a text file in linux format? -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting and environment variable in a Gambas app.
Application.Env[GDK_NATIVE_WINDOWS]=1 I can't seem to get this working. Instead, I put it in the environment tab of the project properties in the IDE, and that works. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] form_open not raised when embedding form
Hi list I just upgraded to Ubuntu Karmic, from Gambas 2.8 to 2.13. I'm embedding a form into my main form like this: DIM hForm AS FChild hForm = NEW FChild(Panel1) However in Gambas 2.13, the FChild's Form_Open event does not run. Is this expected or is there a way round it? Thanks. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_open not raised when embedding form
Thanks for the reply. GDK_NATIVE_WINDOWS=1 makes no difference. I'll try the latest Gambas version and reply back with the results. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting and environment variable in a Gambas app.
Under Ubuntu at least you can put it in ~/.gnomerc http://ubuntuforums.org/showthread.php?t=1299284 Hope this helps. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] GAMBAS crash when setting columnview's Sorted property
I'm running 32-bit Gambas 2.8 (the one in Jaunty) and I don't seem to get this problem. Granted I'm not adding 13000 strings, more like 200. Are you using the gtk or qt component? -- joshua higgins -- -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Richard, does the /etc/arch-release file exist on your system? If not, is there anything along those lines, arch-version etc... -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Attached updated version, should now correctly detect arch, instead of identifying it as generic-undetected. -- joshua higgins -- report-ng Description: Binary data -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Forgot to attach :-) -- joshua higgins -- report-ng Description: Binary data -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Included fix for FreeBSD ram detection. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to set a slider value?
Using the Slider's _menu event, for right click, instead of _DblClick works as expected. 2009/8/24 Aleksandrs Livshics alek...@mpe.lv Dear Gambas users, I am new to Gambas and my question may be silly, however I cannot find how to set a slider value in the code. (Not the initial value, this is easy) I want to specify some event (like double click on a slider) to force it to jump to a predefined position/value. If I write Dbl_click() method and use something like My_slider.value = The_value in it, then slider on screen does not move from where I have set it previously with a mouse. More precisely, It jumps to a position which corresponds to The_value and back to where it was before! Any ideas would be helpful. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
I've adapted David's original script, adding more distro detection and cpu architecture identification. Attached, writes log to report2.log -- joshua higgins -- report2 Description: Binary data -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Can you post the contents of /etc/slackware-version?? -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
M0E Lnx: I think that there are two /etc/*-version files for Vector, and my script only expects there to be 1. 2009/8/24 M0E Lnx m0e@gmail.com Still not good on Vector == vluser:$ cat report.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 [Distribution] ID= RELEASE= CODENAME= DESCRIPTION= [Hardware] Architecture=2.6.27.29 [Gambas] Gambas= Gambas2=2.15.2 Gambas3= == And here is the complete output of report2.log == vluser:$ sh report2 report2: line 22: [: /etc/slackware-version: binary operator expected report2: line 39: gbx: command not found report2: line 41: gbx3: command not found VLVM:/~/Downloads vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 Distribution= [Gambas] Gambas1= Gambas2=2.15.2 Gambas3= === -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Just to let everyone know, I'm working on reliably detecting the distro... 2009/8/24 M0E Lnx m0e@gmail.com I think most slackware derivates have 2 also.. I know ubuntu has a ubuntu and a debian identifier as well this is not unique to vectorlinux -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
it work well here too... just ... you have a blank line after [OperatingSystem] At the moment, I'm unsure whether to keep updating and attaching this script until we know the status of David's script and how far he is along... However the blank line is by accident... nothing should be there :-) -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
Okay, so this version of the script with the additions by Fabien seems to be fairly stable. Also now includes system total ram. Now outputs to gambas_report.log instead of report2.log. -- joshua higgins -- report-ng Description: Binary data -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] workspace, but without the tabs?
Is it possible to embed a form into another, in the same way a workspace does, but without the tabs? Thanks. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] workspace, but without the tabs?
Please could you elaborate slightly? I'm not understanding where to use this and where the container for the embedded form is. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Managing soundtracks, WAVs
Maybe this is the solution: Preparing the soundtrack with all the elegant apps of the early 21st century, and then playback it with a simple machine that doesn't know problems caused by any OS but has direct access to the soundcard :-) Wheres the fun in that? :) -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Managing soundtracks, WAVs
I'm sure there is an example project that handles playing wav files... 2009/8/14 Rolf-Werner Eilert eilert-sprac...@t-online.de Hi everyone, Just one question, is it possible to write an application with Gambas that manages soundtracks (WAV-files or thelike)? Is there a component which could be used to play (and maybe even record) WAVs? Thanks for all your ideas... Rolf -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Capturing part of a screen in a gambas program
You could use a SHELL import -window root myscreenshot.png and then load the resulting image. If you leave out the -window root bit, it allows you to click and drag over a section of the screen to just capture that bit. 2009/8/9 richard terry rte...@pacific.net.au I wondered if it is possible to capture part of a screen within one's own gambas program as a png file say, for use within the program? Any help appreciated. Richard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gbs web application debugging - find line numbers?
I'm using Gambas 2 (Ubuntu packaging for Intrepid) and gbw2 -c -v marking_grid_course.adp source.txt works great. Its easy to find the line numbers sending it to a file and opening it in, e.g. mousepad. 2009/8/5 Benoît Minisini gam...@users.sourceforge.net Hi, I'm building a web application, but its currently a pain to debug the scripts. Everything is working fine (Apache and etc) and file permissions are okay, but a pesky line in my script is throwing a file not found error, and I cannot find which one. This is the output catched in apache's error.log MMain._PrintPage.45: #45: File or directory does not exist 0: MMain._PrintPage.45 1: MMain.Main.6 How do I find out which line number is the offending line? 45 and 6 don't relate to any lines in my script file. Thanks. Mmm, it is not practical. You can do that to see the generated code: $ gbs3 -v -c /path/to/my/page It will verbosely recompile the page. Then you may be able to find the line #45 in the _PrintPage generated function. A better solution should be found. Maybe some sort of annotation inside the generated code, so that you can get the line number of the original file inside the error message... I don't know at the moment. Regards, -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Executing commands as root
Not sure its possible. 2009/8/5 David Villalobos Cambronero david_villalobo...@yahoo.com Hi all, Time ago, someone asked about executing commands as root and pass the root password to SHELL, does anybody remember the solution? Regards -- David -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] gbs web application debugging - find line numbers?
Hi, I'm building a web application, but its currently a pain to debug the scripts. Everything is working fine (Apache and etc) and file permissions are okay, but a pesky line in my script is throwing a file not found error, and I cannot find which one. This is the output catched in apache's error.log MMain._PrintPage.45: #45: File or directory does not exist 0: MMain._PrintPage.45 1: MMain.Main.6 How do I find out which line number is the offending line? 45 and 6 don't relate to any lines in my script file. Thanks. -- joshua higgins -- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] question on running Gambas Executable on others distro
I think I have to explain my question more detail . how are we distribute our application written in gambas ? we can't expect that our target user know how to install gambas or compile it . The Gambas IDE can make packages for you for any distro. I create a demo live linux cd that primary just run my program without any desktop program in it . I recommend using Ubuntu as a base for your live CD as the Gambas packages are easy to install, and the live CD is really easy to make. This page https://help.ubuntu.com/community/LiveCDCustomizationFromScratch details how to create a live cd using ubuntu from scratch, so it can be as minimal as you want. In short, you'll need xorg, openbox (or another window manager), and the gambas-runtime package. If you use the IDE to create a deb file, all the dependencies will be solved for you, so you just need to simply install it inside your live cd chroot. Hope this helps you. IMO its much easier than trying to remaster say damn small or puppy, and you won't end up with all the unwanted crap (like desktop environment). -- joshua higgins -- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] one project, two executable. How to?
I tried to do this but never found a solution. Seemed easier to create two projects. 2009/7/7 guiodic guido.iod...@gmail.com hi to all, I need to make two ececutable in my project. Or in alternative, to execute a form like a separate process. Is it possible? -- View this message in context: http://www.nabble.com/one-project%2C-two-executable.-How-to--tp24364405p24364405.html Sent from the gambas-user mailing list archive at Nabble.com. -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Strange compile procedure on Ubuntu jaunty
Hello again, I've compiled the latest 2.13.1 on Ubuntu Jaunty from the tarball on the Gambas homepage. I tried for days with no avail, it kept failing with Makefile.in errors (not found). To get it to compile, I had to create the folder /home/username/Gambas and untar the source package there. Then it went without a hitch. Is this expected behaviour? As a note, I also tried this with the 2.10 tarball, and its the same. -- joshua higgins -- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas on Mac
I'm also interested in this... I'm struggling to find any ports or packages of the required development files. I noticed the message about endianness, is this still an issue even with Intel Macs, or just a PowerPC issue? 2009/6/7 Olivier Cruilles linu...@club-internet.fr In fact, all system is managed in backward with like debian package as dpkg. So, it's easy to produce packages. All the X-Window part exist on Mac by simply package to install For Qt and Kde, it's the same. For Gtk, I need to search but I think It exist. Olivier Cruilles Mail: linu...@club-internet.fr Le 7 juin 09 à 12:51, Benoît Minisini a écrit : Le 7 juin 09 à 03:02, richard terry a écrit : Possible? Any info appreciated. Richard - - OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Hello Benoit, About Gambas on Mac Os, I know that you haven't time to work on. So, Can you give the list of software to install on the Mac, more than the Gambas source of course. Then I will try to compil and send you all results. Thanks in advance. Olivier Cruilles Mail: linu...@club-internet.fr No idea, I don't know Mac at all. :-/ Does it have a package manager? Can you install X-Window or something that emulates it? And then all the GUI libraries (Qt, GTK+...)? -- Benoît -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Feature Request - Package Management
Sun's JDK binaries also includes the dependencies needed, and we'd need a package for each architecture, but I'm all for the idea. I'm assuming that it would install it somewhere like /opt, then the dependencies would be in a separate prefix there too. The only problem then is, say because your on Hardy, you'd possibly have two different GTK versions and it may get hard to maintain efficiently, unless the install script detected the distro, and automatically satisfied the dependencies, but then you might as well make a load of .debs. Just my thoughts 2009/5/19 KhurramM kms...@gmail.com Hi all! I dont know, if its possible, but I like to have a installer like: gambas-3.1.2-install.bin or gambas-3.1.2-install.sh for every new release (stable or unstable), for all linuxes. Advantages: 1 Faster updating. 2 Faster bug fixing (as every one uses it). 3 More documentation to configure and use. 4 Choice to use any version any-time. 5 Be independent of compiling and dependency seeking. 6 Single repos for all linux-variants. 7 Easy downgrading, if required. 8 Easy testing of a unstable release. 9 Installing as a core-package rather then a dependent. 10 More helps available. Just as sun offers jdk and jre releases fro linuxes. Installer and un-installer packages be also available in the same format. Please Agree!:-) Thanks in advance. Currently I am on hardy, and I dont find it comfortable to compile. Best Regards to all.. -- View this message in context: http://www.nabble.com/Feature-Request---Package-Management-tp23610862p23610862.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas server is work. Other questions...
I don't think all the components (e.g. forms etc) will work in server pages. This is okay though Ex: % DIM a AS Integer DIM c AS String % -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas web script
I can't test this because I don't have a postgresql server running, but try checking your apache error.log for more info... (/var/log/apache2/error.log) And you don't have to use % % on each line. e.g: % oCnn.Type = postgresql % % oCnn.Host = 127.0.0.1 % % oCnn.Login = postgres % % oCnn.Password = 1234 % is the same as % oCnn.Type = postgresql oCnn.Host = 127.0.0.1 oCnn.Login = postgres oCnn.Password = 1234 % 2009/5/4 Wellington de Souza Pinto wspi...@click21.com.br Below my teste.gbw Show erro. Any idea??? Reguards, Souza, Wellington --- #!/usr/bin/env gbw2 % USE gb.db % % DIM i AS Integer % % DIM oCnn AS NEW Connection % % DIM oRs AS NEW Result % html h2TESTE DE LEITURA DO POSTGRESQL/h2 % oCnn.Type = postgresql % % oCnn.Host = 127.0.0.1 % % oCnn.Login = postgres % % oCnn.Password = 1234 % % oCnn.Name = test % % oCnn.Open % % oRs = oCnn.Exec(SELECT f_nome, f_funcao, usuario, senha FROM cadfun ORDER BY Lower(f_nome);) % tr th align=leftNome/th th align=leftFuncao/th th align=leftUsuario/th th align=leftSenha/th /tr % oRs.MoveFirst % % FOR i = 0 TO oRs.Max % tr valign=top td%= oRs[0] %/td td%= oRs[1] %/td td%= oRs[2] %/td td%= oRs[3] %nbsp;/td /tr % oRs.MoveNext % % NEXT % /table % oRs = NULL % % oCnn.Close % /html ___ Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por você. Aproveite! -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] calling gambas server page from html form (post)
Print Request[your_name] Works fantastic. Just one more question: how would I go about helping to write the tutorial on making a cgi web application here http://gambasdoc.org/help/tutorial ? -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] http://gambasdoc.org/help/tutorial
I think it asks for a username and password because the page it links to doesn't exist yet. 2009/5/3 richard terry rte...@pacific.net.au Hi all, I didn't know this page existed. Can we all put little tutorials on here? 1) How does one get username/password 2) Presumably this page is for anyone to view, however it asks for username/password when one tries to view a link. Regards richard -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] server pages again... possible bug
I'm trying to dynamically change an image. Here is a simple page: #!/usr/bin/env gbw2 % DIM sEnv AS String % html % sEnv = hello.jpg % img src=%= sEnv% /html This looks okay to me, but on running, $= sEnv% inside the img tag is not evaluated, presumably because it is inside the img tag. Is this expected behaviour? -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] calling gambas server page from html form (post)
Sergio, I just had a look at the link you sent and it looks good. Once I've finished the tutorial I'd be happy for you to include it in your book, under the GNU Free Doc License. 2009/5/3 Sergio A. Hernandez info.g...@gmail.com Joshua, I am writing a Getting Started 24 lessons book, and the part that I did figure out yet is the CGI Web Application lesson. If you are planning to release your tutorial under the terms of the GNU Free Doc License and you are interested, you can be co-author for this section of the book. http://gambas.sourceforge.net/Getting%20Started%20with%20GAMBAS.odt On Sun, May 3, 2009 at 3:40 AM, Joshua Higgins joshigg...@googlemail.com wrote: Print Request[your_name] Works fantastic. Just one more question: how would I go about helping to write the tutorial on making a cgi web application here http://gambasdoc.org/help/tutorial ? -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] server pages again... possible bug
Thinking about it, it makes more sense just to % PRINT img src=\hello.jpg\% 2009/5/3 Benoît Minisini gam...@users.sourceforge.net I'm trying to dynamically change an image. Here is a simple page: #!/usr/bin/env gbw2 % DIM sEnv AS String % html % sEnv = hello.jpg % img src=%= sEnv% /html This looks okay to me, but on running, $= sEnv% inside the img tag is not evaluated, presumably because it is inside the img tag. Is this expected behaviour? By reading the code, I noticed that % and %= are not taken into account inside HTML markups. Maybe it could be logical for %, but not for %=. I will fix that for the next Gambas 2 release. Regards, -- Benoît -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas server page.
I have just got this working. Bascially, Apache runs your gambas server page as a CGI script, so drop it in your cgi-bin folder (with a properly configured server of course), give it execute permission and it should work. To call in firefox the page generated, give it the url to the script. Your apache may require it to have a .cgi extension for it to work. Use the example on gambasdoc to test it. 2009/4/30 Wellington de Souza Pinto wspi...@click21.com.br Hi everyone!!! Please. I'm not understand yet of work the gambas server page. How begin? How install? Work with apache webserver? How call in my browser (firefox) the page generated by gambasserverwebpage? Any samples are welcome! Reguards Souza, Wellington ___ Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por você. Aproveite! -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] calling gambas server page from html form (post)
I've been experimenting with Gambas server pages and I must say, its brilliant. At the moment I'm trying to get data entered on a form on a web page to be written to a file on the server. I have got as far as making the html page with a form. Here is an excerpt: form action=myscript.gbw method=post enctype=text/plain pYour Name: input type=text name=your_name //p What I'm wondering is how to access the your_name variable in the gambas script that this form has under action. I can't figure it out. Thanks. -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] read a file into a listview - but backwards
Hi all, Is it possible to read a file and load it line by line into a listview, but backwards? I have been using the example from gambasdoc for loading files line by line, but I'm writing a logging page and want to show newest items first. Thanks. -- joshua higgins -- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] I need a shell script
Could you not replace the sudo command with gksu (or kdesu)? That command is the same as sudo but asks in X for the password, not on the console. 2009/4/27 jbskaggs jbska...@skaggsworld.com I am having a sudo (permission) problem in my gamemaker program. It creates the code and writes it to the MMain.Module and creates the .Project file. Now I need to be able to shell from my program to a directory and run the gbc2 and gba2 commands. I have tried several different shell commands and I have tried a script: cd mypathtoproject gbc2 gba2 but I get a permission not granted error. I have tired calling the script from shell with sudo Shell sudo scriptname.sh but it asks for password then hangs. This is really simple but I am somehow bungling it as usual. So could someone one correct my script and to tell me how to call it? JB Skaggs -- View this message in context: http://www.nabble.com/I-need-a-shell-script-tp23248632p23248632.html Sent from the gambas-user mailing list archive at Nabble.com. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] disallow characters in TextBox
Hi, Is it possible to disallow certain characters from being entered in a TextBox? I'm splitting the data from the textbox and don't want the user to type in the character (~) that is being used to split. Thanks. -- joshua higgins -- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] catching errors
Hi, I've been using CATCH as a sort of rudimentary catch all error handling in my code. Just got a small question about when Gambas will run this code: Example code follows PUBLIC SUB ihaserror() ' the error happens in here CATCH PRINT OH NO! END PUBLIC SUB Main() ihaserror() CATCH PRINT ERROR END In this silly example, if the error happens in ihaserror(), the catch there will print oh no. But because it was called from Main(), will the catch there fire too so both oh no and error get printed? -- joshua higgins -- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextArea scrolling
Did you find a solution? 2009/4/4 Jussi Lahtinen jussi.lahti...@gmail.com Hi! How I can automatically scroll down textarea? So that the last message printed to textarea is always showing, without user have to scroll down? Regards, Jussi -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] icon...
I think if you set the icon in Project Project properties it should use that for the deb package... although I have never tried it. 2009/4/3 vlahonick vlahonick tsopanotr...@hotmail.com hello all :D does anybody knows how to change the icon that appears in the left of the program's name after u installed programs .deb package? (i use ubuntu 8.10) (i am not talking about the icon that appears at the left of programs window when u run it-this one we can put it from the icon option when we creating the form) example : i wrote a program,i made the .deb package and then installed it. but then when i press applications-others(or whatever here)-my_program's_name in the left of my programs name appears gambas logo...how can i put another icon there? thanks you all in advance :D:D:D vlahonick _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] question about gambas2-runtime
I'm assuming that installing gambas2-runtime in Ubuntu, I'd still need to install gambas2-gb-net package to work if my program uses a UDP server, for example? -- joshua higgins -- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Beep in gambas
I do not know of any built-in function to beep, but this produces the effect I think you want SHELL echo -e \\\007\ /dev/tty10 (be careful with the backslashes around the second set of quotes, these are required for Gambas to pass on an actual quote symbol to the echo command) -- joshua higgins -- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] columnview count how many are selected
Hello, I'm using a columnview with the property Mode set to Multiple. What code do I need to let me count how many are currently selected. I tried ColumnView1.Current.Count but that always prints 0. Thanks. -- joshua higgins -- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] columnview count how many are selected
That didn't work I'm afraid. :( Trying exactly as you wrote ended up with the error unknown symbol Selected in class ColumnView. I changed it to this: nbc as integer = 0 public sub numberCount() Columnview1.movefirst() repeat if columnview1.current.selected then inc nbc until columnview1.movenext() end but that just makes the program hang when I call numberCount(). I'm surprised there isn't a built in function for this, or have I just not heard of it? Thanks. 2009/2/9 Jack jsc...@wanadoo.fr Le lundi 09 février 2009 19:09:40 Joshua Higgins, vous avez écrit : Hello, I'm using a columnview with the property Mode set to Multiple. What code do I need to let me count how many are currently selected. I tried ColumnView1.Current.Count but that always prints 0. try this Joshua nbc as integer = 0 'number count public sub numberCount() Columnview1.movefirst() repeat if columnview1.selected then inc nbc until columnview1.movenext() end Regards. Jacky -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today- http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] columnview count how many are selected
*** Correction i changed this line: if columnview1.selected then inc nbc to this if columnview1.current.selected = TRUE then inc nbc I put a breakpoint in, and if you select more than 1 item in the columnview and run call numeberCount(), it ends up in a infinite loop. 2009/2/9 Joshua Higgins joshigg...@googlemail.com That didn't work I'm afraid. :( Trying exactly as you wrote ended up with the error unknown symbol Selected in class ColumnView. I changed it to this: nbc as integer = 0 public sub numberCount() Columnview1.movefirst() repeat if columnview1.current.selected then inc nbc until columnview1.movenext() end but that just makes the program hang when I call numberCount(). I'm surprised there isn't a built in function for this, or have I just not heard of it? Thanks. 2009/2/9 Jack jsc...@wanadoo.fr Le lundi 09 février 2009 19:09:40 Joshua Higgins, vous avez écrit : Hello, I'm using a columnview with the property Mode set to Multiple. What code do I need to let me count how many are currently selected. I tried ColumnView1.Current.Count but that always prints 0. try this Joshua nbc as integer = 0 'number count public sub numberCount() Columnview1.movefirst() repeat if columnview1.selected then inc nbc until columnview1.movenext() end Regards. Jacky -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today- http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- joshua higgins -- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] is it possible? make gambas project a library
Hello again, Over on the edubuntu-devel mailing list, I've been discussing a possible Gambas solution to storing and sharing data across a network (using UDP) for a range of applications, specifically TuxMath. I have an implementation of this working on my system, but for a different set of applications also written in Gambas. What I'm wondering is this: is it possible to create a gambas project into a library suitable for use in other programming languages? So for example my gambas UDP routines can be used from another program language? Thanks. -- joshua higgins -- -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] timers in console app
Is it possible to use timers in console apps? -- joshua higgins -- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] strange problem using UDP server clients
hello all, at the moment in my program I have multiple commands that have to be run through SHELL in order, one after another. currently im doing this using WAIT, but this stops the execution of my gambas program till the command is finished. however my program is also doing other tasks (timers etc) which also stop. is there any way to wait for a command launched through SHELL to finish without using WAIT, but so that it still continue executing my gambas program? thanks. -- joshua higgins -- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] strange problem using UDP server clients
I've just noticed the title of my post has nothing to do with what I'm asking... sorry about that. 2009/1/30 Doriano Blengino doriano.bleng...@fastwebnet.it Joshua Higgins ha scritto: hello all, at the moment in my program I have multiple commands that have to be run through SHELL in order, one after another. currently im doing this using WAIT, but this stops the execution of my gambas program till the command is finished. however my program is also doing other tasks (timers etc) which also stop. is there any way to wait for a command launched through SHELL to finish without using WAIT, but so that it still continue executing my gambas program? You must use a process handle (if I well remember, hProc = SHELL ..., without using WAIT). Then, you can poll hProc properties. See the docs about SHELL. More infos if you need them. Regards, -- Doriano Blengino Listen twice before you speak. This is why we have two ears, but only one mouth. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] high cpu usage with UDP server/client
Hello, I'm looking at the UDP Server/Client example, and when the server is running, the program uses 13% CPU constantly, shown by htop. Firefox on my system uses 4.5% average when browsing. Is this relatively high CPU usage normal for the UDP server example? -- joshua higgins -- -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] read commandline invocation
Thanks :-) 2008/12/22 Doriano Blengino doriano.bleng...@fastwebnet.it gam...@organet.com ha scritto: Am Sonntag, 21. Dezember 2008 02:17:56 schrieb Joshua Higgins: Probably a stupid question, but I can't figure it out :S How do I get my Gambas program to read how it was invoked from the command line? Thanks. I think Application.Read is your friend. ;-) Application.Args[index] is what you are looking for... print application.args[0] will print the command name (/usr/bin/test.gambas for example). Regards, Doriano -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Small window without gadgets
is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] using icons from system theme without specifiying full path
Okay, I've got a bash script which you hand a .desktop file and it searches and returns the path of the icon (i'll post if anyone else is interested). but... not all the icons are the same size. Is there a way (without manually resizing them) to have a consistent icon size in a ListView? 2008/12/2 Benoit Minisini [EMAIL PROTECTED] On dimanche 30 novembre 2008, Joshua Higgins wrote: well I'm making an application launcher. It reads all the .desktop files from under /usr/share/applications and after loads of splitting adds them to a ListView. .desktop file layed out as follows: [Desktop Entry] Type=Application Name=Inkscape Comment=Vector Graphics Editor Exec=inkscape Icon=inkscape.png Categories=GNOME;Utility; The problem I'm having is that the icons are described as they are in the theme, i.e. just the file name, not by the path, and I'm struggling to find a reliable way to resolve this back to the path to the icon, which I can then load into Gambas. Gambas internally uses its own algorithm to get desktop icons from theme, because it needs to get the current icon theme first, which depends on the current desktop being used. Then it use a desktop-dependent method to get the path of the icon theme. But the real algorithm you must follow is described by a freedesktop standard at: http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] using icons from system theme without specifiying full path
Hi, I need to use the icons in my gambas program from the current system theme in GTK/Gnome. At the moment I've been specifying the full path e.g. /usr/share/icons/Tango/32x32/apps/gnome-keyring-manager.png But ideally I need to just set gnome-keyring-manager as the image and it picks up the right icon. Any way to do this? Thanks. -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] using icons from system theme without specifiying full path
well I'm making an application launcher. It reads all the .desktop files from under /usr/share/applications and after loads of splitting adds them to a ListView. .desktop file layed out as follows: [Desktop Entry] Type=Application Name=Inkscape Comment=Vector Graphics Editor Exec=inkscape Icon=inkscape.png Categories=GNOME;Utility; The problem I'm having is that the icons are described as they are in the theme, i.e. just the file name, not by the path, and I'm struggling to find a reliable way to resolve this back to the path to the icon, which I can then load into Gambas. 2008/11/30 birchy [EMAIL PROTECTED] joshiggins wrote: Hi, I need to use the icons in my gambas program from the current system theme in GTK/Gnome. At the moment I've been specifying the full path e.g. /usr/share/icons/Tango/32x32/apps/gnome-keyring-manager.png But ideally I need to just set gnome-keyring-manager as the image and it picks up the right icon. Any way to do this? Why not copy/paste the icon into your project folder rather than using external paths? -- View this message in context: http://www.nabble.com/using-icons-from-system-theme-without-specifiying-full-path-tp20756670p20759098.html Sent from the gambas-user mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] strange process print error
Hello, I'm getting a very strange error in my program. here is an excerpt: START CODE PUBLIC SUB Button1_Click() fluidsynthproc = SHELL fluidsynth -a jack FOR INPUT OUTPUT END PUBLIC SUB Button2_Click() PRINT #fluidsynthproc, TextBox1.Text END END CODE This looks okay. But for some reason I cannot print the lowercase letter p to the fluidsynthproc. Any reason / workaround for this? -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] sending command to stdin
Hello, I'm writing a frontend to Fluidsynth. Once fluidsynth is started is accepts commands through stdin. How would I go about sending commands (e.g. prog 1 000-001 ) to its stdin. p.s. I can't seem to access gambasdoc.org from here. Any one else? -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to nest a checkbox into a gridview's field
To Stefano: your example raises a signal 11 for me so I can't check whether it works (Gambas 2.5). On Wed, Oct 15, 2008 at 6:25 PM, M0E Lnx [EMAIL PROTECTED] wrote: Maybe another gb.gtk bug here, but the picture is not changing when I click on your example project here. I guess what I really mean is I'd like to have the hability to use the grid as a container for other objects such as checkboxes and comboboxes. On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri [EMAIL PROTECTED] wrote: Il mercoledì 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: But can you put this in a gridview? Attached a little example. On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On mardi 14 octobre 2008, M0E Lnx wrote: Here is what I'd like to do... Not sure how to do it or if it is possible at all I want to have an object like a gridview or tableview where I can have at least 3 columns Column1 will have a checkbox (boolean) value Column2 will have a string value (could be a textlabel or just the field's .text value) Column3 will have an interger value (could also use string... not necessarily interger) The idea is to create a list of items... say file names to copy to some location This window would copy all the files that have the checkbox set to TRUE on column1 I know the gridview and tableview are not container objects, so I can't create a checkbox into either one of them Does anyone have any idea how this could be done? For checkboxes, I use two pictures and the mouse events. Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas3 compile problem
A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt [EMAIL PROTECTED] wrote: Hi Joshua, Yes I know but DF shows its wasnt full It says here NO SPACE LEFT ON DEVICE !! your disk is full :-) Even if df says there is space left, you can run out of inodes, especially if you have a large amount of small files or, you use UNIONFS. Hope that helps (to understand) Rolf - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Making a taskbar with Gambas 3
I mean Benoit :-) On Fri, Oct 3, 2008 at 9:22 PM, Joshua Higgins [EMAIL PROTECTED]wrote: wow! features are implemented soo quickly... thank you Beniot!!! On Mon, Sep 29, 2008 at 11:37 PM, Benoit Minisini [EMAIL PROTECTED] wrote: This is possible now, thanks to the changes in the gb.desktop component from revision #1617. 1) The DesktopWindow class now allows to change the Minimized, Maximized, FullScreen, Sticky state of a top-level window. 2) The new DesktopWatcher class allows to watch the following things: - Active window change. - Current virtual desktop change. - Virtual desktop name change. - Number of virtual desktops change. - Desktop width/height change. - Window more/resize change. - Window name (title) change. - Window icon change. - Window state change. Not everything is finished and engraved in the marble, but all these features are enough to implement a taskbar, a pager, and to manage virtual desktops. The only thing that is missing is something to make a system tray. With that last thing, you will be able to make a full desktop environment entirely in Gambas, except the window manager. Such a beast is something complex, so at the moment using an already existing and reliable one is a better solution. Enjoy it! -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] destroying all panels
If I use windowpanel = New Panel(FMain) As TaskPanel many times to create loads of panels, how do I destroy all of them? Using windowpanel.delete only destroys the last one created. -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] setting window type
Benoit, please can you point me in the right direction for making a task bar (showing all the open programs)? On Sat, Sep 27, 2008 at 1:48 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On samedi 27 septembre 2008, Joshua Higgins wrote: I am planning to make a desktop environment using gambas and openbox. Probably a stupid question, but how do I install Gambas 3? This is exactly why I enhanced gb.desktop in Gambas 3. I added the following features: * Desktop.Count = Number of virtual desktops (writable) * Desktop.Current = Current virtual desktop (writable) * Desktop[i] = Returns the virtual desktop #i * Desktop[i].X,Y,Width,Height = Virtual desktop dimension (read-only) * Desktop[i].Name = Virtual desktop name (writable) * Desktop.ActiveWindow = X11 id of the current active window (writable) * Desktop.Showing = Enable/Disable the Show desktop button (writable) * Desktop.Windows = All top-level windows * Desktop.Windows.StackingOrder = An array of top-level windows following the stacking order * Desktop.Windows[id] = Returns the top-level window from its X11 id. * Desktop.Windows[id].X,Y,Width,Height = Window dimensions * Desktop.Windows[id].State = Window state * Desktop.Windows[id].ClearState()/SetState()/ToggleState() = Window state management * Atom[Name] = Returns an X11 atom from its name To use the last methods, you must read the freedesktop.org window manager specification, and must know what an X11 atom is, and how it works. Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] setting window type
oh wait, silly me I got it now! On Sat, Sep 27, 2008 at 11:36 AM, Joshua Higgins [EMAIL PROTECTED]wrote: I am planning to make a desktop environment using gambas and openbox. Probably a stupid question, but how do I install Gambas 3? On Fri, Sep 26, 2008 at 10:49 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On vendredi 26 septembre 2008, Joshua Higgins wrote: Hi, I'm making a replacement panel for my desktop in gambas, and I need to know how to set the window type as a panel, so windows can't cover it and it can't cover windows. any ideas?? You can do that in Gambas 3, not in Gambas 2. If you have more desktop-specific features, tell me. The gb.desktop component of Gambas 3 can watch windows (i.e. you can make a task bar in gambas), virtual desktops... Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Embed xfce4 panel into gambas application
I'm not familiar with the way window managers and X work, but as Beniot said the only way I know how to find out the WM_CLASS of a window is using xprop. I have found out though whilst trying to get the Xfce Panel embedded is that the WM_CLASS is no more unique than the name. The two Xfce panels have the same name, the same class and the same role, so I can't really see how any of these are more accurate, unless of course your window has no title. As far as I can tell what you wrote should work, I'll have a go when I get back to my Linux box :) --- josh On Tue, Aug 19, 2008 at 10:19 PM, M0E Lnx [EMAIL PROTECTED] wrote: Ok... so this may be a more accurate method than the window title is in some cases... How does one go about finding and embedding an application using the WM_CLASS property instead of the title? Can someone give me a sample line? Desktop.Find(,APPCLASS) ' Will this work??? On Mon, Aug 18, 2008 at 1:57 PM, Joshua Higgins [EMAIL PROTECTED] wrote: You'll never guess what the title was. Xfce Panel. :) Thanks again Benoit. On Mon, Aug 18, 2008 at 7:50 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On lundi 18 août 2008, joshiggins wrote: Yeah you are right, it is not decorated and does not have a title so i can't embed it :-(( Is the only way to embed a program by its title shown by the window decorator? A X11 window can be found from its name (the title), its class and its role, by using the Desktop.Find() method. Use the 'xprop' program to find all properties associated with a window, and look at the WM_NAME, WM_CLASS and WM_WINDOW_ROLE properties Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Embed xfce4 panel into gambas application
You'll never guess what the title was. Xfce Panel. :) Thanks again Benoit. On Mon, Aug 18, 2008 at 7:50 PM, Benoit Minisini [EMAIL PROTECTED] wrote: On lundi 18 août 2008, joshiggins wrote: Yeah you are right, it is not decorated and does not have a title so i can't embed it :-(( Is the only way to embed a program by its title shown by the window decorator? A X11 window can be found from its name (the title), its class and its role, by using the Desktop.Find() method. Use the 'xprop' program to find all properties associated with a window, and look at the WM_NAME, WM_CLASS and WM_WINDOW_ROLE properties Regards, -- Benoit Minisini - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] load contents of a TreeView from a file
Thank you very much for the reply. I have got as far as the FOR EACH section, and I have done sItem = Split(sLine, ) to get another array called sItem with the 3 bits of information I need to add to the TreeView. The problem I'm having is identifying each part of the array. If I shell echo sItem[0] or [1] or [2] I get the right bit of information out on the terminal, but I also get an Out of Bounds error. On Sun, Aug 17, 2008 at 7:30 AM, Doriano Blengino [EMAIL PROTECTED] wrote: joshiggins ha scritto: Hello. I'm just starting out with gambas and need some help. I have a file formatted as follows: itemkey [SPACE] itemname [SPACE] path/to/icon itemkey1 [SPACE] itemname [SPACE] path/to/iconetc...etc... I need to load this data from a file into a treeview. I figure that I need to load the file and for each line split it up into the 3 parts and add an item to the treeview, then do the same for the next line, and the next etc. I'm completely lost on where to start. The LINE INPUT page on the wiki only inputs the first line. Any suggestions? An example from the online help: hFile = OPEN /etc/hosts FOR INPUT WHILE NOT Eof(hFile) LINE INPUT #hFile, sOneLine PRINT sOneLine WEND CLOSE #hFile You open the file, then input one line at a time. This is the classic way. Don't forget to close the file (see later). Another method is to load the entire file into a string, with: sString = file.load(/etc/hosts) then you must split this long string into a string[] using something like: sLines = Split(sString, \n) At this point you have a string[] array you can traverse with for each: for each sLine in sLines ... ... next Every single line, obtained by either the two methods, must be again splitted in tokes and loaded in the TreeView. About execute command then exit, I had no problems in doing this: shell cd /usr/local/bin; xterm This launches the terminal emulator xterm in background. If you exit the application, the xterm stays there. It is true that open files, environment, signals and other thing may be inherited by the child process, but I think this can be solved by the ampersand in the end of the SHELL command. If you need more help, ask again. Salutations, Doriano Blengino. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- joshua higgins -- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user