[Gambas-user] Packages for Mint 18.2

2017-08-07 Thread Pino Zollo

Please edit the page

http://gambas.sourceforge.net/en/main.html#


these are the needed packages:


sudo apt-get install build-essential g++ automake autoconf libtool 
libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev 
libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev 
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev 
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev 
libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev 
libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev 
libqtwebkit-dev libqt4-opengl-dev libglew-dev libimlib2-dev libv4l-dev 
libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev 
linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev 
libcairo2-dev libgsl-dev libncurses5-dev libgmime-2.6-dev llvm-dev llvm 
libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev 
libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev libssl-dev 
postgresql-server-dev-9.5 libqt5opengl5-dev libqt5svg5-dev 
libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev



Salud


Pino


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TextLabel

2017-04-18 Thread Pino Zollo


El 18/04/17 a las 06:07, gambas-user-requ...@lists.sourceforge.net escribió:
> Does the documentation [1] answer your question?

Yes, it does...

Thank you Tobi

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] TexrLabel

2017-04-17 Thread Pino Zollo
I really want that the Text of my TextLabel be  "< SK"  (without ")


...but no way :-(the <  kills the text
...not shows in the form editor and neither at run time.



[System]
Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.13.0-37-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_ES.UTF-8
Memory=3871M



Salud


Pino

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Repository of GAMBAS programs

2016-04-10 Thread Pino Zollo
Ones there was a repository of GAMBAS programs.

Is it still available ?

Thanks

Pino

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301=/ca-pub-7940484522588532
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Debian problem step 3.5.4 to 3.8.4

2016-01-21 Thread Pino Zollo


El 21/01/16 a las 10:01, gambas-user-requ...@lists.sourceforge.net escribió:
>  [Gambas-user] Debian problem step 3.5.4 to 3.8.4

Gianluigi...è per questo che ho smesso di usare Gambas

That's why I stopped developments in Gambas

Pino

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas 3.8 seems to work odd

2015-08-26 Thread Pino Zollo


El 26/08/15 a las 10:24, gambas-user-requ...@lists.sourceforge.net escribió:
 Both times the same Ubuntu-system with same components.
  If my front-end really had changed then both versions should do the same
  - but they DO NOT.
 
  
  x How does my program compiled with 3.6.x run, while the SAME code under
  3.8 does not?? x
  
 


 Because Gambas 3.6 is different from Gambas 3.8. You are *not* running 
 the same code.

This is the sad reason that keeps me stopped from programming in Gambas
...I was already very shocked because of the change from Gambas2 to
Gambas3 

... I like Gambas very much, but I cannot cope with incompatibilities
from one version to the other... too much effort to learn the new
features.

Salud

Pino

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


[Gambas-user] Compiling instruction not updated

2014-07-15 Thread Pino Zollo

Applying: On Mint 17 Mate

sudo apt-get install build-essential g++ autoconf libbz2-dev
libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev
libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev
libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev
libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev
libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev
libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev
libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev
linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.1-dev
libalure-dev libgmp-dev

as from the Gambas page

I get:



Creando árbol de dependencias
Leyendo la información de estado... Hecho
Nota, seleccionando «libglew-dev» en lugar de «libglew1.5-dev»
E: No se ha podido localizar el paquete llvm-3.1-dev
E: No se pudo encontrar ningún paquete con la expresión regular
«llvm-3.1-dev»



Please which is the updated lit of libraries ?...

as form ./configure -C I get:

||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.jit
|| - gb.qt4.opengl
|| - gb.qt4.webkit
||

...at least I should have qt4 complete.

Thenks

Pino

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] DBGridEdit

2014-04-29 Thread Pino Zollo
In
http://gambaswiki.org/wiki/dev/gambas_components

DBGridEdit   http://encryptec.net/software/gambas-grideditor/

Points to nowhere


Pino

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] UCase$()

2014-04-23 Thread Pino Zollo
UCase$() does not work with ñ and accented vowels.

Try this:

 Debug  UCase$(ñ), UCase$(á), UCase$(à), UCase$(é), UCase$(è),
UCase$(ó), UCase$(ò)


Regards

Pino

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FileChooser

2014-04-02 Thread Pino Zollo
HI,

Please, can somebody point me to an example  of code using FileChooser ?

I would like to do something like in the IDE when Projec-Create-SourceCode

Thanks

Pino

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


[Gambas-user] How to fill an array of strings ?

2014-03-26 Thread Pino Zollo
Hi,

This works fine:

Static Public English As String[] = [go, am, me, on, by, to,
up, so, and, man, him, out, not, but, can, who]



But the following, with 100 words does not work:

Static Public English As String[] = [go, am, me, on, by, to,
up, so, it, no, of, as, he, if, an, us, or, in,
is, at, my, we, do, be, and, man, him, out, not,
but, can, who, has, may, was, one, she, all, you,
how, any, its, say, are, now, two, for, men, her,
had, the, our, his, been, some, then, like, well,
made, when, have, only, your, work, over, such, time,
were, with, into, very, what, then, more, will, they,
come, that, from, must, said, them, this, upon, great,
about, other, shall, every, these, first, their, could,
which, would, there, before, should, little, people]


Too many :-(

Is there a work-around ?

Thanks

Pino

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


Re: [Gambas-user] morse code sound ?

2014-02-07 Thread Pino Zollo


El 07/02/14 03:13, gambas-user-requ...@lists.sourceforge.net escribió:
  morse code  sound ?

Can even send characters to cwdaemon.

73

Pino ZP4KFX

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Cairo..learning Gambas

2013-12-19 Thread Pino Zollo
Maybe...some good soul that knows the various Gambas components

might teach un-expert programmers or new-comers with something like this:



http://www.eiffel.com/developers/learning_maps/IntroducingEiffelLearningMaps/player.html

http://www.eiffel.com/developers/learning_maps/IntroducingEiffelLearningMaps/data/swf/fm_HowDoYouView.html


http://www.eiffel.com/developers/presentations/eiffel_overview/player.html?slide=


Regards

Pino

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Cairo

2013-12-18 Thread Pino Zollo

El 18/12/13 11:05, gambas-user-requ...@lists.sourceforge.net escribió:
 The code from draw.begin:

   Draw.Begin(DrawingArea1)
   Rap = Draw.w / 3
   DH = Draw.H

 ' [GB2:BCOL] DrawingArea1.BackColor = Color.White   ' OK works
 DrawingArea1.Background = Color.White

 ...

 So, yes, it is between draw.begin and draw.end.
 But this is not clear if you read the documentation.
 http://gambasdoc.org/help/comp/gb.qt4/draw?v3

 Is there way to get error message from compiler?

 Jussi
How can a poor programmer imagine that Draw is into qt4 ? there  is not 
an entry from the main list of instructions.

Do you think that this buggy documentation is sufficient ?

for instance...  the documentation of Paint does not mention that it has 
to be inside an event handler...
I have discovered it experimenting...

The worst for me is that I do not understand why Draw or Paint must be 
inside an event handler...

...it was not so in Gambas2 ...

Who triggers the event ?...why  ? when ?

How can other classes modify the drawing ?

Please help a simple-minded programmer...

Thanks

Pino

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Cairo

2013-12-16 Thread Pino Zollo
More infos...

Draw.Rect(0, 0, Rap, Draw.h)   -  FScale.class line 111 
generates the error
   Draw.Foreground = Color.Black
 Draw.Line(Rap, 0, Rap, Draw.H)   -- also this

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Escape key while writing in a TextArea

2013-12-16 Thread Pino Zollo
I need to process the Esc key while writing into a TexArea to abort a 
transmission..


For some weird reason the Esc key is ignored by the TextArea...


Some help please...

Good programming

Pino

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Pino Zollo
Gambas 3.5.1



A TextBox with name Name  gives FORM.Name Overridden  error

---


The string DELETE gives error FORM.Delete overridden at line:

 If FBand.ComboBand.Text  WFAX Then

-

Public Sub Call_LostFocus()
Dim GMT As Date
Dim F As Float
Dim FRMHZ As String
Dim sql As String

FRMHZ = FRtoMHz() ' This depends on comma

GMT = Vb.DateAdd(h, - toffset, Now)
   If Run Then
   If Not CheckCQ() Then
rData = Mglobal.$hConn.Exec(DELETE FROM spots WHERE DXCall = 
'CQ ---' AND dxband = ' 
ComboBand.Text  ' ;) ' it was on 
different frequency
   ' DEBUG Deleted by Call_LostFocus 
'   IF comma THEN
  If FBand.ComboBand.Text  WFAX Then ' 
***
sql = INSERT INTO spots  
   (SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, dxstat, 
dxmode, radiomode )  
   VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT)  
  
Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  CQ 
---  ',' 
FRMHz  ','  FRMHz 
 ','  ComboBand.Text  ','','  CQCQ  
','  ComboMode.Text  ','  RigMode RigBand  '); 
  Else
 sql = INSERT INTO spots  
(SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode  )  
VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT) 
   
 Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  
