[Gambas-user] A postregres question re points

2009-04-24 Thread richard terry
Probably off-gambas topic but, I want to be able to store x-y co-ordinates e.g: create table defaults.temp (pk serial primary key, xy point ); insert into defaults.temp(xy) values (point(1,1)); I can retreive a result as - select * from defaults.temp; which gives (1,1) Now I'm stuck knowi

Re: [Gambas-user] Format Text

2009-04-24 Thread Rolf-Werner Eilert
Benoît Minisini schrieb: >> Hi, >> >> Can you quote the thing you've written? Maybe you missed something or >> so... Normally it should work with both len() or string.len() >> >> Ok, then you said you will only give strings to another program, so the >> font shouldn't be important. In Basic, the on

Re: [Gambas-user] Gambas server pages

2009-04-24 Thread Steven James Drinnan
I think I solved it. But some please tell me if I can do this better. After some more playing I decided to open up the copied files in gedit as a root user. When I changed the file and resaved it the program worked as expected. Looks like a problem with Apache and cgi scripting and file ownersh

Re: [Gambas-user] Format Text

2009-04-24 Thread Benoît Minisini
> Hi, > > Can you quote the thing you've written? Maybe you missed something or > so... Normally it should work with both len() or string.len() > > Ok, then you said you will only give strings to another program, so the > font shouldn't be important. In Basic, the only way of doing what you > want

[Gambas-user] Gambas server pages

2009-04-24 Thread Steven James Drinnan
Well i do not know if you got the last message but I have been playing with this. Got it working in Apache with cgi. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option tha

[Gambas-user] Gambas server pages

2009-04-24 Thread Steven James Drinnan
Well i do not know if you got the last message but I have been playing with this. Got it working in Apache with cgi. But i have this problem the example always works. yeah! But when I try it myself with this program #!/usr/bin/env gbw2 <% DIM myName AS String %> My Test <% myName = "steve

Re: [Gambas-user] Obtaining a list of system printers

2009-04-24 Thread Stefano Palmeri
Il venerdì 24 aprile 2009 06:37:39 richard terry ha scritto: > Hi, > > I need to be able to browse a list of system printers and wondered how one > obtained these. > > Regards > > richard > You could try 'lpstat'. I suggest you to read 'man lpstat' and try -a, -p, -v options to see which one fit