[Gambas-user] gb.report2 save to pdf

2018-02-05 Thread Johny Provoost

Hallo,

In gb.report2 I want to change the name and path when I save the file as 
pdf through a variable, but I can't seem to find out how or if it's 
possible.


Can someone please show me the way?


Thanks,

Johny



--
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] The Gambas mailing list does not work?

2017-01-06 Thread Johny Provoost
Hello,

I use thunderbird with a mailadress from my provider and I also got that 
bouncing messsage.

Kind Regards

Johny



Op 06-01-17 om 08:51 schreef Fabien Bodard:
> Idem !!!
>
>
> The 3 th jan :
>
> Your membership in the mailing list Gambas-user has been disabled due
> to excessive bounces The last bounce received from you was dated
> 03-Jan-2017.  You will not get any more messages from this list until
> you re-enable your membership.  You will receive 3 more reminders like
> this before your membership in the list is deleted.
>
> To re-enable your membership, you can simply respond to this message
> (leaving the Subject: line intact), or visit the confirmation page at..
>
>
> WTF ?
>
> --
> 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
>



--
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] Unable to start Gambas

2016-05-04 Thread Johny Provoost

   Op 04-05-16 om 12:53 schreef Benoît Minisini:

Le 04/05/2016 12:35, Johny Provoost a écrit :

Since the last update this morning I can't start Gambas any more.
When I start Gambas from terminal I get the error:
gbr3: unable to load component: gb.form.terminal

I use the daily builds from:
[1]http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu on trusty
(Ubuntu 14.04)


As that bug has been fixed yesterday, I guess you have to wait one day more.

   No Problem, Thank You.

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [2]johny.provo...@skynet.be

   mailto: [3]johny.provo...@gmail.com

   Website: [4]http://www.johnyprovoost.net

References

   1. http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu
   2. mailto:johny.provo...@skynet.be
   3. mailto:johny.provo...@gmail.com
   4. http://www.johnyprovoost.net/
--
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!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Unable to start Gambas

2016-05-04 Thread Johny Provoost
Since the last update this morning I can't start Gambas any more.
When I start Gambas from terminal I get the error:
gbr3: unable to load component: gb.form.terminal

I use the daily builds from:
http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu on trusty 
(Ubuntu 14.04)


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be <mailto:johny.provo...@skynet.be>*

*mailto: johny.provo...@gmail.com <mailto:johny.provo...@gmail.com>*

*Website:* *http://www.johnyprovoost.net* <http://www.johnyprovoost.net/>



--
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!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Mediaview Length and Pos

2016-04-14 Thread Johny Provoost
Ok got revision #7740 now and 'Duration' and 'Position' works perfectly.
Thank you very much.

Johny

Op 13-04-16 om 20:57 schreef Benoît Minisini:
> Le 13/04/2016 18:48, Johny Provoost a écrit :
>> Is it possible to get the length and the Position of the played media
>> with the Mediaview object.
>>
>> Greetings,
>> Johny
>>
> I added two new properties for that in revision #7738.
>
> Regards,
>



--
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!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Mediaview Length and Pos

2016-04-13 Thread Johny Provoost
Thank you,  I install tomorrow. Time to go to bed now.

Regards,


Op 13-04-16 om 20:57 schreef Benoît Minisini:
> Le 13/04/2016 18:48, Johny Provoost a écrit :
>> Is it possible to get the length and the Position of the played media
>> with the Mediaview object.
>>
>> Greetings,
>> Johny
>>
> I added two new properties for that in revision #7738.
>
> Regards,
>


--
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!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Mediaview Length and Pos

2016-04-13 Thread Johny Provoost
Is it possible to get the length and the Position of the played media 
with the Mediaview object.

Greetings,
Johny



--
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!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Mediaview

2016-03-23 Thread Johny Provoost


Op 23-03-16 om 19:13 schreef Ru Vuott:
>>   Is it possible with Mediaview to detect if the stop button is pressed
>
> I suggest ..
>
> *
> Public Sub Form_Open()
>   
>   Dim ob As Object
>
>ob = MediaView1.Children[0]
>ob = ob.Children[0]
>ob = ob.Children[2]
>Object.Attach(ob.Children[2], Me, "STOP")
>
> End
>
>
> Public Sub STOP_Click()
>
>Print "stop !"
>
> End
> *
>
> Regards
> vuott
>
>
>
>   
>   
>   --
>   
It's working (even the play and pause buttons) , thanks
I certainly have to learn some more about objects.

Regards
Johny


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Mediaview

2016-03-23 Thread Johny Provoost
Is it possible with Mediaview to detect if the stop button is pressed, and
is it possible to detect if the thing you playing is ended.


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be <mailto:johny.provo...@skynet.be>*

*mailto: johny.provo...@gmail.com <mailto:johny.provo...@gmail.com>*

*Website:* *http://www.johnyprovoost.net* <http://www.johnyprovoost.net/>



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Wizard question

2015-12-01 Thread Johny Provoost

   Op 01-12-15 om 12:36 schreef [1]wi...@develop.earthshipeurope.org:

Hi all,

I'm currently working on a Wizard and have a question.

The thing with this specific wizard is that once a user starts the
wizard, he/she should run through the whole wizard, so no canceling
halfway.

For this I would need to be able to disable (or even better make
invisible) the Cancel button, but I can't figure out how to do this. Is
it even possible?

If not, I'll have to work around the issue with letting the Cancel event
call the Form_Close() method (where closing the wizard before it
finished is stopped).
But it would look better to visualize the Cancel can't be used I.M.H.O.

Thankx,

gbWilly

   is 'myform.mybutton.visible=false' not working?

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [2]johny.provo...@skynet.be

   mailto: [3]johny.provo...@gmail.com

   Website: [4]http://www.johnyprovoost.net

References

   1. mailto:wi...@develop.earthshipeurope.org
   2. mailto:johny.provo...@skynet.be
   3. mailto:johny.provo...@gmail.com
   4. http://www.johnyprovoost.net/
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TextArea show first line of text

2015-05-01 Thread Johny Provoost


Op 01-05-15 om 11:25 schreef abbat81:
 By default TextArea.Text (.Insert) shows end of a text.
 How can I show  text from begining? move to top?

 .Pos, .ToLine, etc - is not halpfull (text can have several lines + wraped)

 Thanks


If I load a file in textarea (several lines and wraped), than 
TextArea.pos=1 shows the text from the beginning.

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gb.Report2

2015-04-04 Thread Johny Provoost


Op 04-04-15 om 12:44 schreef Frank:
 Hello Everybody,

 I've seen that the new gb.report component uses now documentviewer as
 where I until now could use report.preview() it now fails. As I have
 made a few reports in my application I would appreciate a working method
 to produce a preview and where I can save this preview as .PDF (like I
 did sofar) As I amquit new to Gambas but still learning, I am now lost
 again a bit.
 btw, I have looked at the example of Fabien but is this more for
 excisting .PDF files or can I use this as well to generate for my reports?

 Kind regards,

 Swissgamba
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

Don't you have a second TAB (first is print, second is File) in the 
preview window?  There you normally can Print the file as pdf.
-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gb.Report2

2015-04-04 Thread Johny Provoost


Op 04-04-15 om 17:58 schreef Frank:
 On 04.04.2015 17:49, Johny Provoost wrote:
 Op 04-04-15 om 12:44 schreef Frank:
 Hello Everybody,

 I've seen that the new gb.report component uses now documentviewer as
 where I until now could use report.preview() it now fails. As I have
 made a few reports in my application I would appreciate a working method
 to produce a preview and where I can save this preview as .PDF (like I
 did sofar) As I amquit new to Gambas but still learning, I am now lost
 again a bit.
 btw, I have looked at the example of Fabien but is this more for
 excisting .PDF files or can I use this as well to generate for my reports?

 Kind regards,

 Swissgamba


 Don't you have a second TAB (first is print, second is File) in the
 preview window?  There you normally can Print the file as pdf.
 btw these are the lines:

 reportor = New Rptoffenerechnung
 reportor.preview()

 the error is: Error: Wanted picture, got function instead
 --


Sorry, can't help you with that.  Think we have to wait for Fabian.
-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.scanner

2015-03-12 Thread Johny Provoost
Hello,

Is there's some place where I can get some more help about gb.scanner.  
The help in Gambas doesn't show much.

I'll tried

Public Sub Button1_Click()
   Dim HPScan As Image
   Dim MyScan As Scanner
   Scanners.Search
   MyScan.Scan(HPScan)
End

scanners.search find my scanner (see in the terminal window: 
hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one)
but myscan.scan(HPScan) gives 'Null Object'

Do I somewhere config my scanner like you have to config your printer?

Regards,
Johny

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.scanner

2015-03-12 Thread Johny Provoost


Op 11-03-15 om 19:10 schreef Fabien Bodard:
 Le 11 mars 2015 17:59, Johny Provoost johny.provo...@skynet.be a écrit :
 Hello,

 Is there's some place where I can get some more help about gb.scanner.
 The help in Gambas doesn't show much.

 I'll tried

 Public Sub Button1_Click()
 Dim HPScan As Image
 Dim MyScan As Scanner
 Scanners.Search
 MyScan.Scan(HPScan)
 End

 scanners.search find my scanner (see in the terminal window:

 hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one)
 but myscan.scan(HPScan) gives 'Null Object'

 Do I somewhere config my scanner like you have to config your printer?

 Regards,
 Johny

 Well I've not documented the component yet

 But you must do :

 Himg =Scanners[
 hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604].scan()

 Or

 Hmyscan as scanner
 Hmyscan =scanners[hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604]

 Himg=Hnyscan.scan()

 I will send an example on the farm quikly

 ---