UCase$(Call.Text)  ',' 
 FRMHz  ','  FRMHz 
  ','  FBand.ComboBand.Text  ','  WFAX  ','  
DIAL  ','  ComboMode.Text  ','  RigMode RigBand  '); 
  Endif
 rData = Mglobal.$hConn.Exec(sql)

' rData = Mglobal.$hConn.Exec(INSERT INTO spots  
'(SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode )  
'VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT) 
   
' Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  CQ 
---  ',' 
' FRMHz  ','  FRMHz 
'  ','  ComboBand.Text  ','','  CQCQ  
','  ComboMode.Text  ','  RigMode RigBand  '); )
   ' ELSE
   '  rData = Mglobal.$hConn.Exec(INSERT INTO spots  
   ' (SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode  )  
   ' VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT) 
   
   '  Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  CQ 
---  ',' 
   '  Replace$(Replace$(FreqRadio.text, ., ), ,, .)  
','  Replace$(Replace$(FreqRadio.text, ., ), ,, .)
   '   ','  ComboBand.Text  ','','  CQCQ  
','  ComboMode.Text  ','  RigMode RigBand  '); )
   ' ENDIF
 rData = Mglobal.$hConn.Exec(delete FROM spots where dxcall  
'CQ ---' and freqrx = (select freqrx from spots where dxcall = 'CQ 
---' AND dxband = ' 
ComboBand.Text  ' ); ) ' --- errore 
nella subquery.. c'è un altro CQ in altra banda e dà 2 risultati
If FBandActive Then FBand.FillForm()
   End If
   Else
If Not CheckCall(Call.text) Then
 If Call.Text   Then
'   IF comma THEN
   If FBand.ComboBand.Text  WFAX Then
 sql = INSERT INTO spots  
(SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode  )  
VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT) 
   
 Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  
UCase$(Call.Text)  ',' 
 FRMHz  ','  FRMHz 
  ','  ComboBand.Text  ','  LabCountry.Text  ','  
DIAL  ','  ComboMode.Text  ','  RigMode RigBand  '); 
   Else
 sql = INSERT INTO spots  
(SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode  )  
VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT) 
   
 Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  
UCase$(Call.Text)  ',' 
 FRMHz  ','  FRMHz 
  ','  FBand.ComboBand.Text  ','  WFAX  ','  
DIAL  ','  ComboMode.Text  ','  RigMode RigBand  '); 
   Endif
 rData = Mglobal.$hConn.Exec(sql)
 ' rData = Mglobal.$hConn.Exec(INSERT INTO spots  
 '(SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode  )  
 'VALUES( '  Day(GMT)  /  Month(GMT)  /  
Year(GMT)
 ' Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  
UCase$(Call.Text)  ',' 
 ' FRMHz  ','  FRMHz 
 '  ','  ComboBand.Text  ','  LabCountry.Text  ',' 
 DIAL  ','  ComboMode.Text  ','  RigMode RigBand  
'); )
   ' ELSE
   'rData = Mglobal.$hConn.Exec(INSERT INTO spots  
   ' (SpotTS, DXcall, FreqRX, FreqQSX, dxband, dxcountry, 
dxstat, dxmode, radiomode  )  
   ' VALUES( '  Day(GMT)  /  Month(GMT)  /  Year(GMT) 
   
   '  Time(Hour(GMT), Minute(GMT), Second(GMT))  ','  

[Gambas-user] FORM.Name overridden.... FORM.Delete overridden errors

2013-12-13 Thread Pino Zollo
 Please send runnable project. That way your code is not very readable.
 I don't understand how you can get error from form.delete when it's not
 in your code..?


yes...it is not in my code that's why it is a weird bug into Gambas3not 
present in Gambas2

...

I need to send you the source and a database dump to reproduce the bugs...

where can I send them ?...

by the way for the TextBox named 'name' ...I had to change the name field to 
something else to escape ...
than I did fall into the DELETE problem...


I have posted already a crash problem of Gambas3 importing a Gambas2 program at 
the moment of adding components.

Gambas3 seems to me quite unstable :-(

Thanks

Pino




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas3 crash

2013-12-10 Thread Pino Zollo

While adding a component...in the process of converting a Gambas2 program

Gambas3 crashes ...see the attached image


Thanks

Pino


attachment: Gambas3_Crash.jpg--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to get the Version of the program ?

2013-12-08 Thread Pino Zollo
Please...

is there a way to get/print/put in a string variable

  the version of the program itself ?

Thanks

Pino




--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Official release of Gambas 3.5

2013-10-22 Thread Pino Zollo

El 22/10/13 07:32, gambas-user-requ...@lists.sourceforge.net escribió:
   Official release of Gambas 3.5
 To: mailing list for gambas usersgambas-user@lists.sourceforge.net
 Message-ID:5265d071.7020...@users.sourceforge.net
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Hi,

 I have just released Gambas 3.5 officially. Now bugs fixes will go to
 the 3.5.1 version.
Please, can you update the list of the libraries required for compiling...

I am especially interested in:

||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.gmp

|| - gb.media
|| - gb.openal
||

I am on Ubuntu 12.04.3

. libgmp-dev is version 2:5.0.2
 for gb.media I have installed gstreamer-1.0 from sourcenot having 
found the.deb...
which version of libopenal is needed ?.. Ubuntu gives the 1:1.13-4



Thanks

Pino

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


[Gambas-user] Help Gambas2 on Mint15

2013-08-08 Thread Pino Zollo
Hi,

I need to run my old programs written in Gambas2 on a Mint15 PC with MATE.

While Gambas 3 compiles very well, with Gambas2 I can not because of QT:

./configure says:

Disabled
gb.qt
gb.qt.kde
gb.qte


Which version of QT is needed ?


If I compile like this, without QT, then rises a problem with gb.pdf


Thanks for help


Pino


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with 2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.media compilation error

2012-10-01 Thread Pino Zollo
--
root@SIP-ubuntu:/usr/src/gambas3-3.3.2# ./configure -C  conf_ubuntu.txt
configure: WARNING: Unable to find file: libintl.so
configure: WARNING: This library may be located inside the system C library
configure: WARNING: Unable to find file: libiconv.so
configure: WARNING: This library may be located inside the system C library
configure: WARNING: Unable to met pkg-config requirement: gmime-2.6
configure: WARNING: But gmime 2.4 has been detected!
sh: Syntax error: redirection unexpected
configure: WARNING: Unable to met pkg-config requirement:  1.2.8
configure: WARNING: Unable to met pkg-config requirement: SDL_ttf
configure: WARNING: Unable to find file: libLLVM-3.1.so
configure: WARNING: gb.jit is disabled
-

Making all in gb.media
make[2]: se ingresa al directorio «/usr/src/gambas3-3.3.2/gb.media»
make all-recursive
make[3]: se ingresa al directorio «/usr/src/gambas3-3.3.2/gb.media»
Making all in src
make[4]: se ingresa al directorio «/usr/src/gambas3-3.3.2/gb.media/src»
CC gb_media_la-main.lo
CC gb_media_la-c_media.lo
c_media.c: In function ‘MediaControl_get’:
c_media.c:533: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
c_media.c:533: error: (Each undeclared identifier is reported only once
c_media.c:533: error: for each function it appears in.)
c_media.c: In function ‘MediaControl_put’:
c_media.c:551: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
c_media.c: In function ‘MediaControl_SetWindow’:
c_media.c:733: warning: implicit declaration of function
‘gst_x_overlay_set_window_handle’
c_media.c:743: warning: implicit declaration of function
‘gst_x_overlay_set_render_rectangle’
c_media.c: In function ‘cb_message’:
c_media.c:911: warning: implicit declaration of function
‘gst_tag_list_to_string’
c_media.c:911: warning: assignment makes pointer from integer without a cast
c_media.c:929: error: ‘GST_MESSAGE_PROGRESS’ undeclared (first use in
this function)
make[4]: *** [gb_media_la-c_media.lo] Error 1
make[4]: se sale del directorio «/usr/src/gambas3-3.3.2/gb.media/src»
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio «/usr/src/gambas3-3.3.2/gb.media»
make[2]: *** [all] Error 2
make[2]: se sale del directorio «/usr/src/gambas3-3.3.2/gb.media»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/usr/src/gambas3-3.3.2»
make: *** [all] Error 2


is gmime-2.6 required ?

Pino

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Last update

2012-09-28 Thread Pino Zollo
Last automatic update for Ubuntu 10.04

At start


[41] 'ScrollArea.Shadow' is not static.
Project.Main.258



;-)


