[Gambas-user] How to Me.Close with Shell or Exec?

2012-04-20 Thread abbat
Hi, Public Sub Form_Open() Dim a As String = 4 Dim b As String = 4 If a b Then Else 'Shell ls Exec [ls] Me.Close Endif End How to Me.Close Thanks -- View this message in context:

Re: [Gambas-user] How to Me.Close with Shell or Exec?

2012-04-20 Thread GMail
On Fri, 2012-04-20 at 03:13 -0700, abbat wrote: Hi, Public Sub Form_Open() Dim a As String = 4 Dim b As String = 4 If a b Then Else 'Shell ls Exec [ls] Me.Close Endif End How to Me.Close Thanks Removing irrelevant code, I get Public Sub Form_Open()

Re: [Gambas-user] How to Me.Close with Shell or Exec?

2012-04-20 Thread M. Cs.
What about Quit instead Me.Close? 2012/4/20, abbat abbat...@mail.ru: It does not CLOSE. Just try F5 If True then Exec [ls] Me.Close EndIf DOES NOT CLOSE (you have to push stop button), AND: If True then 'Exec [ls] Me.Close EndIf WORKS GMail-79 wrote:

Re: [Gambas-user] How to Me.Close with Shell or Exec?

2012-04-20 Thread abbat
Thank you very very very much )) Now it works as i need. minthaka wrote: What about Quit instead Me.Close? 2012/4/20, abbat abbat...@mail.ru: It does not CLOSE. Just try F5 If True then Exec [ls] Me.Close EndIf DOES NOT CLOSE (you have to push stop button), AND:

[Gambas-user] Version mismatch

2012-04-20 Thread Jesus
Hi Benoît Recently you have created a new tag 3.1.1, but it seems it's not reflected in the version string returned by the runtime nor in the IDE. Did I miss something? Regards -- Jesus Guardon -- For Developers, A

Re: [Gambas-user] Grab command

2012-04-20 Thread tobi
On Thu, 19 Apr 2012, trat50 wrote: I would like some help the syntax of the Grab command. I want to save a DrawingArea as a png or jpg file. Would someone please post a short example. Thank you. -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33715676.html

Re: [Gambas-user] How to Me.Close with Shell or Exec?

2012-04-20 Thread tobi
On Fri, 20 Apr 2012, abbat wrote: Thank you very very very much )) Now it works as i need. minthaka wrote: What about Quit instead Me.Close? 2012/4/20, abbat abbat...@mail.ru: It does not CLOSE. Just try F5 If True then Exec [ls] Me.Close EndIf

Re: [Gambas-user] How to Me.Close with Shell or Exec?

2012-04-20 Thread Willy Raets
On vr, 2012-04-20 at 17:07 +0200, tobi wrote: 2012/4/20, abbat abbat...@mail.ru: It does not CLOSE. Just try F5 If True then Exec [ls] Me.Close EndIf DOES NOT CLOSE (you have to push stop button), AND: If True then 'Exec [ls]

Re: [Gambas-user] Grab command

2012-04-20 Thread trat50
Hi Tobi, I just tried that - but it still blacks out anything not visible on the computer monitor. tobi-15 wrote: On Thu, 19 Apr 2012, trat50 wrote: I would like some help the syntax of the Grab command. I want to save a DrawingArea as a png or jpg file. Would someone please post a

Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-20 Thread Willy Raets
On do, 2012-04-19 at 10:43 -0700, Randall Morgan wrote: Couldn't this be done simply running a simple web server as localhost on an unused port and downloading the site using a site copier like HTTtrack for the local version. Then simply allowing user to choose online or offline documentation

Re: [Gambas-user] Documentation

2012-04-20 Thread Willy Raets
On do, 2012-04-19 at 22:06 +0100, Steve wrote: Are there any docs to help To try out gambasforge example How to setup a gambas cgi webserver Steve All I could find is this: http://gambasdoc.org/help/doc/serverpage?view I would love to find some good example on how to set

Re: [Gambas-user] gambas3 library pathes