Thank you Fabian.
Can start now.  Looking forward to your example.

Johny

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.scanner

2015-03-12 Thread Johny Provoost
Thank you Ron.  Will look in to it.
Regards
Johny

Op 11-03-15 om 21:02 schreef Ron:
 Here a cleanup of an already existing Gambas Scanner app using
 scanimage cli command I use regularly.
 https://github.com/cyberjunky/gbscan/

 It does all the option parsing from cli output...

 Maybe we can make it better using gb.scanner component and vice versa..
 Thinks I want to add are digital stamps like Confidential and signatures...

 Regards,
 Ron.

 2015-03-11 19:24 GMT+01:00 Johny Provoost johny.provo...@skynet.be:

 Op 11-03-15 om 19:10 schreef Fabien Bodard:
 Le 11 mars 2015 17:59, Johny Provoost johny.provo...@skynet.be a 
 écrit :
 Hello,

 Is there's some place where I can get some more help about gb.scanner.
 The help in Gambas doesn't show much.

 I'll tried

 Public Sub Button1_Click()
  Dim HPScan As Image
  Dim MyScan As Scanner
  Scanners.Search
  MyScan.Scan(HPScan)
 End

 scanners.search find my scanner (see in the terminal window:

 hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one)
 but myscan.scan(HPScan) gives 'Null Object'

 Do I somewhere config my scanner like you have to config your printer?

 Regards,
 Johny

 Well I've not documented the component yet

 But you must do :

 Himg =Scanners[
 hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604].scan()

 Or

 Hmyscan as scanner
 Hmyscan =scanners[hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604]

 Himg=Hnyscan.scan()

 I will send an example on the farm quikly

 ---

 Thank you Fabian.
 Can start now.  Looking forward to your example.

 Johny

 --
 Dive into the World of Parallel Programming The Go Parallel Website, 
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for 
 all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Application error on Publish

2015-03-06 Thread Johny Provoost


Op 06-03-15 om 12:24 schreef Benoît Minisini:
 Le 06/03/2015 12:18, Benoît Minisini a écrit :
 Le 06/03/2015 12:15, Benoît Minisini a écrit :
 Le 06/03/2015 11:15, Johny Provoost a écrit :
 When I choose in the menu 'Project' - 'Publish' I get

 This application has raised an unexpected error and must abort
 [64] Void key.
 Farmidentity.Get.30

 Gambas version is from the daily build through the ppa (svn 6948)

 Can you run the IDE from a terminal and send the stack backtrace that
 will be printed in it after the error?

 OK, not needed, I got it.

 Fixed in revision #6950.

 Regards,

Thanks, test it after I get this revision in the daily builds

Regards,
Johny

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Application error on Publish

2015-03-06 Thread Johny Provoost
When I choose in the menu 'Project' - 'Publish' I get

This application has raised an unexpected error and must abort
[64] Void key.
Farmidentity.Get.30

Gambas version is from the daily build through the ppa (svn 6948)






[System]
Gambas=3.6.90
OperatingSystem=Linux
Kernel=3.13.0-46-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.2 LTS
Desktop=GNOME
Theme=QCleanlooks
Language=nl_BE.UTF-8
Memory=2945M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4


--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.report Question

2015-02-06 Thread Johny Provoost
I have a program which the possibility to print to print address labels 
with gb.report.  Works perfectly but  I always have to close the program 
before I can print the same report with different data. It always put 
the first data into the report.
My code to put data on the labels is in the _New module of the report, 
and I notice that run only the first time I call the report.  The second 
time it doesn't run this code in the _New module.  I'll tried to put the 
code in report_open, but there the code only run once too.
How can I made the code in the _New or _Open sub run every time I call 
the report?


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.report Question (Solved)

2015-02-06 Thread Johny Provoost
Fabien,

While try to isolate the code I'll found the problem.  A stupid list 
wasn't updated with the new data.
Well, I'm only a would-be programmer (and an old one too), not a 
professional so I'm do some stupid things.
So in fact, indirectly,  you solve my problem :).  Thank you for this 
and sorry for your wasted time.

Johny



Op 06-02-15 om 14:36 schreef Johny Provoost:
 I'll try to cut that peace off, otherwise I'll send the whole project.


 Op 06-02-15 om 14:07 schreef Fabien Bodard:
 Can you send me à project that Show how you are doing
 Le 6 févr. 2015 12:39, Johny Provoost johny.provo...@skynet.be a écrit 
 :

 I have a program which the possibility to print to print address labels
 with gb.report.  Works perfectly but  I always have to close the program
 before I can print the same report with different data. It always put
 the first data into the report.
 My code to put data on the labels is in the _New module of the report,
 and I notice that run only the first time I call the report.  The second
 time it doesn't run this code in the _New module.  I'll tried to put the
 code in report_open, but there the code only run once too.
 How can I made the code in the _New or _Open sub run every time I call
 the report?


 --



 *Vriendelijke Groeten*

 *Johny Provoost*

 *mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

 *mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

 *Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.report Question

2015-02-06 Thread Johny Provoost
I'll try to cut that peace off, otherwise I'll send the whole project.


Op 06-02-15 om 14:07 schreef Fabien Bodard:
 Can you send me à project that Show how you are doing
 Le 6 févr. 2015 12:39, Johny Provoost johny.provo...@skynet.be a écrit :

 I have a program which the possibility to print to print address labels
 with gb.report.  Works perfectly but  I always have to close the program
 before I can print the same report with different data. It always put
 the first data into the report.
 My code to put data on the labels is in the _New module of the report,
 and I notice that run only the first time I call the report.  The second
 time it doesn't run this code in the _New module.  I'll tried to put the
 code in report_open, but there the code only run once too.
 How can I made the code in the _New or _Open sub run every time I call
 the report?


 --



 *Vriendelijke Groeten*

 *Johny Provoost*

 *mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

 *mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

 *Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] No Global Menu in Ubuntu

2014-10-21 Thread Johny Provoost

Op 21-10-14 om 17:47 schreef Patrik Karlsson:

 Hi, it's me again. :)

 Am I the only Ubuntu (Unity) user on this list having problem with menus?
 Or am I the only Ubuntu (Unity) user on this list with Gambas 3.6?

 I really do like to get rid of that menu bar...
 --
 Comprehensive Server Monitoring with Site24x7.
 Monitor 10 servers for $9/Month.
 Get alerted through email, SMS, voice calls or mobile push notifications.
 Take corrective actions from your mobile device.
 http://p.sf.net/sfu/Zoho
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


No you don't Patrik.  I have it too, but I don't mind.
-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] error on gb.report.clear

2014-09-11 Thread Johny Provoost
Does anyone knows why I get an error [unknown symbol '_Free' in class 
'Reportsection'] when i use .clear (ex. labels.clear) in a report?
Everything else in the report works, the only thing is that I must close 
the program before print a new report, otherwise I get the same text in 
the report over and over again.  I thought that report.clear should help 
this, but then I get an error.

[System]
Gambas=3.5.4
OperatingSystem=Linux
Kernel=3.13.0-35-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=nl_BE.UTF-8
Memory=2945M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4


Kind Regards,
Johny

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Ubuntu New PPA

