Re: [Gambas-user] gb3 RC1: using structures to replace the loss of Mk$ functions

2011-04-05 Thread Benoît Minisini
> On 04/05/2011 01:39 AM, Kevin Fishburne wrote: > > Alright, I've transformed all the networking code to the suggested > > solution, and it's so close to working I can smell it. While there is > > more code now, I like it better as it's easier to read (important!). > > > > Some code: > > Dim

Re: [Gambas-user] gb3 RC1: using structures to replace the loss of Mk$ functions

2011-04-05 Thread Kevin Fishburne
On 04/05/2011 03:34 AM, Benoît Minisini wrote: > > Not strange if you read the doc carefully. :-) > > When using "WRITE #Stream, AString As String", the length of the string is > always written before the string contents. > > To just write the string contents, you must use the second syntax of WRIT

Re: [Gambas-user] gb3 RC1: using structures to replace the loss of Mk$ functions

2011-04-05 Thread Kevin Fishburne
On 04/05/2011 03:54 AM, Kevin Fishburne wrote: > http://www.youtube.com/watch?v=cJPa8dGBxfM > > I'll get back to you in the morning if it's still not working. Damn.. Works. Thank you. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770)

[Gambas-user] shell script output controls gambas

2011-04-05 Thread Ganesh Kumar
Hi Gurus, I am new to Gambas. I have executed shell script,, the shell script output control the decision. My script / #! /biin/bash host google.com>/dev/null if [ $? -eq 0 ]; then echo "Internet connection is

Re: [Gambas-user] shell script output controls gambas

2011-04-05 Thread Ron
On 5-4-2011 12:12, Ganesh Kumar wrote: > Hi Gurus, > > I am new to Gambas. I have executed shell script,, the shell script > output control the decision. > > My script > / > #! /biin/bash > host google.com>/dev/null

Re: [Gambas-user] shell script output controls gambas

2011-04-05 Thread Jussi Lahtinen
Shell "YourScript.sh" To sStr If InStr(sStr, "UP") Then 'Internet connection is up, do something... Else 'Do something else. Endif Jussi On Tue, Apr 5, 2011 at 13:12, Ganesh Kumar wrote: > Hi Gurus, > > I am new to Gambas. I have executed shell script,, the shell script > output control

[Gambas-user] Problem with Search & Replace dialog of Gambas 3 IDE

2011-04-05 Thread Phạm Quang Dương
Hello everyone and Benoit, I got a problem with the Search & Replace dialog of Gambas 3 IDE >From the editor area, I press Ctrl+F to open S&R dialog. The S&R dialog appears and ready haves focus (with the I-beam cursor blinks in the search text box). I type some text (including backspace) but noth

[Gambas-user] Can Gambas play mp3 Files?

2011-04-05 Thread Tomek
I've tried to use SDL music component to play mp3 file, but I can't. In Example Music player it loads and seems to start, but holds on 0:00:00 with no action or error. I tried Gambas 2 and Gambas 3 on Ubuntu Studio 10.10, Debian 6, Ubuntu Studio 11.04. No luck. Tomasz Kolodziejczyk ---

Re: [Gambas-user] Can Gambas play mp3 Files?

2011-04-05 Thread Sebi Kul
On mar 05 abr 2011 18:41:16 ART, Tomek wrote: > I've tried to use SDL music component to play mp3 file, but I can't. In > Example Music player it loads and seems to start, but holds on 0:00:00 with > no action or error. I tried Gambas 2 and Gambas 3 on Ubuntu Studio 10.10, > Debian 6, Ubuntu St

[Gambas-user] Issue 55 in gambas: extended ASCII codes in textarea control give GTK error.

2011-04-05 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 55 by zachsmit...@gmail.com: extended ASCII codes in textarea control give GTK error. http://code.google.com/p/gambas/issues/detail?id=55 Try, TextArea1.text = Chr(144)

[Gambas-user] Issue 56 in gambas: error with GTK textarea control when line property is set out of bounds

2011-04-05 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 56 by zachsmit...@gmail.com: error with GTK textarea control when line property is set out of bounds http://code.google.com/p/gambas/issues/detail?id=56 Try, TextArea1.l