Re: [Gambas-user] Gambas and OpenPffice document

2012-10-09 Thread Ivan Kern
I do not know, I have not much experience with Gambas and not at all with gb.xml. It is easy with VB, the code looks like this: Dim OSM, oDesk, oDoc, oTxt, OBK, oRng As Object 'OOo objects Dim arg () Set OSM = CreateObject ("com.sun.star.ServiceManager") Set oDesk = oSM.createInstance ("com.sun.s

Re: [Gambas-user] Gambas and OpenPffice document

2012-10-09 Thread Fabien Bodard
I think you can manage that with java script. Le 10 oct. 2012 02:21, "RICHARD WALKER" a écrit : > Would the gb.xml stuff make the task any easier? Just askin' - This > might be something I would like to try some time. > > Richard > > > -

Re: [Gambas-user] Gambas and OpenPffice document

2012-10-09 Thread RICHARD WALKER
Would the gb.xml stuff make the task any easier? Just askin' - This might be something I would like to try some time. Richard -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic ap

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread RICHARD WALKER
Ah but, mine DOES have unlimited warnings - and I paid... just blood, sweat and tears. Trouble is I am sloppy. And I am overly confident in my ability to code without making a single mistake, despite decades of evidence to the contrary! If you do it my way you never see the warnings - neat trick,

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
LOL... you must be using a different Gambas! I go to Project, Properties, click on the Options tab and under Compilation have just "Module symbols are public by default" and "Form controls are public" Not a major issue, but I just wonder if it might have saved Richard some time if he'd seen a w

Re: [Gambas-user] Translation issue, English (common)

2012-10-09 Thread RICHARD WALKER
Hmm. OK, I'll bite. In general, though with many subtle exceptions, all forks of English sound pretty much like English. When it is being spoken it is not always important (or even polite?) to notice the differences - just be aware of them and make whatever allowances for grammar or translations f

Re: [Gambas-user] simple web page viewer scrolling problem

2012-10-09 Thread PM47
Thanks for your reply. In the current application I want a web page 'viewer', not a web page 'browser'. The display is a small seven inch touchscreen mounted on our lounge wall used to select music and radio stations for our home media system (also written in Gambas3 :-). The web pages to be displ

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread RICHARD WALKER
Thanks guys, it is even more embarrassing because I thought I had checked that when I was re-organising the code. Now that I think about it, it is the only logical explanation. Boy I must have been tired! R -- Don't let s

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
I have Console, Breakpoints, and Tasks. No Warnings tab. Gambas 3.2.90, rev 5051 from svn. On 09/10/12 18:51, Jussi Lahtinen wrote: > It is in IDE under code editor where are tabs for console, breakpoints, > warnings and task. In that order. > > Jussi > > > > > On Tue, Oct 9, 2012 at 5:01 PM, Ca

Re: [Gambas-user] Issue 287 in gambas: 3.2.1 ./configure issues on 2012-07-15-wheezy-raspbian.zip

2012-10-09 Thread gambas
Comment #5 on issue 287 by ron.mcin...@gmail.com: 3.2.1 ./configure issues on 2012-07-15-wheezy-raspbian.zip http://code.google.com/p/gambas/issues/detail?id=287 Not sure if this will help. I use Linux Mint MDE (i.e. the Debian based version) and I was getting similar problems with PDFDoc.h a

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
On 09/10/12 14:21, Fabien Bodard wrote: > Normally you have this information in the compiler warnings Where do you see them? I saw no warning when I compiled the code... -- Don't let slow site performance ruin your busine

Re: [Gambas-user] Gambas and OpenPffice document

2012-10-09 Thread Fabien Bodard
Use gb.gz to uncompress the file and then edit the Content and then re compress Le 9 oct. 2012 13:34, "Ivan Kern" a écrit : > Hello, > is it possible to open an OpenOffice document with Gambas and edit it? > > (Fill some cells in the Calc sheet use Gambas) > If yes, then please how? > > > > I am

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Fabien Bodard
Normally you have this information in the compiler warnings Le 9 oct. 2012 10:33, "Caveat" a écrit : > You've defined IS_ARRAY_NAME twice! > > Once you have it declared 'at the class level': > > 'Special treatment for array names > Public IS_ARRAY_NAME As Boolean > Public CALL_DEPTH As Integer =

[Gambas-user] Gambas and OpenPffice document

2012-10-09 Thread Ivan Kern
Hello, is it possible to open an OpenOffice document with Gambas and edit it? (Fill some cells in the Calc sheet use Gambas) If yes, then please how? I am grateful for any help. Kind regards, Ivan -- Don't let sl

Re: [Gambas-user] Start Programm from konsole, 2 Questions

2012-10-09 Thread Gregor Burck
Hi, > Are you sure of your path ? Yes, seem the 'ä' made problems. > >> ? >> >> The seccond question, could I do something like this: >> >> $ gbr3 Arbeitsfläche/ImageViewer.gambas sample.tiff >> >> How could I get the parameter? >> > http://www.gambasdoc.org/help/comp/gb/application/args?v3 OK af

Re: [Gambas-user] Start Programm from konsole, 2 Questions

2012-10-09 Thread Fabien Bodard
Le 9 oct. 2012 11:43, "Gregor Burck" a écrit : > > Hi, > > I try to start a gambas Programm from konsole (in KDE, later ove ssh -X,...), I get: > $ gbr3 Arbeitsfläche/ImageViewer.gambas > > ERROR: #35: Cannot open file 'ImageViewer.gambas': No such file or directory > Are you sure of your path ?

[Gambas-user] Start Programm from konsole, 2 Questions

2012-10-09 Thread Gregor Burck
Hi, I try to start a gambas Programm from konsole (in KDE, later ove ssh -X,...), I get: $ gbr3 Arbeitsfläche/ImageViewer.gambas ERROR: #35: Cannot open file 'ImageViewer.gambas': No such file or directory ? The seccond question, could I do something like this: $ gbr3 Arbeitsfläche/ImageViewe

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread Caveat
You've defined IS_ARRAY_NAME twice! Once you have it declared 'at the class level': 'Special treatment for array names Public IS_ARRAY_NAME As Boolean Public CALL_DEPTH As Integer = -1 but you have also defined the variable Is_array_name in your Sub scan_file(): Dim Is_array_name As Boolean =

Re: [Gambas-user] simple web page viewer scrolling problem

2012-10-09 Thread Benoît Minisini
Le 09/10/2012 09:18, PM47 a écrit : > In order to prevent the family using the display as a browser I've > set the 'tabBrowser.enabled' property to false. What's the problem exactly with the normal WebView (with Enabled=True)? -- Benoît Minisini

Re: [Gambas-user] I can't believe this

2012-10-09 Thread Fabien Bodard
Static public? Le 9 oct. 2012 03:14, "RICHARD WALKER" a écrit : > Sorry to spam the list - forgot to restore the diagnostic "Stop" for > "Public findme as String[]". Corrected in this one. > > Simple instructions; > 1. Use the file chooser to locate/select this program's FMain.class > 2. Choose a

[Gambas-user] simple web page viewer scrolling problem

2012-10-09 Thread PM47
I've recently started using Gambas 3 and like it a lot (I've used Visual Basic for many years). So far I've programmed a custom touchscreen Music Jukebox front end for my home media centre that works great with albums and internet radio stations. I want to add a simple web page viewer, not a full