2014-07-17 Thread Johny Provoost
Sorry, deleted the mail to soon so I can't answer to the original mail.
Just to let know the update to 3.5.4 with the new ppa ( 
http://ppa.launchpad.net/gambas-team/gambas3/ubuntu Trusty Main) worked 
for me.
All seemed to work.

Thank you.

Ubuntu 14.04 - 64 bits


Kind Regards
Johny Provoost

-- 

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


Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04

2014-04-28 Thread Johny Provoost

   Yes it works with vuott's tips.  No need to clean version 3.5.2.
   Don't know why it didn't worked when I installed Ubuntu 14.04.
   I added the ppa:nemh/gambas3, did a refresh of the sources, and installed
   gambas3 through synaptic.
   Johny

   op 27-04-14 23:57, ISS Boss schreef:

   If I may butt in for a second.  That is exactly what I had to do when my
   Ubuntu updated to 12.04.  When I tried to check for updates the Update
   Manager told me that Gambas was unauthorized and refused to install it or
   upgrade it.
   I ran the commands you mention and upgraded myself  to Gambas version 3.5.3.
   I suspect that where I had originally gotten version 3.5.2 was NOT the
   latest PPA.
   There was no reason to uninstall the old version of Gambas.  The latest
   version seemed to install right over the old one.
   Bill

   Ru Vuott wrote, On 04/27/2014 17:37:

Hello, thanks for contributions.

One of them said he solved by cleaning  version 3.5.2, then:
sudo add-apt-repository ppa:nemh/gambas3
sudo apt-get update
sudo apt-get install gambas3

regards
vuott




Dom 27/4/14, Johny Provoost [1][1]johny.provo...@skynet.be ha scritto:

 Oggetto: Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04
 A: [[2]2]gambas-user@lists.sourceforge.net
 Data: Domenica 27 Aprile 2014, 19:40


 op
 27-04-14 13:16, Ian Haywood schreef:
  On
 Sun, Apr 27, 2014 at 9:09 AM, Jesus [3][3]ea7...@ea7dfh.com
 wrote:
  El 27/04/14 02:13, Ru Vuott
 escribió:
  Hello,
 
  two
 friends of the forum [4]www.gambas-it.org have
 asked me to post this problem here in the Mailing List.
 
 
  They had updated and used normally
 the version 3.5.3 of Gambas.
 
  Well, not long ago they have
 updated their Ubuntu LTS distro  at new 14:04 version.
  But, when they installed Gambas
 again, they have been downgraded to the previous
 Gambas version: 3.5.2 !
 
 Obviously, They'ld like to obtain again the newest
 version of Gambas: 3.5.3
 
  What can they do?
  sounds like they had a PPA configured but
 lost it when they reinstalled Ubuntu.
 
 Not sure where 3.5.2 came from: sadly ubuntu's stock
 version is still
  3.1.1 from over two
 years ago. Hopefully this will be fixed in the
  next ubuntu version.
 
 They need to reinstall from kendek's PPA
 
  Ian
 
 Well, I didn't notice
 it till now, but I got 3.5.2 to in Ubuntu 14.04
 (clean install) , and I installed Gambas from
 ppa
 [5][4]http://ppa.lauchpad.net/nemh/gambas3/ubuntu
 trusty main

 Johny
 Provoost



 --
 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
 [6][5]http://p.sf.net/sfu/ExoPlatform
 ___
 Gambas-user mailing list
 [[6]7]Gambas-user@lists.sourceforge.net
 [8][7]https://lists.sourceforge.net/lists/listinfo/gambas-user

--
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
[9][8]http://p.sf.net/sfu/ExoPlatform
___
Gambas-user mailing list
[[9]10]Gambas-user@lists.sourceforge.net
[11][10]https://lists.sourceforge.net/lists/listinfo/gambas-user

References

   1. [11]mailto:johny.provo...@skynet.be
   2. [12]mailto:gambas-user@lists.sourceforge.net
   3. [13]mailto:ea7...@ea7dfh.com
   4. [14]http://www.gambas-it.org/
   5. [15]http://ppa.lauchpad.net/nemh/gambas3/ubuntu
   6. [16]http://p.sf.net/sfu/ExoPlatform
   7. [17]mailto:Gambas-user@lists.sourceforge.net
   8. [18]https://lists.sourceforge.net/lists/listinfo/gambas-user
   9. [19]http://p.sf.net/sfu/ExoPlatform
  10. [20]mailto:Gambas-user@lists.sourceforge.net
  11. [21]https://lists.sourceforge.net/lists/listinfo/gambas-user
--
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
[22]http://p.sf.net/sfu/ExoPlatform
___
Gambas-user mailing list
[23]Gambas-user@lists.sourceforge.net
[24]https://lists.sourceforge.net/lists/listinfo/gambas-user

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [25]johny.provo...@skynet.be

   mailto: [26]johny.provo...@gmail.com

   Website: [27]http://www.johnyprovoost.net

References

   1. mailto:johny.provo...@skynet.be
   2. mailto:2]gambas-user

Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04

2014-04-27 Thread Johny Provoost

op 27-04-14 13:16, Ian Haywood schreef:
 On Sun, Apr 27, 2014 at 9:09 AM, Jesus ea7...@ea7dfh.com wrote:
 El 27/04/14 02:13, Ru Vuott escribió:
 Hello,

 two friends of the forum www.gambas-it.org have asked me to post this 
 problem here in the Mailing List.


 They had updated and used normally the version 3.5.3 of Gambas.

 Well, not long ago they have updated their Ubuntu LTS distro  at new 14:04 
 version.
 But, when they installed Gambas again, they have been downgraded to the 
 previous Gambas version: 3.5.2 !
 Obviously, They'ld like to obtain again the newest version of Gambas: 3.5.3

 What can they do?
 sounds like they had a PPA configured but lost it when they reinstalled 
 Ubuntu.
 Not sure where 3.5.2 came from: sadly ubuntu's stock version is still
 3.1.1 from over two years ago. Hopefully this will be fixed in the
 next ubuntu version.
 They need to reinstall from kendek's PPA

 Ian

Well, I didn't notice it till now, but I got 3.5.2 to in Ubuntu 14.04 
(clean install) , and I installed Gambas from ppa 
http://ppa.lauchpad.net/nemh/gambas3/ubuntu trusty main

Johny Provoost



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


Re: [Gambas-user] window placement policy

2014-02-10 Thread Johny Provoost

   Dominique,
   Look at gb.settings.  With 'settings.write' you can save the position of
   your window, with 'settings read' you can read it back.
   You can do a lot more with settings:
   [1]http://gambasdoc.org/help/comp/gb.settings/settings?v3view

   op 10-02-14 10:12, Dominique Michel schreef:

When doing the Wave generator, I see that Gambas place the window of a
program by default at the top left corner of the screen, which override
the window manager placement policy. (fvwm with fvwm-crystal in my case)

I see it is possible to use Me.Center, or Me.Top, Bottom, Left and
Right, but is it possible to make gambas to let the window manager
place the windows?

With fvwm, I can add

Style Gambas* !UsePPosition

in my style options, but it would be better if I can do the same
directly with Gambas.

Dominique

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

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [5]johny.provo...@skynet.be

   mailto: [6]johny.provo...@gmail.com

   Website: [7]http://www.johnyprovoost.net

References

   1. http://gambasdoc.org/help/comp/gb.settings/settings?v3view
   2. 
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
   3. mailto:Gambas-user@lists.sourceforge.net
   4. https://lists.sourceforge.net/lists/listinfo/gambas-user
   5. mailto:johny.provo...@skynet.be
   6. mailto:johny.provo...@gmail.com
   7. http://www.johnyprovoost.net/
--
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


Re: [Gambas-user] send 'pgup' to process

2014-01-21 Thread Johny Provoost

   op 21-01-14 12:58, Tobias Boege schreef:

On Mon, 20 Jan 2014, Johny Provoost wrote:

Hi,

I adapted the example Movieplayer from Beno?t .
It's about sending keys to mplayer.
I can send + and -' to the process with success, but when want to 
send PageUp, PageDown, Up, Down,Left, and 'right', I get stuck.


the line is

   If Not $hProcess Then Return
   Print #$hProcess,-here comes the key to send- ;

I tried
key.PageUp,
Desktop.Sendkeys([PageUp]), with and without the quotes.
PgUp instead of PageUp

You are talking to mplayer via its text-interactive interface when you are
using Print #$hProcess. You don't need to figure out how to send some key
codes because mplayer understands *commands* via this channel.

It's a shame that we haven't found time to finally prepare our mplayer-based
web radio program for public (or did we and just don't find it?).

However, you can start mplayer with its -slave switch and then look at the
command reference[0]. To, e.g., set the volume to 90%, do:

  Print $hProcess, set_property volume 90

To emulate PageUp, which is, by default, to seek forward by 10 minutes, you
may do

  Print $hProcess, seek +600

but it's really all in the docs.

Regards,
Tobi

[0] [1]http://www.mplayerhq.hu/DOCS/tech/slave.txt

   Ok, thanks will look in to this

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [2]johny.provo...@skynet.be

   mailto: [3]johny.provo...@gmail.com

   Website: [4]http://www.johnyprovoost.net

References

   1. http://www.mplayerhq.hu/DOCS/tech/slave.txt
   2. mailto:johny.provo...@skynet.be
   3. mailto:johny.provo...@gmail.com
   4. http://www.johnyprovoost.net/
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] send 'pgup' to process

2014-01-20 Thread Johny Provoost
Hi,

I adapted the example Movieplayer from Benoît .
It's about sending keys to mplayer.
I can send + and -' to the process with success, but when want to 
send PageUp, PageDown, Up, Down,Left, and 'right', I get stuck.


the line is

   If Not $hProcess Then Return
   Print #$hProcess,-here comes the key to send- ;

I tried
key.PageUp,
Desktop.Sendkeys([PageUp]), with and without the quotes.
PgUp instead of PageUp

Nothing helped.
I found nothing about this specific case in the help, nor by googling.

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] App launch icons on Ubuntu

2013-12-23 Thread Johny Provoost

   Thank you, looks nice

   op 23-12-13 17:39, Fabien Bodard schreef:

This is a little usefull class.



2013/12/15 Johny Provoost [1]johny.provo...@skynet.be:

op 15-12-13 18:18, John Rose schreef:

Using Gambas 3.5.1, I'm not sure how to create an launcher icon for a
Gambas app. I thought that I had to add the icon's file to the Data
entry using the NewImage menu entry. After that I used to do something
else, which I've now forgotten. I also had the feeling that the icon's
filename must not have spaces or upper case letters in it, but I could
well be wrong in that.
PS I can put an icon on a form (e.g. the FMain) using the form's icon
property but I think that only puts the icon in the form's title bar.

Do you mean a launcher in Ubuntu unity?  For that you can use 'Create
Launcher' witch you can find in the software center.
I have written a small thing for this myself, but it's completely in
dutch.  I can send it if you want.