2012-04-20 Thread Willy Raets
On do, 2012-04-19 at 15:51 +0200, Andreas Fröhlke wrote: Hello, we read in a forum, that gambas3 searches in 2 pathes for gambas libraries. Is there a way to add pathes or edit them? If not, is gambas3 searching recursively, so we can put our library in a subfolder? Hi Andreas, To use a

Re: [Gambas-user] Grab command

2012-04-20 Thread tobi
On Fri, 20 Apr 2012, trat50 wrote: Hi Tobi, I just tried that - but it still blacks out anything not visible on the computer monitor. tobi-15 wrote: If you are talking about GB2, you can do: DrawingArea.Grab().Save(Path, [Quality]) However, in GB3, the Grab method is

Re: [Gambas-user] Documentation

2012-04-20 Thread tobi
On Fri, 20 Apr 2012, Willy Raets wrote: On do, 2012-04-19 at 22:06 +0100, Steve wrote: Are there any docs to help To try out gambasforge example How to setup a gambas cgi webserver Steve All I could find is this:

Re: [Gambas-user] Documentation

2012-04-20 Thread Willy Raets
On vr, 2012-04-20 at 17:52 +0200, tobi wrote: I think, I already answered such a question and it was mainly about: We have a German paper on that topic (apache2 with gambas cgi on debian, if I remember correctly). If it is of any use for someone, I could try to locate it? I would love to

Re: [Gambas-user] gambas3 library pathes

2012-04-20 Thread Benoît Minisini
Le 20/04/2012 17:43, Willy Raets a écrit : On do, 2012-04-19 at 15:51 +0200, Andreas Fröhlke wrote: Hello, we read in a forum, that gambas3 searches in 2 pathes for gambas libraries. Is there a way to add pathes or edit them? If not, is gambas3 searching recursively, so we can put our

Re: [Gambas-user] Documentation

2012-04-20 Thread Steve
Please ---Original Message--- From: tobi Date: 20/04/2012 16:55:03 To: wi...@earthshipbelgium.be; mailing list for gambas users Subject: Re: [Gambas-user] Documentation On Fri, 20 Apr 2012, Willy Raets wrote: On do, 2012-04-19 at 22:06 +0100, Steve wrote:

Re: [Gambas-user] Documentation

2012-04-20 Thread tobi
On Fri, 20 Apr 2012, Steve wrote: Please I think, I already answered such a question and it was mainly about: We have a German paper on that topic (apache2 with gambas cgi on debian, if I remember correctly). If it is of any use for someone, I could try to locate it?

Re: [Gambas-user] Version mismatch

2012-04-20 Thread Benoît Minisini
Le 20/04/2012 13:58, Jesus a écrit : Hi Benoît Recently you have created a new tag 3.1.1, but it seems it's not reflected in the version string returned by the runtime nor in the IDE. Did I miss something? Regards Fixed in revision #4642. -- Benoît Minisini

Re: [Gambas-user] Grab command

2012-04-20 Thread trat50
Thanks Tobi, Yes you are correct - this is on Gambas2. I'll have to try that on a PictureBox. Initially I had everything for this app on a PictureBox, but I didn't know how to draw on those. I'll see what I can find in the texts, or maybe someone will chime in. tobi-15 wrote: On Fri, 20

Re: [Gambas-user] gambas3 library pathes

2012-04-20 Thread Willy Raets
On vr, 2012-04-20 at 18:21 +0200, Benoît Minisini wrote: Le 20/04/2012 17:43, Willy Raets a écrit : To use a Gambas3 library in a Gambas3 project you need to put an executable (example: mylib.gambas) in the main project folder. Aaarg... No! At runtime, a library must be put in the same

Re: [Gambas-user] gambas3 library pathes

2012-04-20 Thread Willy Raets
On vr, 2012-04-20 at 19:32 -0700, John Spikowski wrote: On Sat, 2012-04-21 at 04:17 +0200, Willy Raets wrote: I couldn't and still can't find documentation on how to use and distribute a library written in Gambas. Willy It would be great if Gambas developed applications could be