Pino


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Last update

2012-09-28 Thread Pino Zollo
From:

 http://ppa.launchpad.net/nemh/gambas3ubuntu lucid main


Actualizó los paquetes siguientes:
apt (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14
apt-transport-https (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14
apt-utils (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14
gambas3 (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-dev (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-examples (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-cairo (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-chart (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-complex (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-compress (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-compress-bzlib2 (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-compress-zlib (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-crypt (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-data (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db-form (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db-mysql (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db-odbc (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db-postgresql (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db-sqlite2 (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-db-sqlite3 (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-dbus (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-desktop (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-eval-highlight (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-form (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-form-dialog (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-form-mdi (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-form-stock (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-gsl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-gtk (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-gtk-opengl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-gui (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-gui-opengl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-image (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-image-effect (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-image-imlib (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-image-io (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-libxml (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-mime (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-mysql (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-ncurses (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-net (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-net-curl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-net-pop3 (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-net-smtp (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-opengl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-opengl-glsl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-opengl-glu (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-option (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-pcre (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-pdf (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-qt4 (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-qt4-ext (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-qt4-opengl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-qt4-webkit (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-report (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-sdl (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-sdl-sound (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-settings (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-signal (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-v4l (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-vb (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-web (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-xml (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-xml-html (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-xml-rpc (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-gb-xml-xslt (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-ide (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-runtime (3.3.0~lucid2) to 3.3.1~lucid1
gambas3-script (3.3.0~lucid2) to 3.3.1~lucid1

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Error after upgrade

2012-09-25 Thread Pino Zollo
After the automatic upgrade of Gambas3 on UBUNTU 10.04  Gnome 2.30.2



/usr/local/bin/gambas3


ERROR: #27: Cannot load component 'gb.qt4': /usr/lib/gambas3/gb.qt4.so:
undefined symbol: GB


Salud

Pino


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


[Gambas-user] Barcode example for Gambas3

2011-06-05 Thread Pino Zollo
 
  I posted this on gambas-devel but don't know if it got through. I was not
  registered on that list.
 
  It is an update on the barcode example for Gambas3.
  http://old.nabble.com/file/p31776060/BarcodeG3-0.0.4.tar.gz
  BarcodeG3-0.0.4.tar.gz
 


On Ubuntu 10.04 ... 32 bit


FMain.DrawingArea1_Draw.39: FMain.DrawingArea1_Draw.37  Type mismatch:
wanted Float, got Null instead

and

FMain.printer_Draw.49: FMain.printer_Draw.47Type mismatch: wanted
Float, got Null instead

Saluti

Pino

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] QPainter in GAMBAS3

2011-05-31 Thread Pino Zollo

 i think you call paint.begin in a _draw event, no ?

No, ...Draw.begin  please see the all class source. 
Sub Disegna() is called continuously...how would be a better way ?
Shall I put Draw.Begin only once at the opening of the window ?

Thanks
Pino




2011/5/30 Pino Zollo pinozo...@gmail.com:

  Hi
  This message is a bit obscure for me. please help !
 
  It appears in the Console.
 
  QPainter::begin: A paint device can only be painted by one painter at a
  time.
  QPainter::end: Painter not active, aborted
 
  Actually I can not determine which statement and which class exactly
  generates it




' Gambas class file

'**
 Static Public Fine As Float
 Static Public Inizio As Float
 Static Public zoom As Float
 Static Public Freq As Float
 Static Public Fin As Float
 Static Public Ffin As Float
 Static Public F2 As Float
 Static Public D As Float = 0
 Static Public Ba As Boolean
 Static Public vfo0 As Float = 14200
 Static Public FullSpan As Boolean = False
 Static Public DH As Float
 Static Public OldBand As String = 20m
 Static Public Band As String = 20m
 Static Public CaCol As Integer  ' Call Color
 Static Public BeCol As Integer  ' Background Color
 
Public Sub _new()

End

Public Sub Form_Open()
  Me.Text = DBLog Scale
 
  Me.Top = Settings[Scale/Top, Me.Top]
  Me.Left = Settings[Scale/Left, Me.Left]
  Me.Height = Settings[Scale/Height, Me.Height]
  Me.Width = Settings[Scale/Width, Me.Width]

 
  ' ME.Move(200, 80)
'   ME.ShowModal  ' a cosa serve ??
  ' ME.Sticky = TRUE  ' does nothing
  ' DEBUG ME.Sticky
  ' ME.TopOnly = TRUE
  ' DEBUG ME.TopOnly   ' Why is always false ? after 2.15 it works...
 
  Inizio = FMain.lowerl
  Fine = FMain.upperl
  Freq = FMain.F  'Val(Replace$(FMain.FreqRadio.text, ,, ))   
'14.200   ' dummy
  zoom = 30  ' 30 KHz 30 marks in the full Height
  F2 = Freq * 1000  ' in KHz
 
 'DEBUG Inizio;; Fine;; Freq
  DrawingArea1.Resize(Me.ClientW, Me.ClientH)
  DrawingArea1.Cached = True
 
  ' Draw.Begin(DrawingArea1)
  
   Disegna()   
Catch 
 Debug error.text, error.Where
End

Public Sub Form_Close()
 
   ' Draw.End
  Settings[Scale/Top] = Me.Top
  Settings[Scale/Left] = Me.Left
  Settings[Scale/Height] = Me.Height
  Settings[Scale/Width] = Me.Width
 
End


Public Sub Form_Resize()
 
  Try DrawingArea1.Resize(Me.ClientW, Me.ClientH)   'TRY
   Disegna()
   ' DrawingArea1.Refresh   ' what is this for ?
  
End


Public Sub Disegna()   ' dovrebbe aspettare la fine della scrittura su Band
   Dim i, passo, Rap, St, En, p0 As Float
   Dim F, P, R As Integer
   Dim hField As ResultField ' for Spots
   Dim iInd As Integer
   Dim FSpot As Float
   Dim Raw_Count As Integer
   Dim Columns_Count As Integer
  

_label:
 Inizio = FMain.lowerl   ' Get band limits
 Fine = FMain.upperl
 Band = FMain.ComboBand.Text
 If Band  OldBand And FullSpan Then ' Put in Full Span the new band
   zoom = (Fine - Inizio) * 1000
   Fin = Inizio
   Freq = (Fine + Inizio) / 2
   OldBand = Band
 Endif
 
 Draw.Begin(DrawingArea1)   '  
-  here
 Rap = Draw.w / 3
 DH = Draw.H
 
   ' [GB2:BCOL] DrawingArea1.BackColor = Color.White   ' OK works
   DrawingArea1.Background = Color.White   ' OK works
  
Draw.Foreground = HDFEFFF
Draw.FillStyle = Fill.Solid
Draw.FillColor = HDFEFFF
Draw.Rect(0, 0, Rap, Draw.h)
  
Draw.Foreground = Color.Black
Draw.Line(Rap, 0, Rap, Draw.H)
   
   St = Inizio * 1000  ' in KHz
   En = Fine * 1000
   F = Int((Freq * 1000 - zoom / 2))
   Fin = F
 
   passo = (Draw.H / (zoom)) ' KHz   -1   senza Int
 
   Draw.Font.Size = 8
   For i = 0 To Draw.H + 1 Step passo  ' dirty trick !! the +1
 If F  En Or F  St Then
Draw.Foreground = Color.Red
 Else
Draw.Foreground = Color.Black
 End If

 If F Mod 5  0 Then
   Draw.Line(Rap - 5, i, Rap, i)
 Else
   Draw.Line(Rap - 10, i, Rap, i)
 If FMain.comma Then
  Draw.Text(Replace$(Format$(F / 1000, ##0.000), ,, .), 0,
i - 6,,, Align.TopLeft) ' -6 because Align seems not to work
 Else
  Draw.Text(Format$(F / 1000, ##0.000), 0, i - 6,,, Align.TopLeft)
 Endif
 
 End If
 Inc F
   Next
  
   Ffin = F - 1
' DEBUG Fin;; Ffin;; Ffin - Fin;; F2;; St;; En
   p0 = (F2 - Fin) / (Ffin - Fin) * Draw.H
   P = Int(p0)
   R = Int(Rap)
 '  Draw.Transparent = TRUE
   Draw.Foreground = Color.Red
   Draw.FillColor = Color.Red
   Draw.Polygon([R, P, R - 8, P - 5, R - 8, P + 5])
' Fill spots
   Draw.Font.Size = 9
   Draw.FillColor = Color.White
   For iInd = 0 To FBand.GridStations.Rows.Count - 1
 If FMain.comma Then
   Try Fspot = Val(Replace$(FBand.GridStations[iInd, 1].Text, .,
,)) * 1000
 Else
   Try Fspot = Val(FBand.GridStations[iInd, 1].Text) * 1000
 Endif
  
 If Fspot = Fin And Fspot = Ffin Then
SelectColor(iInd)
P = Int((FSpot - Fin

[Gambas-user] QPainter in GAMBAS3 ...error #11

2011-05-31 Thread Pino Zollo
Just moving Draw.Begin into Public Sub Form_Open()


Public Sub Form_Open()
 Draw.Begin(DrawingArea1)
  Me.Text = DBLog Scale
---


I get Error #11  please inform Benoit ;-)

Pino

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GAMBAS3.0 RC1 crash etc.

2011-05-30 Thread Pino Zollo
  Hi
  Run GAMBAS3 and load an application, then help ? and F1 ,  then select
  the language Italian or any other language.
  
  All will close without any message.
  
  Regards
  Pino
  
I cannot reproduce it. Can you give more details about your system?

Yes...Ubuntu 10.04 at last update.

..

I still can not compile 2.23.1 ...did you replace the source ?

..

I have noticed that changing from Gamabs2 to Gambas3  Connection.nameDB changes 
to Connection.name .
Maybe the conversion program should change it automaticallyor go back to 
the old name.



Salud

Pino


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] QPainter in GAMBAS3

2011-05-30 Thread Pino Zollo
Hi
This message is a bit obscure for me. please help !

It appears in the Console.

QPainter::begin: A paint device can only be painted by one painter at a
time.
QPainter::end: Painter not active, aborted

Actually I can not determine which statement and which class exactly 
generates it

Thanks

Pino

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Release of Gambas 2.23.1

2011-05-27 Thread Pino Zollo
Hi,
Some problem with 2.23.1 . the 2.23.0 did compile fine.

Salud

Pino


--

make[4]: se ingresa al directorio «/usr/src/gambas2-2.23.1/gb.v4l/src»
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I.. -pipe -Wall -Wno-unused-value -Wcast-align -fsigned-char
-fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o
main.lo main.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall
-Wno-unused-value -Wcast-align -fsigned-char -fvisibility=hidden -g -Os
-MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o
In file included from main.c:36:
CWebcam.h:40:22: error: videodev.h: No existe el fichero o el directorio
In file included from main.c:36:
CWebcam.h:65: error: field ‘vcap’ has incomplete type
CWebcam.h:66: error: field ‘vchan’ has incomplete type
CWebcam.h:67: error: field ‘vmbuf’ has incomplete type
CWebcam.h:68: error: field ‘vmmap’ has incomplete type
CWebcam.h:69: error: field ‘vwin’ has incomplete type
CWebcam.h:70: error: field ‘videopict’ has incomplete type
make[4]: *** [main.lo] Error 1
make[4]: se sale del directorio «/usr/src/gambas2-2.23.1/gb.v4l/src»
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio «/usr/src/gambas2-2.23.1/gb.v4l»
make[2]: *** [all] Error 2
make[2]: se sale del directorio «/usr/src/gambas2-2.23.1/gb.v4l»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/usr/src/gambas2-2.23.1»
make: *** [all] Error 2


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] 'Form.Name' is badly overridden in class 'FMain'

2011-05-27 Thread Pino Zollo
Hi,
I am trying to convert my old application from GAMBAS 2 to GAMBAS3.

On GAMBAS3 I get the error 

'Form.Name' is badly overridden in class 'FMain'


when I call FMain.show


Can somebody please help me to understand this matter ?


Salud

Pino

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GAMBAS3.0 RC1 crash

2011-05-27 Thread Pino Zollo
Hi
Run GAMBAS3 and load an application, then help ? and F1 ,  then select
the language Italian or any other language.

All will close without any message.

Regards
Pino

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Compiling on Debian 5.0.5 GAMBAS 2.2.21.0

2010-07-28 Thread Pino Zollo
Hi...
./configure  fails with:
-
=== configuring in main (/usr/src/gambas2-2.21.0/main)
configure: 
running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  
--cache-file=/dev/null --srcdir=.
./configure: line 1872: syntax error near unexpected token `main'
./configure: line 1872: `GB_INIT(main)'
configure: error: ./configure failed for main
-

Al previous versions have compiled well.

Ciao
Pino
-- 

In the universe there is no time existing as a physical reality,
 there is no past, no present and no future
Time is a mind construction into which one experiences motion
Time is a flow of irreversible material changes
-Davide Fiscaletti

Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Stack overflow

2010-06-20 Thread Pino Zollo
GAMBAS 2.20 regularly crashes with

[3] Stack Overflow

when producing a Mandriva package
after having licked on 'Communications' and then 'Other'
on the panel 5.Voice of menu.

regards

Pino
-- 

In the universe there is no time existing as a physical reality,
 there is no past, no present and no future
Time is a mind construction into which one experiences motion
Time is a flow of irreversible material changes
-Davide Fiscaletti

Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Release of Gambas 2.20.2 : does not compile

2010-03-22 Thread Pino Zollo
Il martedì 16 marzo 2010 05:28:26 gambas-user-requ...@lists.sourceforge.net ha 
scritto:
 [Gambas-user] Release of Gambas 2.20.2


make[4]: Entering directory `/usr/src/gambas2-2.20.2/main/gbx'
/bin/sh ../libtool --tag=CC   --mode=compile 
gcc -DHAVE_CONFIG_H -I. -I..-DGBX_INFO -pipe -Wall -Wno-unused-value 
-Wcast-align -fsigned-char -fvisibility=hidden -g -Os -I../share -D_REENTRANT   
 -O0  -MT 
gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c -o 
gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c
../libtool: line 847: X--tag=CC: command not found
../libtool: line 880: libtool: ignoring unknown tag : command not found
../libtool: line 847: X--mode=compile: command not found
../libtool: line 1014: *** Warning: inferring the mode of operation is 
deprecated.: command not found
../libtool: line 1015: *** Future versions of Libtool will require --mode=MODE 
be specified.: command not found
../libtool: line 1158: Xgcc: command not found
../libtool: line 1158: X-DHAVE_CONFIG_H: command not found
../libtool: line 1158: X-I.: command not found
../libtool: line 1158: X-I..: command not found
../libtool: line 1158: X-DGBX_INFO: command not found
../libtool: line 1158: X-pipe: command not found
../libtool: line 1158: X-Wall: command not found
../libtool: line 1158: X-Wno-unused-value: command not found
../libtool: line 1158: X-Wcast-align: command not found
../libtool: line 1158: X-fsigned-char: command not found
../libtool: line 1158: X-fvisibility=hidden: command not found
../libtool: line 1158: X-g: command not found
../libtool: line 1158: X-Os: command not found
../libtool: line 1158: X-I../share: No such file or directory
../libtool: line 1158: X-D_REENTRANT: command not found
../libtool: line 1158: X-O0: command not found
../libtool: line 1158: X-MT: command not found
../libtool: line 1158: Xgb_la-gbx_c_class.lo: command not found
../libtool: line 1158: X-MD: command not found
../libtool: line 1158: X-MP: command not found
../libtool: line 1158: X-MF: command not found
../libtool: line 1158: X.deps/gb_la-gbx_c_class.Tpo: No such file or directory
../libtool: line 1158: X-c: command not found
../libtool: line 1211: Xgb_la-gbx_c_class.lo: command not found
../libtool: line 1216: libtool: compile: cannot determine name of library 
object from `': command not found
make[4]: *** [gb_la-gbx_c_class.lo] Error 1
make[4]: Leaving directory `/usr/src/gambas2-2.20.2/main/gbx'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gambas2-2.20.2/main'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/gambas2-2.20.2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gambas2-2.20.2'
make: *** [all] Error 2


On Debian 5.01
Libtool  1.5.26-4
2.20.1 did compile nicely

Regards

Pino

-- 

In the universe there is no time existing as a physical reality,
 there is no past, no present and no future
Time is a mind construction into which one experiences motion
Time is a flow of irreversible material changes
-Davide Fiscaletti

Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Digest in UTF-8

2010-01-26 Thread Pino Zollo
Il lunedì 25 gennaio 2010 20:48:58 gambas-user-requ...@lists.sourceforge.net 
ha scritto:
 Baba.jpg B?b?1.jpg B?b?8.jpg B?b?20.jpg Bibi.jpg Bobo.jpg

 instead of:

 Baba.jpg Bibi.jpg Bobo.jpg B?b?1.jpg B?b?20.jpg B?b?8.jpg

 How does it work?

Hi,
I receive this forum in Digest forme.g. Gambas-user Digest, Vol 44, Issue 
68

Would it be possible to make it use UTF-8 ?

Would be very appreciated !

Best Programming !

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] fastest way to zero-out a huge binary: Signal #11

2010-01-24 Thread Pino Zollo
Il domenica 24 gennaio 2010 03:23:20 gambas-user-requ...@lists.sourceforge.net 
ha scritto:
 perform this shell command:

 dd if=/dev/zero of=Elevation.tmp bs=65537 count=65537

 This is the absolute fastest way to do it.

Tried this:

dd if=/dev/zero of=bigfile.tmp bs=65537 count=65537

and the program suggested by Kadaitcha Man, (see attachment)

and I get Signal #11 , even after the file bigfile.tmp has been erasedon 
Gambas2  2.19 On Debian 

Regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net


BigFile-0.0.1.tar.gz
Description: application/tgz
--
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] Collections

2010-01-16 Thread Pino Zollo
Il sabato 16 gennaio 2010 08:25:56 hai scritto:
 Salut Pino,

 my problem with your problem is:
 That is just a piece of code, I can only run and debug, if I invent ALL
 the rest.

 And so,every test will say nothing(if it is not a typo in that piece
 code).

 So please sent always a full run able gambas-archive. That has not to be
 the whole project, but a part of it, which reach that piece of code
 without any problems. I saw often the problem by producing such an
 example.

  
 --
 Amicalement
 Charlie

Merci Charllie,

Here included is the source of my project...it is just a studio exercise for 
testing of XML-RPC client component of GAMBAS.

To run it you need the server fldigi which is available on:

http://www.w1hkj.com/alpha/fldigi-flarq/

If you compile it from source make sure that the XML-RPC is enabled.

The problem rises when clicking on the 3rd button form the bottom, the one 
with A:n in front. It sends the command fldigi.list which replies with the 
list of recognised commands.

This project has a minor problem that maybe due to XML-RPC component
Some call needs cRpc.Mode = 2  other do not.
I wish I were able to understand why.

Let me know if all right with the server

A bien tot

Pino 

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net


ctlfldigi-0.0.2.tar.gz
Description: application/tgz
--
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] Gambas-user Digest, Vol 44, Issue 34

2010-01-16 Thread Pino Zollo
Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net 
ha scritto:
   

 I look at the code above and wonder abount the first 2 lines.
 Say i is 3 and count is 6. When it loops you get the following:
     i        count
     3        6
     4        5
 end of loop
 because the Pop in the second line reduces count. Is that what you wanted?

 Regards
 Werner

uhm ! thats a very useful information !!!
I didn't know that pop reduces the countin fact at the end I have only 60 
outcomes instead of about 117 !

...and the reason for which the loop was ending even without INC i, when I had 
forgotten it !

Maybe this affects the main problem ! I am going to investigate further. A 
real help ...thanks a lot !

Ciao

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Collections

2010-01-16 Thread Pino Zollo
Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net 
ha scritto:
                Disp.DisRes.Text = Disp.DisRes.Text  ~
              INC i
           LOOP
           ' CBCommand.Clear
           ' CBComm2.Clear
           FOR EACH Element IN Lista
               
                PRINT Lista.Key;;    ;; Lista[Lista.key][1];;    ;;
  Lista[Lista.key][0] PRINT Lista.Key;;    ;; Element[1];;    ;;
  Element[0]
 
                ' SELECT CASE Element[1]
                '    CASE n:s
                '      CBCommand.Add(Lista.Key)
                '    CASE s:n
                '      CBComm2.Add(Lista.Key)
                ' END SELECT
           NEXT  
  -
 
   

 I look at the code above and wonder abount the first 2 lines.
 Say i is 3 and count is 6. When it loops you get the following:
     i        count
     3        6
     4        5
 end of loop
 because the Pop in the second line reduces count. Is that what you wanted?

Hi Werner,

Sorry for the previous wrong Object

Yes definitively it takes to eliminate the INC i instruction

The main problems remainsnow the 119th string is always printed:
i.e.   A:n Returns the list of methods.  
While the first column, the key, is correct.
---
fldigi.version_struct A:n Returns the list of methods.
fldigi.version_struct A:n Returns the list of methods.
fldigi.name A:n Returns the list of methods.
fldigi.name A:n Returns the list of methods.
fldigi.list A:n Returns the list of methods.
fldigi.list A:n Returns the list of methods.
---

Regards

Pino


-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Collection of String[2]

2010-01-16 Thread Pino Zollo
Thanks a lot Fabien,
it works now !

A la prochain

Pino


 Please, where am I wrong ?
 For Element[1] and Element[0]  I get always the same values

 STATIC PUBLIC Lista AS NEW Collection
 ...
 ...

 PUBLIC FUNCTION xyz ...

  DIM Element AS String[2]
  DIM Parti AS String[]
 ...
  DO WHILE...
      Parti = NEW String[2]
    Parti[0] = myStruc.Value(0)
    Parti[1] = myStruc.Value(2)
    Lista.Add(Parti, myStruc.Value(1))
  LOOP
 .
  FOR EACH Element IN Lista
              PRINT Lista.Key;;    ;; Element[1];;    ;; Element[0]
  NEXT

 END
 

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Collection of String[2]

2010-01-15 Thread Pino Zollo
Please, where am I wrong ?
For Element[1] and Element[0]  I get always the same values

STATIC PUBLIC Lista AS NEW Collection
...
...

PUBLIC FUNCTION xyz ...

 DIM Element AS String[2]
 DIM Parti AS String[2]
...
 DO WHILE...
Parti[0] = myStruc.Value(0)
Parti[1] = myStruc.Value(2)
Lista.Add(Parti, myStruc.Value(1))
 LOOP
.
  FOR EACH Element IN Lista
  PRINT Lista.Key;;;; Element[1];;;; Element[0] 
  NEXT 

END


Many Thanks in advance
Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Collections

2010-01-15 Thread Pino Zollo
Hi,
please can somebody explain the following from the documentation:


DIM Dict AS NEW Collection
DIM Element AS String

Dict[Blue] = 3
Dict[Red] = 1
Dict[Green] = 2

FOR EACH Element IN Dict
  PRINT Element;
NEXT
hr3 1 2

--

3,1 and 2 are Integer, so why Element is a String  and Prints 3 1 3 instead of 
Blue, Red and Green ?

Thanks

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] XML-RPC

2009-12-27 Thread Pino Zollo
Hi 

is there any example of XML and XML-RPC available ?

best 2010 !

in gambaS nè !

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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


[Gambas-user] Bambas --- Python

2009-12-15 Thread Pino Zollo
I lost too much time with things like that and now strongly consider
to interface all calculation to Python and only keep GB as a GUI.

This shouldn't add that many things to the system: as of Linux, Python 
is a std install, as of Debian, this will only require a few packages 
to add (AND it'll solve docs templates, PDF generation and some other 
dead-ends)

Regards,
JY

I am interested in that !!
Please JY how can I do it ? Can you provide an example ?

Python interfaces to FORTRAN and I would like to call from Gambas some FORTRAN
routines.

Regards

Pino


-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Audio Cards Selection

2009-12-02 Thread Pino Zollo
Hi,

I have two audio cards on the computer.

Is there a way to record sound from one and send other sound to the other ?

I.E. How to select the card ?

Regards

PinoZP4KFX GG15lv

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] File select broken ?

2009-11-20 Thread Pino Zollo
Il giovedì 19 novembre 2009 21:04:19 hai scritto:
  -
  ' Filter for our user file open dialog. All image types supported by
  Gambas PRIVATE FUNCTION FileFilter(OPTIONAL All AS Boolean = FALSE) AS
  String[] DIM filter AS NEW String[]
    IF All THEN
      filter.Add(*.png *.jpeg *.jpg *.bmp *.gif *.xpm)
      filter.Add(All Graphics)
    END IF
    filter.Add(*.png)
    filter.Add(Portable Network Graphics)
    filter.Add(*.jpeg *.jpg)
    filter.Add(Joint Photographic Experts Group)
    filter.Add(*.bmp)
    filter.Add(Windows Bitmap)
    filter.Add(*.gif)
    filter.Add(Graphics Interchange Format)
    filter.Add(*.xpm)
    filter.Add(X PixMap)
    IF All THEN
      filter.Add(*)
      filter.Add(All Files)
    END IF
    RETURN filter
  END

 Filters must be separated by semicolons, not spaces. Try with semicolons,
 it should normally work.

   filter.Add(*.jpeg;*.jpg)

Good ! It worksjust semicolon and no space...

So you should correct the example PictureDatabase from where I took the
PRIVATE FUNCTION FileFilter.

Regards

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Multithreaded Programs

2009-11-08 Thread Pino Zollo
 
A computer is made of flip-flops (the very basic unit of memory). High 
level languages are for people who don't understand computers - those 
who understand them are perfectly happy with punched paper tapes and 
machine-level languages - Doriano Blengino.


Object programming mimics the world

and the world in multi-thread.


Ciao

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] How to force Gambas to use a specific language?

2009-10-30 Thread Pino Zollo
If it can help I test different languages with logging as an other user who  
has in his .profile the following:

#LANG=POSIX
LANG=ru_RU.utf8
#LANG=en_US.UTF-8
#LANG=es_ES.utf8
#LANG=fr_FR.utf8
#LANG=fr_BE.utf8

...I change the language just un-commenting the right one.

As you can easily switch from one user to the other it is also possible to 
have many instances of my project running at the same time in the same 
computer.

Regards

Pino Zollo

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Possible bug?

2009-09-16 Thread Pino Zollo
 Rich text is mainly used by TextLabel, GridView cells, and the
Draw.RichText method. 
 and TextView ?      --  I meen TextEdit   (sorry i've 5 year late)

...but do not use the method Insert:

taSpots.Insert(p)  it prints all chars including tags

use:

taSpots.Text = p

Only in this  way  Rich Text tags will be executed.

[ p is a string containing rich text and taSpot is the name of the TextEdit in 
my project]

Regads
Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Balloon

2009-09-08 Thread Pino Zollo
Alle 11:58, lunedì 7 settembre 2009, hai scritto:
  Hi!
 
  Balloon popup is little buggy (sometimes).
  Screenshot tells it all.
 
  For me (Gambas 2.15) the delay is not actuated:
 
   Balloon.Delay = 2
 
  shows for a small second
 
  Pino

 It works there... I think the problem comes from the window manager: which
 one do you use?

   Gambas 2.15, QT, Debian 5.0.1, Gnome...same on Debian 4.0r5

Ciao
Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Fwd: Re: Help DataSource, DataBrowse

2009-09-07 Thread Pino Zollo


--  Messaggio inoltrato  --

Subject: Re: [Gambas-user] Help DataSource, DataBrowse
Date: 11:16, domenica 6 settembre 2009
From: Pino Zollo pinozo...@gmail.com
To: Benoît Minisini gam...@users.sourceforge.net

Alle 08:21, domenica 6 settembre 2009, hai scritto:
  Hi ,
  Please an helpI am practising with DataSorce using into my project
  the same form and class of the database example: in particular
  Ftest.class and Ftest.form.
 
  In my project I get the error:
 
   Null Object DataSource.MoveFirst.173
 
  I guess that DataSource can not find my Connection to the database ...
 
  How can I tell to DataSource which is the Connection to use ?
  Is there a property of DataSource to set ?
 
  I make the connection in Mglobal.module with the following code:
  -
  PUBLIC FUNCTION conn(dbtype AS String, host AS String, lgn AS String,
  pass AS String) AS Boolean
 
TRY $hConn.close
$hConn.Type = dbtype '  postgresql
$hConn.Host = host
$hConn.Login = lgn
$hConn.Password = pass
$hConn.Open
RETURN TRUE
  CATCH
Message.error(conn, Error.Where  \n  Error.text)
RETURN FALSE
  END
  ---
  Where
  PUBLIC $hConn AS NEW Connection
  .
 
  Many thanks
 
  Pino

 You must open your connection before showing the form having the
 DataSource.

Thanks Benoît,

but the connection is already opened when I show the form so the problem must
be elsewhere.

 And in Gambas 3, you can specify explicitely a DataSource Connection
 object.

Good ! looking forward for the official release of Gambas 3.

Any chance to have it also on GAMBAS 2 ?

A bien tot

Pino




--
Key ID: 0xF6768208
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

---

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Balloon

2009-09-07 Thread Pino Zollo
Hi!
Balloon popup is little buggy (sometimes).
Screenshot tells it all.

For me (Gambas 2.15) the delay is not actuated:

 Balloon.Delay = 2

shows for a small second

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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 many row in a GridView ?

2009-08-30 Thread Pino Zollo
Alle 17:53, mercoledì 26 agosto 2009, hai scritto:
 I think what you are looking for is the Scaled property for the form. If
 you set this to false, I understand the objects should stay the same size.

 Hope this helps
Thanks,
...but GridView does not seem to have a Scaled property.


hey Pino,

you can count the number of rows in the gridview control like this

Gridview1.Rows.Count

as for the height of each one of the rows... now that you prolly have to do
some calculations yourself using the fonts that your gridview control and
your QT Theme use.

I hope it helps

Regards,
Dimitris

I know exactely how many rows there are because I write at 12 by 12.
The problem is that if the screen is 1280X1024 I get all them, but in 1024X768 
the number of rows is less.

The strange is that reducing the font size in QT-config I get less (not more) 
raws.

How can I calculate ? How can I know how hight is a row in GridView in 
function of the font ?

Best regards
Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] How to to copy a file which is into the project directory ?

2009-08-26 Thread Pino Zollo
Sorry,
forget about...an extra space into the destination file was producing a 
misleading message file or directory not found.
The string auto-completion always make me do errors.

Thanks
Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] How many row in a GridView ?

2009-08-26 Thread Pino Zollo
Hi,
Is there a way to determine how many rows appear in a GridView ?

I have noticed that moving my project from a computer to another with 
different screen definition or different QT settings all the forms change 
their dimensions.
The labels do not fit anymore into their spaces, the number of row change, 
and, in general, all the looking is worst.

I am looking for a general way of using parameters to define the dimension of 
the various objects on the forms.

Meanwhile for the width there is some possibility, for the height  I do not 
find any.

Any suggestion will be very appreciated.

Regards

Pino  ZP4KFX GG15lv

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] A web page for Gambas applications

2009-07-26 Thread Pino Zollo
Il domenica 26 luglio 2009 09:00:50 abdurrahman ulusoy ha scritto:
  I'd like to make a page on the web site dedicated to some big
  applications made in Gambas.
 
  To fill it, I ask people (who are agree) to send me:
 
  - Their full name.
  Pino Zollo   pinozollo at gmail.com  http://www.qsl.net/zp4kfx

  - The title of their application.
  DBLog

  - A short description.

  Radioamateur Logging Program based on a RDBM (PostgreSQL). 

  - A screenshot.

http://www.qsl.net/zp4kfx/Linux/DBLog/Screenshots/

  - A link to a web site dedicated to the application.

http://www.qsl.net/zp4kfx/Linux/DBLog/

Licence: GPL

Regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


[Gambas-user] gb.qt.kde.html

2009-07-24 Thread Pino Zollo
Hi,
I have just added the components  gb.qt.kde  and gb.qt.kde.html ad all my 
project did change look like if QT were not present. 

How can I force the QT look ?

Thank you

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


Re: [Gambas-user] gb.qt.kde.html

2009-07-24 Thread Pino Zollo
Il venerdì 24 luglio 2009 16:01:19 David Villalobos Cambronero ha scritto:
 Really don't know

  Regards


 --
 David



 - Original Message 
 From: Pino Zollo pinozo...@gmail.com
 To: David Villalobos Cambronero david_villalobo...@yahoo.com
 Sent: Friday, July 24, 2009 1:52:12 PM
 Subject: Re: [Gambas-user] gb.qt.kde.html

 Il venerdì 24 luglio 2009 15:40:32 hai scritto:
  if you set it to qt4?
 
   Regards

 Just done but no change...seems inactive.

 Ciao

 Pino

Maybe Il Maestro Benoît knows...

Gracias de todo modo..

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


Re: [Gambas-user] gb.qt.kde.html

2009-07-24 Thread Pino Zollo
Il venerdì 24 luglio 2009 17:55:48 hai scritto:
 Pino Zollo a écrit :
 ...

  Mercì Jean-Yves,
 
  It seems that gb.gui is incompatible with gb.qt and gb.qt.ext ...so I am
  in a dead lock...

 Yes it is, but you have the choice:

 gb.gui = Gambas is choosing GTK||Qt, depending on your desktop settings,
 gb.gtk = Forces GTK use
 gb.qt  =   Qt   
 gb.dos =   MSDOS 
 gb.gem =   GEM  

  I just wanted to add to my application the Web browser to read the manual
  from my Internet site...

 don't know, I'm not creating anything for the web

  Maybe there is an other way without having to use the gb.qt.kde.html ...

 I don't think it is possible to mix style, otherwise you would be allowed
 to check them both in projects props; so if you want to use gb.qt.kde.html,
 you _must_ use the Qt environment (which is really not a PITA:)
 Furthermore the Qt licences have evolved, if you don't build a commercial
 software you don't need a licence (GPL version)

 JY

Thanks Jean-Yves,
I have found a piece of code into Gambas source that fits my need...

the   PUBLIC SUB OpenWebPage(sLink AS String)

in Project.module 

So I do not need anymore the Web browser as done in the example which comes 
with Gambaswhich uses gb.qt.kde.html ...

...yes QT look nicer and my project is GNU GPL.

Regards

Pino


-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


[Gambas-user] Bug or Feature ?

2009-07-20 Thread Pino Zollo
Hi,
I have discovered that in a TableView or in a GridView enabled to receive 
data's from a database
 PUBLIC SUB TabWB4_Data(Row AS Integer, Column AS Integer) 

and to react to a Click  PUBLIC SUB TabWB4_Click()

Clicking, not only it is executed the _Click() subprogram but also the 
_Data(...) again.

This,  my case, it did erase the table as the rData received from the 
database, had changed at the moment of the Click.

Just a curiosity...how can Gambas know which _Data() to call for a certain 
query ?

Best Regads

Pino

P.S. ( Gambas 2.14, QT, Debian 5.0.1, Gnome)

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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


[Gambas-user] TextBox and TextLabel do not respect the locale

2009-07-20 Thread Pino Zollo
Hi,

I receive a date from a query to the database...let's say rData!x_date ...

The database is set to 
rData = Mglobal.$hConn.Exec(SET SESSION datestyle TO DMY) 

DMY data style...the locale of the computer is Italian so DMY also.

If I write  rData!x_date into a GridView or into a string all goes OK,
but if I write  rData!x_date into a TextBox or into a TextLabel then
I get MDY format..i.e. the month before the day.

(Gambas 2.14, QT, Gnome, Debian 5.0.1)

Regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] PictureDatabase with PostgreSQL

2009-07-17 Thread Pino Zollo
Il mercoledì 15 luglio 2009 18:09:51 richard terry ha scritto:
  By the time I was reading the PosgreSQL  documentation. There it explains
  a totally different way of handling blobs.
 
  They use the internal function pg_lo_import to import into the DB a large
  object.
  This returns a pointer OID that is actually written into the db table.
 
  I am going to experiments both ways...I will let you know how it goes.

 Please do.

Hi Richards and friends of the list,

On http://www.qsl.net/zp4kfx/Linux/GAMBAS 

I have uploaded a version of the example PictureDatabase that works with 
PosgreSQL using its OID.

The code is quick and dirty but works...
Some good soul might wish to clean it and, maybe, let it use more GAMBAS DB 
functions.

It just takes to change the hardcoded user and password.

Best regards 

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] PictureDatabase with PostgreSQL

2009-07-15 Thread Pino Zollo
Il martedì 14 luglio 2009 17:56:49 richard terry ha scritto:
 Hope this helps.

 Regards

 Richard

Thanks Richard,
yes it helpsnow I am going to put it into the PictureDatabase program.

So actually the stream of byte is converted to octal to avoid coding problem.
Is there also some reversing function ?

By the time I was reading the PosgreSQL  documentation. There it explains a 
totally different way of handling blobs.

They use the internal function pg_lo_import to import into the DB a large 
object.
This returns a pointer OID that is actually written into the db table.

I am going to experiments both ways...I will let you know how it goes.

Regards
Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] PictureDatabase with PostgreSQL

2009-07-15 Thread Pino Zollo
Il mercoledì 15 luglio 2009 18:09:51 richard terry ha scritto:
  By the time I was reading the PosgreSQL  documentation. There it explains
  a totally different way of handling blobs.
 
  They use the internal function pg_lo_import to import into the DB a large
  object.
  This returns a pointer OID that is actually written into the db table.
 
  I am going to experiments both ways...I will let you know how it goes.

 Please do.

Hi Richard...

I made it ! ...it took me few hours but finally I could modify the example to 
work well also with PosgreSQL !

It is left just the 'Delete' function which, not only has to delete the data's 
from the table but also the images from their repository.

I will polish a little bit and then put all on my site for general 
downloading...

Just for your curiosityonly one SQL instruction is used for storing the 
image and the thumb one:

  ResultPictures = databaseConnection.Exec(INSERT INTO pictures (description, 
image, thumb) VALUES ('  Descr 
   ', lo_import('  ImagePath  '), lo_import('  tempFile 
 ')  ))

where image and thumb are of type 'oid'

...and for retrieving one per image

 ResultOID = ModuleDatabase.databaseConnection.Exec(SELECT lo_export( 
   Str(oid_im)  ,'  tempFile  ') ;)

Best regards

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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


[Gambas-user] PictureDatabase with PostgreSQL

2009-07-14 Thread Pino Zollo
Hi,

I am trying to use the example PictureDatabase with PostgreSQL but I get the 
following error:

Invalid byte sequence for encoding UTF-8

when executes the instruction:

 newPicture.Update() 

in PUBLIC SUB Add(ImagePath AS String)

The creation of the database structure seems correct:
---
  Tabella public.pictures
   Colonna   |  Tipo  | Modificatori  
--++---
 id   | bigint | not null default 
nextval('pictures_id_seq'::regclass)
 thumb| bytea  | 
 image | bytea  | 
 description | text   | 
Indici:
pictures_pkey PRIMARY KEY, btree (id)
---

I have tried also to create manually the database with the option -E UTF-8, 
but no change. (By the way how can this done in GAMBAS ? as 
databaseConnection.Databases.Add(DBName)  does not permit other parameters)

I do not understand if the problem is in PostgreSQL or in GAMBAS

It seems that that picture is treated as a text string instead of a blob.

Thanks for any idea.  (PostgreSQL 8.3, GAMBAS 2.14, Debian 5.0.1, QT)

Pino


-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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


[Gambas-user] Data Base Example updated

2009-07-11 Thread Pino Zollo
Hi,
For who is interested...

I have updated the example DataReprtExample that comes with GAMBAS  .

It is available in http:///www.qsl.net/zp4kfx/Linux/GAMBAS 

Now it works both with MySQL and PostgreSQL.

The original can not work with PostgreSQL because in it  the table 'user' is 
reserved.

Regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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


[Gambas-user] How to close correctly an application ?

2009-07-08 Thread Pino Zollo
Hi,

Please which is the correct way of closing the application ?

While closing I have randomly some error about some activity which is still 
going on as writing to socket or timer activity...

Besides, even if I close with QUIT, at a following boot the application 
starts automatically as happens to the applications left open at shut down.

(Debian 5.0.1, Gnome, QT, Gambas 2.14 locally compiled)

Regards
Pino

PUBLIC SUB mnuQUIT_Click()
  timer1.Enabled = FALSE
  LogServer.Close()
 
  Timer1.Enabled = FALSE ' Disable polling
  TRY CLOSE Sport
   IF Socket1.Status  0 THEN CLOSE #Socket1
  EXEC [killall, rigctld]
  EXEC [killall, xplanet]
  EXEC [killall, tail]
  EXEC [killall, xdx]
  mnuSTOP_Click()
  EXEC [killall, fldigi]
  FQSOList.Close
  FMain.Close  ' ME
END
--


-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Window not closable

2009-07-07 Thread Pino Zollo
Il martedì 7 luglio 2009 12:57:11 hai scritto:
 I think you can just cancel it in the onClose event of the window.
 I personally use windows without borders or anything that simply have no
 close button on them, it's nicer
 i think, but of course you are leaving the desktop look, which might not
 be acceptable.

Thanks Steven,
I will do some experiment...

Without border I guess that the user can not move around the window any 
more...

Regards

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

--
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] Sticky, TopOnly

2009-07-05 Thread Pino Zollo
Hi 


  ME.Sticky = TRUE  ' does nothing
  DEBUG ME.Sticky
  ME.TopOnly = TRUE
  DEBUG ME.TopOnly   ' Why is always false ?
---
Any idea why I get alway FALSE by the two DEBUG statements and none of the 
effect is shown by the window ?

Best regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


[Gambas-user] How to report signal #11

2009-06-29 Thread Pino Zollo
Hi,
In certain circumstances my project ends with signal #11

I am trying to follow the following instructions but I am confused about  the 
complete sequence:

--
3. Reporting a crash (a segmentation fault, or a signal #11)
If Gambas crashes, you can trace it and tell me where it crashed exactly. It 
is very helpful for me. If you don't know how to do that, read the following 
carefully:

* Open a terminal, and go to the directory of the project that crashes. If 
the IDE crashes, go to the IDE sources in the appsrcgambas2 directory of the 
source package. For example:

$ cd ~/gambas2-2.XX.Y/app/src/gambas2

* Then compile all the IDE.

$ gbc2 -agt

* Launch the GNU debugger.

$ gdb gbx2
GNU gdb 6.6-3mdv2008.0 (Mandriva Linux release 2008.0)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i586-mandriva-linux-gnu.
(gdb)
---

I get the following:

-

IK1CHE:/home/pino/GAMBAS/dblog# 
IK1CHE:/usr/src/gambas2-2.13.1/app/src/gambas2# gbc2 -agt
OK
IK1CHE:/usr/src/gambas2-2.13.1/app/src/gambas2# gdb gbx2
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(gdb) set args -p
(gdb) run
Starting program: /usr/local/bin/gbx2 -p
[Thread debugging using libthread_db enabled]

[2]+  Stopped gdb gbx2
--
and gdb ends.

Please, how do I compile my project with debugging informations in ?

Shell I also recompile the IDE ?

Thanks

Pino

-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Pino Zollo
Il venerdì 26 giugno 2009 11:34:04 kobolds ha scritto:
 for example
 you need to write program to export data to text file in fix size in
 following format.
 1. item_no      type:integer    size = 10 character , leading zero
 2. item name   type:string      size = 20 character, trailing space
 3. item_qty     type:integer    size = 5 character , leading zero
 4. item_price   type:float       size = 10 character , 2 decimal , leading
 zero, no thousand and decimal separator

 you can easily do this by :
 1. formatx(item_no , @n010)
 2. formatx(item_name, @s20)
 3. formatx(item_qty, @n05)
 4 formatx(item_price, @n010vv2)
  
 you can see that how this function simplify your code that you will need
 more code without it?

Thanks for sharing your code.
Yes I am going to use it into my project as it simplifies my code quite a lot.

Any how I have to solve also the other problem as my code is supposed to be 
used under any 'locale'.

If I get a space in place of a point I can make a work-around...it is actually 
what I have done up to now

The problem now is with Russian language. The code produces a point as 
thousand separator, but the form and the console of GAMBAS show two 
squares...i.e. 2 not recognised utf-8 characters.

You can test it making a test user on your system and put into his .profile 
the command
LANG=ru_RU.utf8

and run your program as this user.

Best regards

Pino

 



-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


[Gambas-user] Format$ with different LANG

2009-06-24 Thread Pino Zollo

For LANG=POSIX

? Format$(Val(14555888) / 1000, #,###.000)
14,555.888

...this is OK

LANG=es_ES.utf8 and for LANG=it_IT.utf8

? Format$(Val(14555888) / 1000, #,###.000)
14 555,888

There is a space  where should be a . but I can cope with it

For LANG=ru_RU.utf8  

? Format$(Val(14555888) / 1000, #,###.000)
14??555,888

  where ?? are 3F3F . These are not recognised as UTF-8 valid characters.

In my GAMBAS program actually the two 3F are rapresented by squares.

( http://www.qsl.nqt/zp4kfx/Linux/dblog.html )

Best regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


[Gambas-user] Tar-1.3 for Slackware

2009-06-24 Thread Pino Zollo
Please where can I find tar-1.3 ?

yahoo and google did not find it.

It is required for generating the Slackware installation package.

(Gambas 2.13 on Debian 5.0.1)

Regards

Pino
-- 
Key ID: 0xF6768208 
Key fingerprint = B16D 0A7C 5B29 A334 CE6A  71F6 EAF8 3D88 F676 8208
Key server: hkp://wwwkeys.eu.pgp.net

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


Re: [Gambas-user] Multi threaded apps

2008-09-05 Thread Pino Zollo
Alle 19:11, venerdì 5 settembre 2008, nando ha scritto:
 This thread would cease to exist when the SUB is completed.
 The main thread continues processing along side this one.

 The interpreter would have to switch running threads regularly.

I guess that there should be many instances of the interpreter, one for 
thread. Hope the interpreter is light enough !
Very nice and usefull to have !

Pino

-
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] Postgresql date question

2008-07-19 Thread Pino Zollo
Alle 17:51, giovedì 17 luglio 2008, richard terry ha scritto:
 insert into mytable (date1, date2) values

 ('01/01/2008','00:00:00')

What about 
insert into mytable (date1, date2) values ('01/01/2008', NULL)

Maybe you want the type timestamp ...which is the set of a date and a time.

Good luck
Pino

-
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