--



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: [2]johny.provo...@skynet.be [3]mailto:johny.provo...@skynet.be*

*mailto: [4]johny.provo...@gmail.com [5]mailto:johny.provo...@gmail.com*

*Website:* *[6]http://www.johnyprovoost.net* [7]http://www.johnyprovoost.net/



--
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!
[8]http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Gambas-user mailing list
[9]Gambas-user@lists.sourceforge.net
[10]https://lists.sourceforge.net/lists/listinfo/gambas-user



--
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!
[11]http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk

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

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [14]johny.provo...@skynet.be

   mailto: [15]johny.provo...@gmail.com

   Website: [16]http://www.johnyprovoost.net

References

   1. mailto:johny.provo...@skynet.be
   2. mailto:johny.provo...@skynet.be
   3. mailto:johny.provo...@skynet.be
   4. mailto:johny.provo...@gmail.com
   5. mailto:johny.provo...@gmail.com
   6. http://www.johnyprovoost.net*/
   7. http://www.johnyprovoost.net/
   8. 
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
   9. mailto:Gambas-user@lists.sourceforge.net
  10. https://lists.sourceforge.net/lists/listinfo/gambas-user
  11. 
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
  12. mailto:Gambas-user@lists.sourceforge.net
  13. https://lists.sourceforge.net/lists/listinfo/gambas-user
  14. mailto:johny.provo...@skynet.be
  15. mailto:johny.provo...@gmail.com
  16. http://www.johnyprovoost.net/
--
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


Re: [Gambas-user] App launch icons on Ubuntu

2013-12-16 Thread Johny Provoost

op 16-12-13 09:55, John Rose schreef:
 Johny,

 Thanks for your suggestion. I installed 'Create Launcher' from the
 Ubuntu Software Center. Why does it need 'Buy' when it has a zero price?
 I also noticed that 'Manage Launcher' is a newer version of 'Create
 launcher' with extra facilities (I found it when searching for 'Create
 Launcher' in the Ubuntu Software Center. Do you recommend using that
 instead?

 However, the use of 'Create Launcher' or 'Manage Launcher' does not
 answer my question. When the Gambas IDE is used to create an
 'Installation Package' and the resultant .deb file is installed on the
 same or another computer using gdebi, I do not have the icon (for the
 app) on the Unity launcher which I want but instead the standard Gambas
 icon. As I previously said,  I used to be able to do this but I've
 forgotten the method. Either that or the method doesn't work for my
 version of Gambas (3.5.1) or for Ubuntu Precise.

Thanks, didn't know about 'Manage Launcher'.
The 'Buy' thing is probably because it's not open source.

I see that Willy send you to the correct answer for your problem.

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] App launch icons on Ubuntu

2013-12-16 Thread Johny Provoost

   op 16-12-13 11:35, John Rose schreef:

Johny  Willy,

Thanks for the answer. The solution is so obvious after someone tells 
you it (i.e. click menu entry Project - Properties, click on the Gambas 
icon on tab).

Johny,

Re 'Manage Launcher': the implication from your message was that 'Manage 
Launcher' is not authored by you whereas 'Create Launcher' is. Is that 
correct? Also, I suggest that you put your app on 
[1]http://whiteislandsoftware.com/index.php?page=startkeep_cedi_root=66.
You'll need to register and then click on the Software link. I've
previously put an app 'Maintain Desktop Configuration Files' on that
site. However, it only allows editing these files using gedit. So your
app is much better.

   No John, 'Create Launcher' is not written by me.  Mine was written in Gambas
   before  I  knew  about  Create  Launcher,  but  I don't mind put it on
   whiteislandsoftware.  Just gonna translate it first to English.

   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [2]johny.provo...@skynet.be

   mailto: [3]johny.provo...@gmail.com

   Website: [4]http://www.johnyprovoost.net

References

   1. http://whiteislandsoftware.com/index.php?page=startkeep_cedi_root=66
   2. mailto:johny.provo...@skynet.be
   3. mailto:johny.provo...@gmail.com
   4. http://www.johnyprovoost.net/
--
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


Re: [Gambas-user] App launch icons on Ubuntu

2013-12-15 Thread Johny Provoost

op 15-12-13 18:18, John Rose schreef:
 Using Gambas 3.5.1, I'm not sure how to create an launcher icon for a
 Gambas app. I thought that I had to add the icon's file to the Data
 entry using the NewImage menu entry. After that I used to do something
 else, which I've now forgotten. I also had the feeling that the icon's
 filename must not have spaces or upper case letters in it, but I could
 well be wrong in that.
 PS I can put an icon on a form (e.g. the FMain) using the form's icon
 property but I think that only puts the icon in the form's title bar.


Do you mean a launcher in Ubuntu unity?  For that you can use 'Create 
Launcher' witch you can find in the software center.
I have written a small thing for this myself, but it's completely in 
dutch.  I can send it if you want.

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] Program picture icon

2013-10-24 Thread Johny Provoost
that's right, but when you run the program it shows the icon.
Never thought about the icon of the compiled program file, but you can 
change it in the properties of the file.
Someone knows why a compiled program always has the Gambas icon, even if 
you gave fmain an icon?

Johny

op 24-10-13 07:58, Ricardo Díaz Martín schreef:
 I think we're talking about different things... Of course when you set form
 icon you'll see it as the form icon and in taskbar when this form is open.

 But when you compile the project, the exe file haven't this icon.

 Sorry for the noise


 2013/10/23 Johny Provoost johny.provo...@skynet.be

 op 23-10-13 12:22, Ricardo Díaz Martín schreef:

 2013/10/22 Johny Provoost [1]johny.provo...@skynet.be

Just get an icon in the icon property in your fmain.form


 Sorry Johny, but I think you're in a mistake... Could you send us an
 example of this or a screenshot?


 --

 Vriendelijke Groeten

 Johny Provoost

 mailto: [2]johny.provo...@skynet.be

 mailto: [3]johny.provo...@gmail.com

 Website: [4]http://www.johnyprovoost.net

 References

 1. mailto:johny.provo...@skynet.be
 2. mailto:johny.provo...@skynet.be
 3. mailto:johny.provo...@gmail.com
 4. http://www.johnyprovoost.net/


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


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

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] Program picture icon

2013-10-23 Thread Johny Provoost

   op 23-10-13 12:22, Ricardo Díaz Martín schreef:

2013/10/22 Johny Provoost [1]johny.provo...@skynet.be

  Just get an icon in the icon property in your fmain.form


Sorry Johny, but I think you're in a mistake... Could you send us an
example of this or a screenshot?


   --

   Vriendelijke Groeten

   Johny Provoost

   mailto: [2]johny.provo...@skynet.be

   mailto: [3]johny.provo...@gmail.com

   Website: [4]http://www.johnyprovoost.net

References

   1. mailto:johny.provo...@skynet.be
   2. mailto:johny.provo...@skynet.be
   3. mailto:johny.provo...@gmail.com
   4. http://www.johnyprovoost.net/
inline: bfgadcgi.png--
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


Re: [Gambas-user] Program picture icon

2013-10-22 Thread Johny Provoost

op 22-10-13 13:34, Ricardo Díaz Martín schreef:
 AFAIK you can't insert an Icon in the executable file as you can do in MS
 Windows. You have to do it using .desktop file or something similar.


 2013/10/21 Charlie char...@cogier.com

  Just get an icon in the icon property in your fmain.form

Greetings,
Johny


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


Re: [Gambas-user] mysql seach string contains single quote

2013-08-10 Thread Johny Provoost

Op 10-08-13 09:02, bill-lancaster schreef:
 Have seen a couple of posts that refer to this but can't quite understand the
 answer

 I have a database which conntains a string  'Queen's Head'

 so
   hResult = hConn.Exec(SELECT contacts.* FROM contacts WHERE Title =
 'Queen's Head')
 produces an error.

 How best to solve this?



 --
 View this message in context: 
 http://gambas.8142.n7.nabble.com/mysql-seach-string-contains-single-quote-tp42768.html
 Sent from the gambas-user mailing list archive at Nabble.com.

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


It's because Queen's Head has a ' in the string.

I always use
 Var=Queen's Head
 hResult=hConn.Exec(SELECT contacts.* FROM contacts WHERE Title= 
\  Var  \)
or
 hResult=hConn.Exec(SELECT contacts.* FROM contacts WHERE Title=  
Chr(34)  Var  Chr(34))


Maybe there other solutions, I'm not a professional programmer.

Johny



--
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] Len function not correct?

2012-12-31 Thread Johny Provoost
Why is Len(Andre) = 5, and Len(André) = 6?
The same for words with ë, ú, ê ..
Is there's a particular reason for that, or is it a bug?

Working in Ubuntu 12.04
QT4
Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the 
correct number)

Happy 2013
Johny



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Len function not correct?

2012-12-31 Thread Johny Provoost
Thank you, that's working.

Johny

Op 31-12-12 12:28, M. Cs. schreef:
 Use String.Len() instead if you plan to use non ASCII characters. The é is
 theproblem for Len().

 2012/12/31 Johny Provoost johny.provo...@skynet.be

 Why is Len(Andre) = 5, and Len(André) = 6?
 The same for words with ë, ú, ê ..
 Is there's a particular reason for that, or is it a bug?

 Working in Ubuntu 12.04
 QT4
 Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the
 correct number)

 Happy 2013
 Johny




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Len function not correct?

2012-12-31 Thread Johny Provoost
Thank you for the info, and to everyone a happy 2013

Johny


Op 31-12-12 13:56, Emil Lenngren schreef:
 The Len function counts the number of bytes in the string. Strings are
 always in UTF-8, so é is two bytes. String.Len counts the number of
 characters.

 2012/12/31 Johny Provoost johny.provo...@skynet.be

 Thank you, that's working.

 Johny

 Op 31-12-12 12:28, M. Cs. schreef:
 Use String.Len() instead if you plan to use non ASCII characters. The é
 is
 theproblem for Len().

 2012/12/31 Johny Provoost johny.provo...@skynet.be

 Why is Len(Andre) = 5, and Len(André) = 6?
 The same for words with ë, ú, ê ..
 Is there's a particular reason for that, or is it a bug?

 Working in Ubuntu 12.04
 QT4
 Gambas 3..3.90 , a trunk version from 14 day's ago (don't know the
 correct number)

 Happy 2013
 Johny





 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --



 *Vriendelijke Groeten*

 *Johny Provoost*

 *mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

 *mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

 *Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb .raport broken

2012-12-01 Thread Johny Provoost
I changed form version 3.1.90 (don't know the trunk version anymore) to 
3.3.90 Trunk version 5387.
Since that version I get errors on gb.report.  On Report.Preview I get 
the error:
 'gb.qt4:DrawingArea.Painted is deprecated.  Do not use it anymore.'

Probably have something to do with the change of painted and draw in the 
new version.

It's not to imported, I got my way around and made the report without 
gb.report (had to study the printing example for a while to print more 
than one page, but I managed.).
I think Fabien is the creator  of gb.report.  I just want to report the 
problem, or is it something on my PC?

Johny Provoost



--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb .raport broken

2012-12-01 Thread Johny Provoost

Op 01-12-12 12:43, Fabien Bodard schreef:
 I will look for that this afternoon... it's because of the recent change on
 the draw class
 Le 1 déc. 2012 11:27, Johny Provoost johny.provo...@skynet.be a écrit :

 I changed form version 3.1.90 (don't know the trunk version anymore) to
 3.3.90 Trunk version 5387.
 Since that version I get errors on gb.report.  On Report.Preview I get
 the error:
   'gb.qt4:DrawingArea.Painted is deprecated.  Do not use it anymore.'

 Probably have something to do with the change of painted and draw in the
 new version.

 It's not to imported, I got my way around and made the report without
 gb.report (had to study the printing example for a while to print more
 than one page, but I managed.).
 I think Fabien is the creator  of gb.report.  I just want to report the
 problem, or is it something on my PC?

 Johny Provoost




 --
 Keep yourself connected to Go Parallel:
 INSIGHTS What's next for parallel hardware, programming and related areas?
 Interviews and blogs by thought leaders keep you ahead of the curve.
 http://goparallel.sourceforge.net
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Keep yourself connected to Go Parallel:
 INSIGHTS What's next for parallel hardware, programming and related areas?
 Interviews and blogs by thought leaders keep you ahead of the curve.
 http://goparallel.sourceforge.net
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

Thank you, but don't need to hurry for me.
-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Accept Button on form

2012-09-22 Thread Johny Provoost

Op 22-09-12 11:24, abbat schreef:
 Hello,

 I have:

 Form
 Textbox1
 Button1

 I need accept event.
 After edition of textbox1 to push button1 by Enter button on keyboard.

 Can I make such an event?

 Thanks

In the 'Keypress' event from the textbox you can put

/  If Key.Code = Key.Enter Or Key.Code = Key.Return Then//
//Yourbutton.Value = 1//
//  Endif/


Success,

Johny Provoost




--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Who use gb.report ? (to all gambas users)

2012-08-30 Thread Johny Provoost
Hi Fabien,

I use it.
For a simple report it's not that difficult (got your help to start), 
but there's a lack of documentation.  I know this take a lot of time :)




Op 30-08-12 13:11, Fabien Bodard schreef:
 This is my query...

 If you use it tell me what you want to see as improvement... The problems
 with it.

 If you are not using it but need printing or generate reports. Tell me why
 you are not using it.

 Thank you

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




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


Re: [Gambas-user] Small printing question

2012-05-21 Thread Johny Provoost


Op 20-05-12 23:26, Fabien Bodard schreef:
 A simple gb.report example




Thanks Fabien,
I was looking for something like that with some colons and had not 
figured it out yet (not constant busy with it).  It save me some research.
No we can go on (that was the last 5%  :))


Johny Provoost

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


Re: [Gambas-user] Small printing question

2012-05-19 Thread Johny Provoost


Op 18-05-12 17:55, Johny Provoost schreef:

 Op 18-05-12 16:06, Ru Vuott schreef:
 After some sleep I found a way.  It's a list of
 addresses.  I can count
 the records, and I know there can 28 records on one page, so
 just some
 mathematics and that's ok.  Just have to figure out if
 I got to start
 over with my coordinates (as with a new page) or that I that
 I have to
 count further form the top of page 1.

 Layout before your printing?  That's a thought to
 investigate.
 I reacted to hard yesterday evening I think (lack of
 sleep).  There's
 alway a way around.

 Hello Johny,

 Let us know how you do!

 Bye

 --
Well, for the last (is now of-topic I think)
I'm gonna use gb.report.
Tried the example of gb.report and my db and it's 95% what I want 
without the difficulties of new-lines, new-pages, .

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


Re: [Gambas-user] Small printing question

2012-05-18 Thread Johny Provoost


Op 18-05-12 00:04, Benoît Minisini schreef:
 Le 17/05/2012 23:47, Johny Provoost a écrit :

 Op 17-05-12 23:35, Benoît Minisini schreef:
 Le 17/05/2012 22:10, Johny Provoost a écrit :
 In gambas2 is use 'Printer.NewPage'.
 I don't find anything similar in gambas3 in the paint section.

 Just want to eject the current page and going further with a new page.


 Johny Provoost

 It does not work that way anymore.

 You specify the number of pages to print before calling the Print()
 method on the printer object.

 If you don't know how many pages you must print, i.e. if you don't
 define the Count property before calling Print(), then the Paginate
 event will be raised until you define the Count property in it.

 In all cases, you can't print anymore without knowing how many pages you
 will print before!

 Regards,

 thanks for the info.  A small disaster I think.  Hope I can at least
 printing the other pages with the same coordinate as the first one.   I
 have to find a way to know how many pages it gonna take (sometimes 2,
 sometimes 10).  Now it prints all the pages on one page.
 Strange, print-commands without a newpage.
 First get some sleep

 Thanks,
 Johny

 Why can't you know how many pages to print before starting the printing?

 Remember that the user must be able to choose which page(s) to print
 before sending them to the printer, so you can't layout your pages while
 printing anymore.

 Regards,

After some sleep I found a way.  It's a list of addresses.  I can count 
the records, and I know there can 28 records on one page, so just some 
mathematics and that's ok.  Just have to figure out if I got to start 
over with my coordinates (as with a new page) or that I that I have to 
count further form the top of page 1.

Layout before your printing?  That's a thought to investigate.
I reacted to hard yesterday evening I think (lack of sleep).  There's 
alway a way around.

-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] Small printing question

2012-05-18 Thread Johny Provoost


Op 18-05-12 12:42, Fabien Bodard schreef:
 2012/5/18 Johny Provoostjohny.provo...@skynet.be


 Op 18-05-12 00:04, Benoît Minisini schreef:
 Le 17/05/2012 23:47, Johny Provoost a écrit :
 Op 17-05-12 23:35, Benoît Minisini schreef:
 Le 17/05/2012 22:10, Johny Provoost a écrit :
 In gambas2 is use 'Printer.NewPage'.
 I don't find anything similar in gambas3 in the paint section.

 Just want to eject the current page and going further with a new page.


 Johny Provoost

 It does not work that way anymore.

 You specify the number of pages to print before calling the Print()
 method on the printer object.

 If you don't know how many pages you must print, i.e. if you don't
 define the Count property before calling Print(), then the Paginate
 event will be raised until you define the Count property in it.

 In all cases, you can't print anymore without knowing how many pages
 you
 will print before!

 Regards,

 thanks for the info.  A small disaster I think.  Hope I can at least
 printing the other pages with the same coordinate as the first one.   I
 have to find a way to know how many pages it gonna take (sometimes 2,
 sometimes 10).  Now it prints all the pages on one page.
 Strange, print-commands without a newpage.
 First get some sleep

 Thanks,
 Johny

 Why can't you know how many pages to print before starting the printing?

 Remember that the user must be able to choose which page(s) to print
 before sending them to the printer, so you can't layout your pages while
 printing anymore.

 Regards,

 After some sleep I found a way.  It's a list of addresses.  I can count
 the records, and I know there can 28 records on one page, so just some
 mathematics and that's ok.  Just have to figure out if I got to start
 over with my coordinates (as with a new page) or that I that I have to
 count further form the top of page 1.

 Layout before your printing?

 gb.report ?


That's what I was thinking about.  Got to study it first and as I become 
60 this year it took some time :)

Johny

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


Re: [Gambas-user] Small printing question

2012-05-18 Thread Johny Provoost


Op 18-05-12 16:06, Ru Vuott schreef:
 After some sleep I found a way.  It's a list of
 addresses.  I can count
 the records, and I know there can 28 records on one page, so
 just some
 mathematics and that's ok.  Just have to figure out if
 I got to start
 over with my coordinates (as with a new page) or that I that
 I have to
 count further form the top of page 1.

 Layout before your printing?  That's a thought to
 investigate.
 I reacted to hard yesterday evening I think (lack of
 sleep).  There's
 alway a way around.

 Hello Johny,

 Let us know how you do!

 Bye

 --
I will, but it can take some time.
I'm not a professional programmer.  Mostly I program just for fun and 
because it's possible.  My first computer was a Tandy Color way back in 
time.  I learned Tandy basic from books.  Later on Qbasic, Clipper and 
the visual basics till vb6.  Visual studio I  let go, to complicate or 
to much new stuff.
I started with Linux on mandrake 9 and later on the Ubuntu's from 2006.  
I missed vb and found RealBasic but there was lack of support for the 
free version.  Then I found Gambas.  The programmers did a hell of a job 
and the support is super.  The programs I make are mostly for own use.  
Started a couple of weeks to update to Gambas 3.  Only the printing part 
gave me difficulties.  Years long I open a printer and then send the 
text and graphics to it.  I still manage to do so but every page is 
printed on one page.  Must do some rethinking with a open mind without 
the years of 'ballast'.

Thanks for the support.
Johny

--
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] Small printing question

2012-05-17 Thread Johny Provoost
In gambas2 is use 'Printer.NewPage'.
I don't find anything similar in gambas3 in the paint section.

Just want to eject the current page and going further with a new page.


Johny Provoost

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


Re: [Gambas-user] Small printing question

2012-05-17 Thread Johny Provoost


Op 17-05-12 23:35, Benoît Minisini schreef:
 Le 17/05/2012 22:10, Johny Provoost a écrit :
 In gambas2 is use 'Printer.NewPage'.
 I don't find anything similar in gambas3 in the paint section.

 Just want to eject the current page and going further with a new page.


 Johny Provoost

 It does not work that way anymore.

 You specify the number of pages to print before calling the Print()
 method on the printer object.

 If you don't know how many pages you must print, i.e. if you don't
 define the Count property before calling Print(), then the Paginate
 event will be raised until you define the Count property in it.

 In all cases, you can't print anymore without knowing how many pages you
 will print before!

 Regards,


thanks for the info.  A small disaster I think.  Hope I can at least 
printing the other pages with the same coordinate as the first one.   I 
have to find a way to know how many pages it gonna take (sometimes 2, 
sometimes 10).  Now it prints all the pages on one page.
Strange, print-commands without a newpage.
First get some sleep

Thanks,
Johny

--
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] Can't print in Gambas 3

2012-05-16 Thread Johny Provoost
Dear,

What's wrong with this code.  I want to set someting to the printer but 
the only thing I get is an empty page.
I can configure my printer but I get an error on the line 
'Paint.Begin(mijnprinter)' - 'printer is not printing' and the printer 
is giving me an empty page.


Working with Gambas 3.1.90
Ubuntu 12.04
Components: gb, gb.from, gb.image, gb.qt4, gb.qt4.ext

tried with gtk and got the same result.

---
' Gambas class file

Public mijnprinter As New Printer
--
Public Sub Form_Open()

End
--
Public Sub Button1_Click()
 If mijnprinter.Configure() = True Then Return
 mijnprinter.FirstPage = 0
 mijnprinter.Orientation = 1
 mijnprinter.Paper = 2
 mijnprinter.Print
 Paint.Begin(mijnprinter)
 Paint.Text(TEST TEST)
 Paint.End

End
-

Greetings,
Johny Provoost

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


Re: [Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Johny Provoost
Error is gone, but still got a empty page.

Johny

Op 16-05-12 20:53, Ru Vuott schreef:
 Public Sub Button1_Click()
If mijnprinter.Configure() = True Then Return
mijnprinter.FirstPage = 0
mijnprinter.Orientation = 1
mijnprinter.Paper = 2
mijnprinter.Print
 End

 Public Sub mijnprinter_Draw()

   Paint.DrawText(TEST TEST)
   Paint.End

 End




 --- Mer 16/5/12, Johny Provoostjohny.provo...@skynet.be  ha scritto:

 Da: Johny Provoostjohny.provo...@skynet.be
 Oggetto: [Gambas-user] Can't print in Gambas 3
 A: Gambas User Listgambas-user@lists.sourceforge.net
 Data: Mercoledì 16 maggio 2012, 18:08
 Dear,

 What's wrong with this code.  I want to set someting to
 the printer but
 the only thing I get is an empty page.
 I can configure my printer but I get an error on the line
 'Paint.Begin(mijnprinter)' -  'printer is not printing'
 and the printer
 is giving me an empty page.


 Working with Gambas 3.1.90
 Ubuntu 12.04
 Components: gb, gb.from, gb.image, gb.qt4, gb.qt4.ext

 tried with gtk and got the same result.

 ---
 ' Gambas class file

 Public mijnprinter As New Printer
 --
 Public Sub Form_Open()

 End
 --
 Public Sub Button1_Click()
   If mijnprinter.Configure() = True
 Then Return
   mijnprinter.FirstPage = 0
   mijnprinter.Orientation = 1
   mijnprinter.Paper = 2
   mijnprinter.Print
   Paint.Begin(mijnprinter)
   Paint.Text(TEST TEST)
   Paint.End

 End
 -

 Greetings,
 Johny Provoost

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

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


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] R: Can't print in Gambas 3

2012-05-16 Thread Johny Provoost
Still empty page (or empty pdf).
If I run the program line by line it seems not going to the sub 
mijnprinter_Draw.  After the 'mijnprinter.Print' it prints an empty page 
and ends.
It was much simpler in Gambas2.  It's the only thing (the printing part) 
that's not working after porting my program to Gambas3, so I tried with 
a simple button on a window.  I don't find much in the help files.

Op 16-05-12 22:34, Ru Vuott schreef:
 Error is gone, but still got a empty
 page.
 Uhmm strange

 Try:

 Public Sub Button1_Click()
If mijnprinter.Configure() = True Then Return
mijnprinter.FirstPage = 0
mijnprinter.Orientation = 1
mijnprinter.Paper = 2
mijnprinter.Print
 End

 Public Sub mijnprinter_Draw()

  With Paint
.DrawText(Imprimatur, 500, 1000, 400, 500)
.RichText(String.Chr(1D11E), 600, 2000, 200, 200)
.Fill
.End
  End With

 End

 ''
 If you want to create a PDF file:

 Public Sub Button1_Click()
If mijnprinter.Configure() = True Then Return
mijnprinter.FirstPage = 0
mijnprinter.Orientation = 1
mijnprinter.Paper = 2
mijnprinter.OutputFile = /tmp/imprimatur.pdf
mijnprinter.Print
 End

 Public Sub mijnprinter_Draw()

  With Paint
.DrawText(Imprimatur, 500, 1000, 400, 500)
.RichText(String.Chr(1D11E), 600, 2000, 200, 200)
.Fill
.End
  End With

 End


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


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] R: Can't print in Gambas 3 [solved]

2012-05-16 Thread Johny Provoost
Hey man, that simple?
Thanks now I can getting further.  Going to sleep well now, Thanks


Johny

Op 16-05-12 23:13, Ru Vuott schreef:
 Uhmmm

 but... I do not used:


 Private mijnprinter As New Printer


 but I put on form a Printer-object !



 Well, now I tried to use: Private mijnprinter As New Printer
 and I eliminted the Printer object from my Form and the page was empty !!!

 So, you have to put in your Form program the Printer-Object (you'll call it: 
 mijnprinter) and so you can try again to print.

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


-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/



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


Re: [Gambas-user] mp3 do not play

2012-03-07 Thread Johny Provoost

Op 07-03-12 13:01, Emil Lenngren schreef:
 I had a problem with a mp3 in gambas that played too fast, so the voices
 sound crazy...

 2012/3/7 M. Cs.mohar...@gmail.com

 The problem is in the SDL.sound library. I don't know whether this can
 be solved in Gambas only. I have same issues, but not with all files.
 In order to help Benoit, try to check the MP3 file's tags: bitrate,
 etc. It may help discover the real problem.

 2012/3/7, áÌÅËÓÅÊ âÅÓÐÁÌÏ×bespalov...@gmail.com:
 Hi!

 I try
  Music.Load(file.mp3)
  Music.Play()

 and i get error Module format not recognized.

 OGG ply successfully.

 What is problem with MP3?
 I should have installed something?


 --
 
 ó Õ×ÁÖÅÎÉÅÍ áÌÅËÓÅÊ.

 --

My problem with some of my mp3 came from the sample rate.  If it wasn't 
44100 Hz the song wouldn't play.  Don't know anymore if I get a error or 
it just wouldn't play.

Greetings
Johny

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to insert hImage into table sqlite base

2012-02-02 Thread Johny Provoost
you could look in the examples: PictureDatabase
I tried it in version 2 and it worked very well.  Hope this is what you 
search for

Johny



Op 02-02-12 14:51, áÌÅËÓÅÊ âÅÓÐÁÌÏ× schreef:
 Hi!
 Tell me please, how to insert hImage into table sqlite base, into BLOB
 field?



--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] DB.Quote() doesn't quotes apostrophes

2012-01-23 Thread Johny Provoost

op 23-01-12 00:15, M. Cs. schreef:
 I have a dinamically created query text. I don't know the number of
 parameters passed to the DB.Exec, so I cannot use1,2,... form. I
 need to use the DB.Quote()
 My problem is: If I have a string
 mystring=Blackmore's Night,
 the DB.Quote(mystring) won't quote the ', so the query will crash. In
 fact I'm getting query string
 SELECT * FROM CATALOGS WHERE VName='Blackmore's Night'
 It occurs with sqlite database.
 Is there any solution for that?

 Thanks!

 Csaba

 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


I always use \ instead of the ' so names with ' can be used
FMain.tmpSQL = SELECT * FROM adressen where Naam =  \  
FMain.txtNaam.Text  \
or
VVar=Blackmore's Night
tmpSQL=SELECT * from CATALOGS WHERE VName=  \  VVar  \

Succes,
Johny

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MP3 Tags

2011-11-20 Thread Johny Provoost

Op 20-11-11 03:15, Boyd, Craig schreef:
 id3info is VERY helpful!  Thanks everyone for your input/reply!

 Craig

 On 11/19/2011 06:37 PM, Jesus wrote:
 El 20/11/11 01:17, Benoît Minisini escribió:
 Le 19/11/2011 22:50, Boyd, Craig a écrit :
 Hello All,

 I am not new to programming, but I am VERY new to Gambas.  I found the
 example sound project and was able to play an MP3 ~ very easy   cool!
 So my first question to you guys is: Is it possible to use Gambas to
 retrieve MP3 tags and if so, how?

 Thanks,

 Craig

 I'm sure there is some command-line tool that can do that for you and
 you will just have to call it from Gambas and get the result.

 I just don't know its name! :-)

 Regards,

 Yes. This is the same advice I gave the other day to a guy.

 I have successfully tested id3info command from libid3-tools package.

 Now, it's a matter of calling it from gambas using shell or exec.

 Regards

exiftool is also interesting

In Gambas2
   SHELL exiftool   \  vFile  \ /home/johny/tagstmp 
 WAIT
where vfile is the mp3 file and /home/johny/tagstmp is the file where 
all the tags are written to.
if you put a picture in the mp3 file as a cover you can get it with
SHELL exiftool -b -Picture   \  vfile  \ 
FMain.EigenDir  /home/johny/cover.jpg  WAIT


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Really stupid question about making/running a gambas exe

2011-11-04 Thread Johny Provoost
Op 04-11-11 10:59, richard terry schreef:
 Hi List

 Have run for long time just in the gambas ide, so wanted to just excute the
 executable for the project.

 made the executable

 to run it I seem to have to type ./executable-name

 If I just drag/n drop to my task bar, it's opened like a text file.

 ?any advice to be able to just click on it and run. I tried associating it the
 gbx3 to no avail.

 Richard

 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


I Always make a new starter on the desktop, or on the menu.  It's just 
works there.  In a Terminal you're right, you must type ./ before the 
executalble


Greetings,
Johny Provoost

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] User timezone - could I ask a favour?

2011-10-25 Thread Johny Provoost
Op 24-10-11 23:30, Bruce Bruen schreef:
 Hi all,

 According to my web research the module below is the best way to
 obtain the user's timezone name (or Olson name if you prefer).  This
 is because distros implement timezoning in different ways.

 It works fine for me using using the test harnesses I can devise for my
 (non-standard) distro.  I was hoping that some of you would run it on
 your distro and report that it works OK.  It should just print your
 timezone name like Arctic/Longyearbyen

 Thanks in advance.
 Bruce

 ' Gambas module file

 Public Sub main()

Print GetUserTimezone()

 End

 Private Function GetUserTimezone() As String

Dim tzetc As String   ' Used to determine the type of
 the /etc/localtime file
Dim tzmd5 As String   ' The md5 sum for the /etc/localtime file
Dim rtnval As String  ' Manipulated substring of tzraw that is finally
 returned

rtnval = Replace(Application.Env[TZ], /usr/share/zoneinfo/, )

If Not rtnval Then
  Shell file /etc/localtime To tzetc
  If tzetc Like * symbolic link to * Then
rtnval = Mid(tzetc, InStr(tzetc, `) + 1, -2)
rtnval = Replace(rtnval, /usr/share/zoneinfo/, )
  Endif
Endif

If Not rtnval Then
  Shell md5sum /etc/localtime To tzmd5
  tzmd5 = Left(tzmd5, InStr(tzmd5,  ) - 1)
  Shell Subst(find /usr/share/zoneinfo -type f | xargs md5sum | grep
 1, tzmd5) To rtnval
  rtnval = Left(rtnval, InStr(rtnval, \n) - 1)
  rtnval = Mid(rtnval, InStr(rtnval, info/) + 5)
Endif

Return Replace(rtnval, posix/, )

 End


OK, I get Europe/Brussels and that's correct
Gambas 2.21
Ubuntu 11.04 with gnome2

Greetings,
Johny Provoost

--
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Making code pretty

2011-08-09 Thread Johny Provoost



Op 09-08-11 12:48, Benoît Minisini schreef:
 On 8/4/2011 8:22 AM, Benoît Minisini wrote:
 Hi there,

 I'd like to add some options to the making code pretty feature in the
 IDE.
 I think that an option to sort procedures by name would be helpful.

 I think such an option should be put outside of the code format routine, which
 acts on any part of the source file.

 Anyway, why do you need that option? Is the procedure popup button not enough?


Shame on me.  Working with Gambas for more than 2 years now and never 
discovered that.
My scroll wheel is you forever grateful :)).
No special need for it, but it looks pretty on the screen.

Johny

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Making code pretty

2011-08-05 Thread Johny Provoost
Op 04-08-11 17:43, zachsmith...@gmail.com schreef:
 On 8/4/2011 8:22 AM, Benoît Minisini wrote:
 Hi there,

 I'd like to add some options to the making code pretty feature in the IDE.
 I think that an option to sort procedures by name would be helpful.

 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

That would be very useful

Johny Provoost

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Textbox - Valuebox

2010-10-04 Thread Johny Provoost

Op 04-10-10 11:02, Zoltan Biro schreef:
 Hello everybody..

 Can somebody told me how I can make the cursor to leave textbox
 with a simpleEnter  key?
 By defaul I can leave these controls only with the tab or directional
 keys..this is very unconfortable.
 Thank you for your answer in advance.

 Best regards,
 Zoli B.

 --
 Virtualization is moving to the mainstream and overtaking non-virtualized
 environment for deploying applications. Does it make network security
 easier or more difficult to achieve? Read this whitepaper to separate the
 two and get a better understanding.
 http://p.sf.net/sfu/hp-phase2-d2d
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



look in the sub txtfield_KeyPress
if the key.code is Enter or Return then you can do someting.  In my 
example a button is automatically pressed.

 PUBLIC SUB txtZoek_KeyPress()
   IF Key.Code = Key.Enter OR Key.Code = Key.Return THEN
 ZoekAdres.btZoek.Value = 1
   ENDIF
 END

Greetings,
Johny

--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Track playing process bar

2010-08-05 Thread Johny Provoost
I would like to add a progress bar / line to a MP3 player. Is it possible
 to retrieve the length and the current position of the track with Gambas2
 ? Thanks!
  
 Alas, not for MP3. SDL has no way to guess the length of a MP3 file (funny
 format isn't it?). You just have the time position.

 Regards,



I know it's very durty but you can read the tags of the mp3 file. (only 
possibility I found within my small knowledge of programming.
You must have exiftool installed.  I use Ubuntu and exiftool is not 
standard installed.


/'Create tags
PUBLIC FUNCTION FillTags(vFile AS String)
   DIM hTags AS File
   DIM NoNeedFor AS String
   DIM vIndex AS Integer = 0

   vIDindex = vIDindex + 1
   Start.lblOpstarten.Text = (Ogenblikje a.u.b. Bezig met aanmaken 
muziekdatabase - Record:   Str$(vIDindex))
   WAIT 0.01
   'Read Tags
   ' Put the tags in a textfile.  The name and path of the mp3 is in 
vFile and write the tags in a txtfile tagstmp.
   SHELL exiftool   \  vFile  \ FMain.EigenDir  
/jepe/SiMuP/tagstmp  WAIT
   'Open the file for reading
   hTags = OPEN FMain.EigenDir  /jepe/SiMuP/tagstmp FOR INPUT
   WHILE NOT Eof(hTags)
 LINE INPUT #hTags, NoNeedFor  '1-Exiftool Version Number
 IF Left$(NoNeedFor, 9) = File Name THEN
   vFilename = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 9) = Directory THEN
   vDirectory = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 27) = File Modification Date/Time THEN
   vFileModification = Right$(NoNeedFor, Len(NoNeedFor) - 
RInStr(NoNeedFor, : ) - 1)
 ENDIF
 IF Left$(NoNeedFor, 13) = Audio Bitrate THEN
   vBitrate = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 11) = Sample Rate THEN
   vSampleRate = Right$(NoNeedFor, Len(NoNeedFor) - 
RInStr(NoNeedFor, :) - 1)
 ENDIF
 IF Left$(NoNeedFor, 12) = Channel Mode THEN
   vChannelMode = Right$(NoNeedFor, Len(NoNeedFor) - 
RInStr(NoNeedFor, :) - 1)
 ENDIF
 IF Left$(NoNeedFor, 5) = Title THEN
   vTitle = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 6) = Artist THEN
   vArtist = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 5) = Album THEN
   vAlbum = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor,  : 
) - 1)
 ENDIF
 IF Left$(NoNeedFor, 5) = Track THEN
   vTrack = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 5) = Genre THEN
   vGenre = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 8) = Composer THEN
   vComposer = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
:) - 1)
 ENDIF
 IF Left$(NoNeedFor, 4) = Year THEN
   vYear = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, :) 
- 1)
 ENDIF
 IF Left$(NoNeedFor, 8) = Duration THEN
   vDuration = Right$(NoNeedFor, Len(NoNeedFor) - RInStr(NoNeedFor, 
: ) - 1)
   vDuration = Left$(vDuration, 5)
 ENDIF
   WEND
   CLOSE #hTags/


Greetings Johny

--
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://p.sf.net/sfu/dev2dev-palm
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Using a printer documentation

2010-03-12 Thread Johny Provoost
 = EersteDag
pEersteDag = FALSE
  ENDIF 
ENDIF 
Draw.Text(vCounter, 300 + ((Teller - 1) * 930), vYdim)
vYnaam = 120
IF Val(Left(PrintVerjaardagen.lstMaandlijst.Text, 2)) = vCounter 
THEN 
  Draw.Font.Size = 9
  Draw.Font.Bold = FALSE
  WHILE Val(Left(PrintVerjaardagen.lstMaandlijst.Text, 2)) = 
vCounter
Draw.Text(Right(PrintVerjaardagen.lstMaandlijst.Text, 
Len(PrintVerjaardagen.lstMaandlijst.Text) - 13), 280 + ((Teller - 1) * 930), 
vYdim + vYnaam)
vYnaam = vYnaam + 80
vIndex = vIndex + 1
PrintVerjaardagen.lstMaandlijst.Index = vIndex
  WEND 
  Draw.Font.Size = 14
  Draw.Font.Bold = TRUE
ENDIF 
IF vCounter = AantalDagen THEN Teller = 7
IF Teller  7 THEN vCounter = vCounter + 1
  NEXT 
  vYdim = vYdim + 600
NEXT 
IF aantal  12 THEN 
  Printer.NewPage
ENDIF 
pEersteDag = TRUE
  NEXT
  Draw.End
  PrintVerjaardagen.Close
  ENDIF 
END



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




Keith Clark schreef:
 Could someone forward me a few links about how to use a printer from
 within Gambas?  I need to know how to Print to a system default
 printer.

 Thanks

 Keith



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

   

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SidePanel

2009-11-02 Thread Johny Provoost

I'm working with Ubuntu 9.04 32 bits.  Never worked with sidepanel before.
Installed Gambas 2.17.
Put two sidepanels on a window with GTK+ style.
schermafdruk.png is as it in in the IDE.
schermafdruk-1.png is as it is when the program is running.

Strange.  Must be something in Ubuntu if no one else have it.



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




Benoît Minisini schreef:

I have tried with different GTK+ styles with no luck.
Maybe someone else running an Ubuntu Karmic 32bits can give SidePanel a
 try. Thanks,
Toni




I don't have the problem on my Ubuntu 9.04 64 bits. Strange... A new Ubuntu 
9.10 feature?


  
inline: Schermafdruk-1.pnginline: Schermafdruk.png--
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] Set text to a spinbox

2009-10-26 Thread Johny Provoost
Just fill in the value property.



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




David Villalobos Cambronero schreef:
 Hi all, How do I write text to a spinbox like the pic shown in the help. See 
 the link: http://gambasdoc.org/help/comp/gb.qt/spinbox

  Regards


 --
 David



   

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

   

--
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] Sendmail problems

2009-10-12 Thread Johny Provoost
OK, looks complicated for me but I give it a try.  Give me a day.



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




nospam.nospam.nos...@gmail.com schreef:
 On Sun, 2009-10-11 at 19:38 +0200, Johny Provoost wrote:

   
 I work with gambas 2.8 in Ubuntu 9.04 and QT
 (GTK gives the same result)
 

 First, download and compile v2.16 of Gambas then retest.

 Download:
 http://linux.softpedia.com/get/Programming/Interpreters/Gambas-2-1180.shtml

 Easy instructions, even I could follow them:
 http://www.ziddu.com/download/5849757/Install-Gambas-2.15-in-ubuntu.pdf.html

 Alternate instructions:
 http://gambas.sourceforge.net/en/main.html



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

   

--
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] Sendmail problems

2009-10-12 Thread Johny Provoost
was'nt complicated at all, it's just looked that way (never did 
something like that before).  I Think the programmers of the scripts did 
a great job.
After the ./configure i got the message These components are disabeld - 
gb.qte, but no other errors.

So now I'm working with Gamba's 2.16
But still no attach in the mail.

Someting else I see what i did'nt mention before is when I start the 
program form the IDE, I get servere messages in the Konsole tab
QSettings: failed to open file '/etc/qt3/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
I had that with the version 2.8 (that's a confusing number from ubuntu) 
also. Everething else in the program works as inspected exept for the 
attach.
If I look in /etc/qt the file qt_plugins_3.3c is there (210 kb)

Vriendelijke Groeten
Johny Provoost




Johny Provoost schreef:
 OK, looks complicated for me but I give it a try.  Give me a day.



 *Vriendelijke Groeten*

 *Johny Provoost*


 nospam.nospam.nos...@gmail.com schreef:
   
 On Sun, 2009-10-11 at 19:38 +0200, Johny Provoost wrote:

   
 
 I work with gambas 2.8 in Ubuntu 9.04 and QT
 (GTK gives the same result)
 
   
 First, download and compile v2.16 of Gambas then retest.

 Download:
 http://linux.softpedia.com/get/Programming/Interpreters/Gambas-2-1180.shtml

 Easy instructions, even I could follow them:
 http://www.ziddu.com/download/5849757/Install-Gambas-2.15-in-ubuntu.pdf.html

 Alternate instructions:
 http://gambas.sourceforge.net/en/main.html



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

   
 

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

   

--
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] Sendmail problems

2009-10-12 Thread Johny Provoost
Thanks, did'nt knew that.

The problem is indeed in the xdg-email script, or rather it's 
thunderbird.  Tried a new version of xdg an then I saw on there website 
that attach not working with thunderbird.

So don't look further.

I still learned a lot so thank you all.



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.net/




Benoît Minisini schreef:
 Hi,

 I want to send mail throug my program but I'm unable to use a attachement.
 The vTo, vSubject and vBody are filled in correctly in Thunderbird, but
 in vAttach I put the path to a jpg file and Thunderbird do not attach
 the file.
 If I Try to put an incorrect path in vAttach, I get an error form Gambas
 as expected.  Is it the fault of Gambas, my code or Thunderbird?

 PUBLIC SUB btVersturen_Click()
   DIM vTo AS NEW String[]
   DIM vSubject AS String
   DIM vBody AS String
   DIM vAttach AS String
   
   Desktop.SendMail(vTo,,, vSubject, vBody, vAttach)

 I work with gambas 2.8 in Ubuntu 9.04 and QT
 (GTK gives the same result)

 I tested with evolution as my default email program, but I get an error
 from evolution.  Evolution seemt to replace all the '/' with '%2F'.
 I don't know if Thunderbird does the same.  Thunderbird gives no error
 (but no attach either).

 

 Desktop.SendMail is just an interface to xdg-email. So try to send your mail 
 with the xdg-email command. If it works, then there is a bug in Gambas, 
 otherwise the problem is in the xdg-email script.

 Regards,

   

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


[Gambas-user] Sendmail problems

2009-10-11 Thread Johny Provoost
Hi,

I want to send mail throug my program but I'm unable to use a attachement.
The vTo, vSubject and vBody are filled in correctly in Thunderbird, but 
in vAttach I put the path to a jpg file and Thunderbird do not attach 
the file.
If I Try to put an incorrect path in vAttach, I get an error form Gambas 
as expected.  Is it the fault of Gambas, my code or Thunderbird?

PUBLIC SUB btVersturen_Click()
  DIM vTo AS NEW String[]
  DIM vSubject AS String
  DIM vBody AS String
  DIM vAttach AS String
  
  Desktop.SendMail(vTo,,, vSubject, vBody, vAttach)

I work with gambas 2.8 in Ubuntu 9.04 and QT
(GTK gives the same result)

I tested with evolution as my default email program, but I get an error 
from evolution.  Evolution seemt to replace all the '/' with '%2F'.
I don't know if Thunderbird does the same.  Thunderbird gives no error 
(but no attach either).



-- 



*Vriendelijke Groeten*

*Johny Provoost*

*mailto: johny.provo...@skynet.be mailto:johny.provo...@skynet.be*

*mailto: johny.provo...@gmail.com mailto:johny.provo...@gmail.com*

*Website:* *http://www.johnyprovoost.net* http://www.johnyprovoost.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