[Gambas-user] test

2010-12-24 Thread Mike
TEST


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas RC

2010-12-24 Thread Mike
Hi All,

I have uploaded a YouTube video (search for 4401 iphone or use this link
http://www.youtube.com/watch?v=eZ0Tbu4BZIc ) showing a Gambas
application on my Samsung N150 note book with Ubuntu Lucid. This is
sitting in and controlling my 7 ¼” miniature locomotive. It is
controlled from the club server and my iphone 4 over a Wi-Fi connection.
The severs Wi-Fi USB adapter is connected to a 9 db whip mounted about 4
mts above the club room giving coverage out to about a 500 mt radius. 

Enjoy. 
A very Merry Christmas and a Happy New Year to all.

Best Regards
Mike 


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Video Capture

2011-02-19 Thread Mike
Hi All,

I have an application that uses the MyWebCam example how do I capture
the video stream as an avi file for viewing with Movie Player etc.

Regards
Mike


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Video Capture

2011-02-19 Thread Mike
Hi Benoit,

Have I missed something in the MyWebCam example as I do not see any code
to capture a video stream to file (AVI). is there any example code to do
this.

Best Regards
Mike 


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Video Capture

2011-02-20 Thread Mike
Hi,

I think i got it. Install dvgrab shell to it from Gambas with desired
options.

See this for more info.
http://manpages.ubuntu.com/manpages/hardy/man1/dvgrab.1.html

Regards
Mike


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Puppy

2009-06-18 Thread Mike
Hi, can anyone help with a step by step on where to download Gambas for
Puppy Linux 4.2 and step by step to assemble and install on Puppy machine
with all the dependences. I have tried some of the Gambas versions with the
PET installer and had no luck getting things running, any help please.

 

Thanks Mike

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] serial port

2009-09-20 Thread Mike
Robert JUHASZ wrote:
> Useful info, I'll do like that.
> Thanks, Robi
>
> 2009/9/19 nando 
>
>   
>> In my Linux serial port experience, serial port devices are named:
>>
>> /dev/ttyS0..9 and upwards
>> /dev/ttyUSB0..9 and upwards depending on what is plugged in USB.
>>
>> I have done a lot of serial port stuff with Gambas.
>>
>> I know that trying to open then with the serial port control
>> will fail is non-exising port. This error can be detected.
>>
>> It can be possible to open a port as a test to see if it exists, but you
>> may be changing parameters and stealing chars from an existing connection.
>> I've had this happen tooreally messes things up.
>>
>> -Fernando
>>
>>
>> -- Original Message ---
>> From: yuhej 
>> To: gambas-user@lists.sourceforge.net
>> Sent: Fri, 18 Sep 2009 21:08:04 -0700 (PDT)
>> Subject: [Gambas-user]  serial port
>>
>> 
>>> Hello,
>>>
>>> I can see that Gambas can handle the serial ports which is a very good
>>>   
>> news
>> 
>>> for me.
>>> Can someone tell me how can I get the list of the serial ports of my
>>> computer? I wish to make an autodetect function and only allow to select
>>> from the working serial ports.
>>>
>>> Robi
>>> --
>>> View this message in context:
>>>   
>> http://www.nabble.com/serial-port-tp25518421p25518421.html
>> 
>>> Sent from the gambas-user mailing list archive at Nabble.com.
>>>
>>>
>>>   
>> --
>> 
>>> Come build with us! The BlackBerry® 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/devconf
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>   
>> --- End of Original Message ---
>>
>>
>>
>> --
>> Come build with us! The BlackBerry® 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/devconf
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> 
> --
> Come build with us! The BlackBerry® 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/devconf
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>   
Hi, try the code below, I have no problems with the serial port.

PRIVATE Sport AS SerialPort
CONST None AS Integer = 0
PRIVATE Rx AS String

PUBLIC SUB Form_Open()
  Sport = NEW SerialPort AS "Sport"
  Sport.PortName = "/dev/ttyUSB0"
  Sport.Speed = "19200"
  Sport.Parity = 0
  Sport.DataBits = "8"
  Sport.StopBits = "1"
  Sport.FlowControl = 0 

  TRY
Sport.Open()
 
  IF ERROR THEN
TRY Sport.PortName = "/dev/ttyS0"
  Sport.Speed = "19200"
  Sport.Parity = 0
  Sport.DataBits = "8"
  Sport.StopBits = "1"
  Sport.FlowControl = 0
  Sport.Open()
IF ERROR THEN
  Message(" Onboard Uart Comm 1 not found -- PROGRAM TERMINATING")
  QUIT
ENDIF
 ENDIF
 
END

' Get RS232 data 

PUBLIC SUB Sport_Read()
  SLEEP 0.025

  TRY READ #Sport, Rx, Lof(Sport)
 
  IF ERROR THEN
GOTO NoRx
  ENDIF
 
  IF Len(Rx) > 8 THEN
ListBox1.Add(Rx)
  END IF

NoRx:

  Rx = ""
 
END

PUBLIC SUB Form_Close()
  Sport.Close()
  QUIT 
END

Regards
Mike


--
Come build with us! The BlackBerry® 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/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] serial port

2009-09-21 Thread Mike
Robert JUHASZ wrote:
> Useful info, I'll do like that.
> Thanks, Robi
>
> 2009/9/19 nando 
>
>   
>> In my Linux serial port experience, serial port devices are named:
>>
>> /dev/ttyS0..9 and upwards
>> /dev/ttyUSB0..9 and upwards depending on what is plugged in USB.
>>
>> I have done a lot of serial port stuff with Gambas.
>>
>> I know that trying to open then with the serial port control
>> will fail is non-exising port. This error can be detected.
>>
>> It can be possible to open a port as a test to see if it exists, but you
>> may be changing parameters and stealing chars from an existing connection.
>> I've had this happen tooreally messes things up.
>>
>> -Fernando
>>
>>
>> -- Original Message ---
>> From: yuhej 
>> To: gambas-user@lists.sourceforge.net
>> Sent: Fri, 18 Sep 2009 21:08:04 -0700 (PDT)
>> Subject: [Gambas-user]  serial port
>>
>> 
>>> Hello,
>>>
>>> I can see that Gambas can handle the serial ports which is a very good
>>>   
>> news
>> 
>>> for me.
>>> Can someone tell me how can I get the list of the serial ports of my
>>> computer? I wish to make an autodetect function and only allow to select
>>> from the working serial ports.
>>>
>>> Robi
>>> --
>>> View this message in context:
>>>   
>> http://www.nabble.com/serial-port-tp25518421p25518421.html
>> 
>>> Sent from the gambas-user mailing list archive at Nabble.com.
>>>
>>>
>>>   
>> --
>> 
>>> Come build with us! The BlackBerry® 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/devconf
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>   
>> --- End of Original Message ---
>>
>>
>>
>> --
>> Come build with us! The BlackBerry® 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/devconf
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> 
> --
> Come build with us! The BlackBerry® 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/devconf
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>   
Is the list up.

Mike

--
Come build with us! The BlackBerry® 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/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Mike
Jean-Yves F. Barbier wrote:
> Hi folks,
>
> Does anybody have experience (and code) of ModBus driven by Gambas?
>
> JY
>   
ASCII or RTU

Mike

--
Come build with us! The BlackBerry® 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/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Mike
Jean-Yves F. Barbier wrote:
> Mike a écrit :
>   
>> Jean-Yves F. Barbier wrote:
>> 
>>> Hi folks,
>>>
>>> Does anybody have experience (and code) of ModBus driven by Gambas?
>>>
>>> JY
>>>   
>>>   
>> ASCII or RTU
>> 
>
> either
>
>   
I will have a look at some code for RTU, TCP, RS232 I used in .net and 
see if it can be adapted to Gambas. It will take me a while to do this.

Mike

--
Come build with us! The BlackBerry® 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/devconf
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Serial port data being changed ????

2009-12-07 Thread mike
I'm having trouble with Gambas and the serial ports.
Something is changing binary &h0d to &h0a when received
from a serial port. I noticed it in a program that I've
been working on that receives packets of binary data
from a microprocessor. I wrote a little test program to
demonstrate the problem and have included it below. I also
reprogrammed the micro to simply send &h0d as long a
pushbutton is held depressed. I have verified that the
correct data is indeed being sent using CuteCom to display
the binary data.
An interesting thing that I noticed when I ran CuteCom to
test the data being received is that if I close CuteCom without
closing the serial port first then run my Gambas program, it works
fine until I restart the system. If I close the port before closing
CuteCom then my Gambas program fails.


This is the code for the test program.

' Gambas class file
' Using Gambas 2.18 on a system running
' Fedora Kernel (26.30.9-102.fc11.x86_64)
' It also fails running Gambas 2.11
' on my laptop running
' Fedora Kernel (2.6.27.25-78.2.56.fc9.i686)

PUBLIC SUB Form_Open()

   ME.Center

' Setup the serial port - 9600,8,N,1

'  SerPort1.PortName = "/dev/ttyS0" ' Both ports fail
   SerPort1.PortName = "/dev/ttyUSB0"' This the port I'll eventually use
   SerPort1.Speed = "9600"   ' because the laptop has no 
serial port.
   SerPort1.DataBits = "8"
   SerPort1.Parity = "0"
   SerPort1.StopBits = "1"
   SerPort1.Open

   TextArea1.Text = SerPort1.PortName & Chr$(10)
END

PUBLIC SUB SerPort1_Read()

' A microprocessor is connected to the serial port and
' continuously sends &h0d (CR) as long a push button is held down.

DIM InByte AS Byte

   READ #SerPort1, InByte
   TextArea1.Insert(Hex$(InByte) & " ")
' The textarea displays a series of "A " (LF) instead of "D " (CR)
END

PUBLIC SUB ExitBtn_Click()

   SerPort1.Close
   QUIT
END

PUBLIC SUB ClearBtn_Click()

   TextArea1.Clear
END

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


Re: [Gambas-user] Serial port data being changed ???? -- Solved

2009-12-08 Thread mike
Ahh, Thank you. Now I can move on to finish my project.


>
> This is a Linux thing. Not Gambas. The icrnl flaf is set as standard.
> Easiest way is to use stty to change it.
>
> SHELL "stty -F "&  SerPort1.PortName&  " -icrnl"
>
>
>
> --
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>

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


Re: [Gambas-user] Serial port data being changed ????

2009-12-08 Thread Mike

   Benoît Minisini wrote:
   

This is a Linux thing. Not Gambas. The icrnl flaf is set as standard.
Easiest way is to use stty to change it.

SHELL "stty -F " & SerPort1.PortName & " -icrnl"



I'm not a serial port user at all, and I find that behaviour a bit strange.

Would it be useful to make a property for that? Or maybe it does already exist 
in the SerialPort class, and I didn't see it.

  

   If not property setting then at least a reference in the docs to the stty
   thing would have been very helpful.
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread mike
On 04/07/2010 02:47 PM, nando wrote:
> Seek will not change the address.
>
>
> -- Original Message ---
> From: Doriano Blengino
> To: nand...@nothingsimple.com, mailing list for gambas users
> 
> Sent: Wed, 07 Apr 2010 11:06:42 +0200
> Subject: Re: [Gambas-user] Parallel Port - Illegal Seek -
>
>
>> nando ha scritto:
>>  
>>> Using SEEK is not correct.
>>> If you think of the parallel port as a file, you cannot seek.
>>> It doesn't make sense.
>>> You can only read and write.
>>> What are you trying to accomplish ?
>>> -Fernando
>>>
>>>
>> He is trying to do low level access to the parallel port, which has 3
>> hardware addresses.
>> In that respect, seek() would make sense to select which IO address to
>> read from/write to.
>> Whether this works or not, depends on how the kernel driver interprets
>> the seeks, but the following listing makes it clear that somewhere
>> (other OSes?) this behavior works.
>> The error could also arise from other problems: permissions, missing
>> modules, wrong major/minor numbers and so on...
>>
>> Regards,
>> Doriano
>>
>>  
>>>
>>> -- Original Message ---
>>> From: Bjorn Macintosh
>>> To: gambas-user@lists.sourceforge.net
>>> Sent: Fri, 2 Apr 2010 21:09:58 +1300
>>> Subject: [Gambas-user] Parallel Port - Illegal Seek -
>>>
>>>
>>>
 Hi All,

 I am writing a parallel port interface, however I am struggling with how to
 write to the parallel port.  Below I have included the code that I have
 used.  Following that I have included the BASIC code that I am 
 bastardizing.

 My Gambas version is Gambas2.13
 I am running Linux Mint 8
 I do have a parallel port on my PC. It is '0378' - '037a' and '0778' -
 '077a'
 The error code I am getting is "System error. illegal seek"

 Thanks in advance for any help anyone can give.
 -GAMBAS2
 CODE FOLLOWS--
 ' Gambas module file
 PUBLIC SUB Main()

 DIM N AS Integer
 DIM pin AS Integer
 DIM pinout AS Integer[] = [0, 0, 0, 0, 0, 0, 0, 0]
 DIM pump AS Integer
 DIM Ptime AS Integer
 DIM Clock AS Integer
 DIM UClock AS Integer
 DIM DClock AS Integer
 DIM commit AS Integer
 DIM poweron AS Integer
 DIM switch AS Integer
 DIM gate AS File
 DIM base0, base1, base2 AS Integer

 base0 = 0
 base1 = 1
 base2 = 2
 poweron = 64
 commit = 144
 switch = 17
 UClock = 130
 DClock = 128
gate = OPEN "/dev/parport0" FOR READ WRITE
SEEK #gate, base0
WRITE #gate, poweron
FOR Ptime = 1 TO 2000 STEP 1
NEXT

SEEK #gate, base2
WRITE #gate, switch

GOTO START
 CommitChanges:
FOR N = 0 TO 7 STEP 1
  pump = CInt(100&  pinout[Fix(N)])
  Clock = CInt(101&  pinout[Fix(N)])
  SEEK #gate, base0
  WRITE #gate, pump
  FOR Ptime = 1 TO 2000 STEP 1
  NEXT
  SEEK #gate, base0
  WRITE #gate, Clock
  FOR Ptime = 1 TO 2000 STEP 1
  NEXT
  SEEK #gate, base0
  WRITE #gate, pump
NEXT
  FOR Ptime = 1 TO 2000 STEP 1
  NEXT

FOR N = 1 TO 16 STEP 1
  SEEK #gate, base0
  WRITE #gate, UClock
  FOR Ptime = 1 TO 2000 STEP 1
  NEXT
  SEEK #gate, base0
  WRITE #gate, DClock
NEXT
  FOR Ptime = 1 TO 2000 STEP 1
  NEXT
SEEK #gate, base0
WRITE #gate, commit
  FOR Ptime = 1 TO 2000 STEP 1
  NEXT
SEEK #gate, base0
WRITE #gate, poweron
GOTO PrintPinout

 PrintPinout:
FOR N = 0 TO 7 STEP 1
  PRINT pinout[Fix(N)]
NEXT
GOTO START

 PinSelectFail:
PRINT "You have selected a pin that does not exist, careful as this may
 cause a divide by 0 and end the universe,  Select between pin 0 and pin 7"
GOTO START

 START:
PRINT "What input do you want to toggle? (pins 0 ->  7 are outputs, Pin 
 8
 is the activation sequence)"
INPUT pin
IF pin<  0 OR pin>  8 THEN
  GOTO PinSelectFail
ELSE IF pin = 8 THEN
  GOTO CommitChanges
ELSE IF pinout[Fix(pin)] = 0 THEN
  pinout[Fix(pin)] = 1
ELSE IF pinout[Fix(pin)] = 1 THEN
  pinout[Fix(pin)] = 0
ENDIF
 GOTO PrintPinout
 END
 -Gambas2
 END

 -BASIC
 CODE FOLLOWS--

 BASE0=&H378

 'SWITCH POWER AND OUTPUTS ON
 OUT BASE0,&H80

Re: [Gambas-user] Wrong error message

2010-05-04 Thread mike
On 05/04/2010 02:03 PM, Benoît Minisini wrote:
>>> I feel something weird in using an integer variable as if it was a
>>> string, and the above snippet does that.
>>>
>>   As I said earlier, it is sometimes useful. Datatype is integer because
>>   all other usage of that variable is mundane math.
>>   But of course there are many other ways to do same thing.
>>   Example;
>>   n += i * exp10(i)
>>   Or using temporarily string variable for concatenate and then convert
>> back to integer.
>>   But I'm accustomed to use most simplest expression n&= i.
>>
>>   BTW. 5*exp10(5) gives 50.1 weird?
>>  
> On my 32 bits Mandriva, I get 50, both with Gambas 2 and Gambas 3. Could
> other 64 bits users confirm that?
>
>
Fedora 11
Kernel 2.6.30.10-105.2.23.fc11.x86_64
Intel Core2 Quad Q6700
Gambas 2.19

? 5*exp10(5)
50.1
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Video

2010-06-09 Thread Mike
Hi Gang,

 

Can anyone please list Gambas example code to implement web cam or video
capture using gb.v4l. Unable to find any with a Google search.

 

Thanks

Mike

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


Re: [Gambas-user] Video

2010-06-10 Thread Mike
Have tried the examples and Gambas hangs when the picturebox call is made I
am running on Ubuntu 10.xx any other examples and can I remove the write
protection off the example files.

Regards 
Mike

-Original Message-
From: Fabien Bodard [mailto:gambas...@gmail.com] 
Sent: Thursday, 10 June 2010 01:04
To: mailing list for gambas users
Subject: Re: [Gambas-user] Video

just open the exemples in the ide ... there is two exemple in the v2
and and 3 in the v3

2010/6/9 Mike :
> Hi Gang,
>
>
>
> Can anyone please list Gambas example code to implement web cam or video
> capture using gb.v4l. Unable to find any with a Google search.
>
>
>
> Thanks
>
> Mike
>
>

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


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.829 / Virus Database: 271.1.1/2927 - Release Date: 06/09/10
14:35:00


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


Re: [Gambas-user] To wish list... (Tom Harvey)

2010-08-27 Thread Mike
Benoit,

Australia, Sunday is the 1st day of the week.

Regards
Mike

On Thu, 2010-08-26 at 17:35 +0200, Benoît Minisini wrote:
> > Hi,
> > I would like an option in DateChooser to display Sunday as the 1st day of
> > the week on DateChooser.  Presently Monday (the 2nd day of the week) is
> > displayed as the first day of the week in DateChooser.  Thanks for
> > everything!
> > 
> > Using Gambas 2.20 on PCLinuxOS 2010.
> > 
> 
> Apparently the first day of the week is Monday everywhere but in US! If 
> somebody can confirm...
> 
> I will make a change in Gambas 3, and if I have time, I will try to backport 
> it to Gambas 2.
> 
> Regards,
> 



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] project transfer

2008-07-15 Thread Mike
How do I transfer a gambas2 project from my pc to my notebook

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] text files

2008-08-26 Thread Mike
Hi all

 

How do I save a text file without extra chars at the start of the file.

If I save with the following code there is one extra char added to the start
of the file.

 

Hfile = OPEN "/home/mike/cmrmsg.txt" FOR WRITE CREATE

WRITE #hfile, "Stuff"

CLOSE #hfile

 

If I use a very long string I get two chars added at the start of the file.

 

Regards

Mike Crean

 

 

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] broken link

2008-09-01 Thread Mike
Benoit, on the Gambas site the link bellow seems to be broken.
 
http://gambas.gnulinex.org/ubuntu
 
Regards
Mike

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] shell

2008-09-02 Thread Mike
Hi all

 

I am trying to run the terminal with input from the gambas shell command.
Looks like I have it wrong, any help please.

 

SHELL "/home/mike/Desktop/Terminal espeak Hello" 

 

Regards all

Mike

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas Software Farm in revision #6676

2014-11-25 Thread Mike Crean
I for one would be in favor of a "published" and "private" access to components 
available on the farm.
RegardsMike 

 On Wednesday, 26 November 2014, 13:25, Kevin Fishburne 
 wrote:
   

 On 11/26/2014 12:02 AM, T Lee Davidson wrote:
> On 11/25/2014 10:38 PM, Kevin Fishburne wrote:
>> Since the farm (as it stands currently) is only for free software (as in
>> GPL), users will be free to circumvent payment by downloading the
>> application from another source, such as someone who paid and then began
>> hosting the source code and/or binaries themselves. This is perfectly
>> legal, as the GPL states users may modify or distribute the application
>> as they see fit as long as they provide access to the source code. So
>> payment will effectively be for convenience, application support or
>> kindness rather than the only way they can access the application.
>>
>> I'm thinking that creating a payment system for GAMBAS would be an
>> insane amount of work and probably isn't a good idea. A much easier way
>> would be to support existing payment solutions such as PayPal. Here's
>> some information on their "digital goods" payment solutions:
> Benoît stated that the Farm was not intended to be a marketplace.


While that is true, it may not always be the case. Things change 
according to the wants and needs of users and developers. At this time 
there may be little interest in that particular functionality among 
developers, but it seems an obvious extension to what is essentially a 
digital distribution service, so I think it's worth at least discussing.


> Hence, my suggestion that it could be used as a pseudo-marketplace by
> allowing publishers to make their listing private. The payment and/or
> transaction details, access credential delivery, and level of on-going
> support (free/paid) would be the responsibility the individual publisher.


That's an interesting suggestion, but I'm not sure if it can be made to 
fit in with the plan to have the farm compile and install the 
application on the end user's system. If that's the farm's primary 
objective then it would be too late for a password-protective archive as 
the program would already be installed.


> I was not suggesting creating a payment system for GAMBAS, nor
> complicating or burdening the Farm platform with transactional needs.


I am suggesting 3rd party payment processing integration. :) Didn't mean 
to imply that you were suggesting it.


> Any publishers successfully using the Farm commercially could graciously
> 'buy Benoît a beer', or three.


True, I've even bought him a few beers myself, but I wouldn't build a 
business on that premise.


-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sa...@eightvirtues.com
phone: (770) 853-6271


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

   
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SerialPort: RS232 DTR problem

2015-01-04 Thread Mike Crean
Have you tried a standard loop back cable. Also have a look at the most 
excepted RS323 standards.
This may help.
Over the past couple of decades the serial "standard" has evolved. Current 
accepted practice says that DSR and DTR should be used for "Equipment Status" 
and that hardware flow control be done using CTS and RTS.

Since the signaling is identical you can plug any device that uses DSR/DTR flow 
control into any device that uses CTS/RTS flow control as long as the cable is 
wired correctly.

All currently available Lantronix multi-port servers with RJ45 serial ports use 
this RS232 pinout:
1 RTS
2 DTR
3 TXD
4 SGD
5 SGD
6 RXD
7 DSR
8 CTSRegardsMike 

 On Sunday, 4 January 2015, 10:20, Benoît Minisini 
 wrote:
   

 Le 03/01/2015 15:40, Tobias Boege a écrit :
> On Fri, 02 Jan 2015, Beno?t Minisini wrote:
>> Le 16/12/2014 15:52, Tobias Boege a ?crit :
>>> Hi,
>>>
>>> [ this is a forwarded bug report -- and this time I'm only translating. I
>>>    don't understand any of these hardware things. If there are questions
>>>    left, don't hesitate; ]
>>>
>>> a user complains that SerialPort.DTR is buggy on his system: after
>>> initialisation, this property is False and the voltage is -12V.
>>>
>>> Setting it to True works and the voltage raises to +12V. But setting it to
>>> False afterwards does nothing: the property continues to return True the
>>> voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB
>>> adapter.
>>>
>>> He says it worked with Gambas2 and he first noticed that it didn't with
>>> Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the
>>> error still happens with 3.6.2.
>>>
>>> Attached is the project we came up with to reproduce the issue. He also
>>> mentioned that behaviour changed slightly when he left out the graphical
>>> component he initially used his project with: with a graphical component,
>>> the hardware didn't react and the property remained True and without a
>>> graphical component, the hardware reacts correctly, only the property gives
>>> the wrong value -- if I got him right.
>>>
>>> Regards,
>>> Tobi
>>>
>>
>> Does the last revision (#6792) change anything?
>>
>
> He says no.
>

A stupid bug in the DTR property implementation... It should be fixed in 
revision #6804. Please ask him to confirm.

Regards,

-- 
Benoît Minisini

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


Re: [Gambas-user] Non-linux line ending files are seen as binary by the IDE

2015-02-02 Thread Mike Crean
He Jussi, would one not expect to see CR, LF in a binaryfile and would expect 
to see EOF.
Regards Mike 

 On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen 
 wrote:
   

 It would certainly be good thing if IDE would have converter for these
cases. Meanwhile it should be pretty easy to write script to convert the
line endings.
However, it's strange that I did not have this problem with source files...
maybe this is bug in how Gambas detect binary files.


Jussi

On Mon, Feb 2, 2015 at 9:49 AM, adamn...@gmail.com 
wrote:

> If I have a data file in the project which has windows style line endings,
> i.e. CRLF then the IDE thinks it's a binary file.
>
> Don't really know if this is a bug or just an anomaly or what is the
> expected behaviour?
>
> e.g. attached.  In the IDE, Data|New > Existing, add  the attached file.
> Double clicking on it raises the error balloon "Cannot open a binary file".
>
> cheers
> B
>
> --
> B Bruen 
>
>
> --
> 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


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

2015-02-03 Thread Mike Crean
So who has ordered there pi 2. I have.
Regards to all Mike
--
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] Rpi

2015-02-03 Thread Mike Crean
windows 10 I want things to go fast haha 

 On Wednesday, 4 February 2015, 14:43, Mike Crean  
wrote:
   

 windows 10 hehehehehe 

 On Wednesday, 4 February 2015, 4:42, Lewis Balentine  
wrote:
   

 >> Are you sure it's an advantage to install windows 10? <<
on anything ???



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


Re: [Gambas-user] Rpi

2015-02-03 Thread Mike Crean
windows 10 hehehehehe 

 On Wednesday, 4 February 2015, 4:42, Lewis Balentine  
wrote:
   

 >> Are you sure it's an advantage to install windows 10? <<
on anything ???



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


[Gambas-user] Rpi 2

2015-02-12 Thread Mike Crean
Hi All, I am trying to install gambas3-3.4.2 on a ReaspberryPi 2. all compiles 
OK without error.When I run sudo make install I get some errors at the end.When 
I try to run Gambas3 I get this
pi@raspberrypi ~ $ gambas3Project.RefreshBreakpointPicture.5051: Unable to find 
method _get in class Stock. Parameters do not match1: 
Project.RefreshBreakpointPicture.50512: Project.Main.247
Any clues please and is there a guide for compiling and installing the latest 
gambas build anywhere.
Regards to all Mike
--
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] Rpi 2

2015-02-12 Thread Mike Crean
Hey Bruce if you can give me some ideas about installing Gambas3 on Raspbian on 
Rpi 2 it would be great.
Best RegardsMike 

 On Friday, 13 February 2015, 13:09, "adamn...@gmail.com" 
 wrote:
   

 On Thu, 12 Feb 2015 13:53:08 +0100
Tobias Boege  wrote:

> (Although I fear that Bruce will jump in with your solution any moment:)
nah, i have been up and out for 16 hours followed by a v. large lunch.  


...
aha! i see the bed

post,now ...
b

-- 
B Bruen 

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


[Gambas-user] Rpi2

2015-02-13 Thread Mike Crean
I have these errors when I install gambas3
Any one help please.
make  install-data-hookmake[5]: Entering directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Installing the gb.gtk control icons if 
needed...Creating the information files for gb.gtk component...
make[5]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[4]: Leaving 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Making install in openglmake[3]: Entering 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'  CC     
gb_gtk_opengl_la-main.loIn file included from main.c:26:0:main.h:31:23: fatal 
error: gtk/gtkgl.h: No such file or directorycompilation 
terminated.Makefile:422: recipe for target 'gb_gtk_opengl_la-main.lo' 
failedmake[3]: *** [gb_gtk_opengl_la-main.lo] Error 1make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'Makefile:1317: recipe for target 
'install-recursive' failedmake[2]: *** [install-recursive] Error 1make[2]: 
Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Makefile:373: recipe for 
target 'install-recursive' failedmake[1]: *** [install-recursive] Error 
1make[1]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk'Makefile:367: recipe 
for target 'install-recursive' failedmake: *** [install-recursive] Error 1
RegardsMike
--
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] Rpi2

2015-02-13 Thread Mike Crean
I have these errors when I install gambas3
Any one help please.
make  install-data-hookmake[5]: Entering directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Installing the gb.gtk control icons if 
needed...Creating the information files for gb.gtk component...
make[5]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[4]: Leaving 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Making install in openglmake[3]: Entering 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'  CC     
gb_gtk_opengl_la-main.loIn file included from main.c:26:0:main.h:31:23: fatal 
error: gtk/gtkgl.h: No such file or directorycompilation 
terminated.Makefile:422: recipe for target 'gb_gtk_opengl_la-main.lo' 
failedmake[3]: *** [gb_gtk_opengl_la-main.lo] Error 1make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'Makefile:1317: recipe for target 
'install-recursive' failedmake[2]: *** [install-recursive] Error 1make[2]: 
Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Makefile:373: recipe for 
target 'install-recursive' failedmake[1]: *** [install-recursive] Error 
1make[1]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk'Makefile:367: recipe 
for target 'install-recursive' failedmake: *** [install-recursive] Error 1
RegardsMike
--
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] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Hey Bruce, have a look at this link for a anaolg gauge html server. \
RegardsMike
Gauges

|   |
|   |  |   |   |   |   |   |
| GaugesController Channel: Switch Cancel Status:  |
|  |
| View on demo.crossbar.io | Preview by Yahoo |
|  |
|   |


RegardsMike 

 On Saturday, 14 February 2015, 12:07, Dimitris Anogiatis 
 wrote:
   

 Hey Bruce,
In addition to all the good suggestions everyone is throwing in the
problem, you could use a CouchDB database on a different server and just
connect to it with a normal http connection if you're worried about file
hits on the sd card. Gambas supports JSON and the httpclient component
should work just fine for what you want it to do.

Hope this helps,
Dimitris


On Fri, Feb 13, 2015 at 7:04 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Le 13/02/2015 21:35, Bruce Cunningham a écrit :
> > Caveat,
> >
> > Thanks for the info.
> >
> > I'm a little concerned about using a "disk" based database because
> > the disk is flash, which has a limited number of write cycles.  Even
> > with wear-leveling, I would eventually kill parts of the flash.  I
> > don't want these things dropping dead in the field after a year or
> > so...
> >
> > I was considering something like named pipes, but I'm a little
> > unclear about how Linux actually handles them.  I thought I saw a
> > mention that they are managed via temporary files within the file
> > system, and that would defeat the whole idea of not writing to disk.
> >
> > I know how to do interprocess communication in Windows, but not in
> > Linux with Gambas.
> >
> > Bruce
> >
> > Bruce Cunningham bcunning...@sportif.com
> >
>
> You can use a named pipe : you create the node on the disk once (if you
> don't want to ruin the flash). All the data exchange will be done in
> memory by the system.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> 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


   
--
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] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Bruce this is the link
Mike
Gaugeshttps://demo.crossbar.io/demo/gauges/index.html
|   |
|   |  |   |   |   |   |   |
| GaugesController Channel: Switch Cancel Status:  |
|  |
| View on demo.crossbar.io | Preview by Yahoo |
|  |
|   |

   

 On Saturday, 14 February 2015, 21:51, Mike Crean  
wrote:
   

 Hey Bruce, have a look at this link for a anaolg gauge html server. \
RegardsMike
Gauges

|   |
|   |  |   |   |   |   |   |
| GaugesController Channel: Switch Cancel Status:  |
|  |
| View on demo.crossbar.io | Preview by Yahoo |
|  |
|   |


RegardsMike 

    On Saturday, 14 February 2015, 12:07, Dimitris Anogiatis  
wrote:
  

 Hey Bruce,
In addition to all the good suggestions everyone is throwing in the
problem, you could use a CouchDB database on a different server and just
connect to it with a normal http connection if you're worried about file
hits on the sd card. Gambas supports JSON and the httpclient component
should work just fine for what you want it to do.

Hope this helps,
Dimitris


On Fri, Feb 13, 2015 at 7:04 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Le 13/02/2015 21:35, Bruce Cunningham a écrit :
> > Caveat,
> >
> > Thanks for the info.
> >
> > I'm a little concerned about using a "disk" based database because
> > the disk is flash, which has a limited number of write cycles.  Even
> > with wear-leveling, I would eventually kill parts of the flash.  I
> > don't want these things dropping dead in the field after a year or
> > so...
> >
> > I was considering something like named pipes, but I'm a little
> > unclear about how Linux actually handles them.  I thought I saw a
> > mention that they are managed via temporary files within the file
> > system, and that would defeat the whole idea of not writing to disk.
> >
> > I know how to do interprocess communication in Windows, but not in
> > Linux with Gambas.
> >
> > Bruce
> >
> > Bruce Cunningham bcunning...@sportif.com
> >
>
> You can use a named pipe : you create the node on the disk once (if you
> don't want to ruin the flash). All the data exchange will be done in
> memory by the system.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> 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


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


[Gambas-user] My Web Site

2015-06-02 Thread Mike Crean
Hi all, 
For those that are interested my web site is up again 
www.creaniestoys.noip.me please be gentile with it cause it is onlyserved up on 
a raspberry pi model B+ www.raspberrypi.org a computerabout the size of an 
iphone 4 The images will be a bit slow downloading 1sttime around, be patient.
RegardsMike
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas, Rpi and Signals

2015-06-03 Thread Mike Crean
Hey Benoit, thanks for looking at my web site and yourinterest in my projects. 
The relation between Gambas and my trains is signalscontrol at Niana North this 
is all on Linux (Ubuntu) and the SCADA (automation)software is code cut using 
Gambas 3. The new Niana South control is using anold PC to interface with Niana 
North. It will be replace by a Raspberry pi 2 B+with control software created 
using Gambas 3. I have found the power controland filtering chip (IC) used in 
the Rpi’s to be very shaky at best. It seems unableto handle large voltage 
transients commonly seen on our electricity supply and seems prone to fail. 
Iwill be installing a UPS and power filter to hopefully over come this problem. 
Havea look at the signals section in the Trains menu on my web site 
www.creaniestoys.noip.me.
 
Many, many best wishes and keep up the great work withGambas.Regards Mike 
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Wireless modem

2015-06-06 Thread Mike Crean
Hi, for those thatwent to www.creaniestoys.noip.me asking why I used the the 
KY-210 433mHz wireless modems running at 19200 bps cause they are cheep 
(around$15 US) and the 433 mHz band they are on here is free to air. Theyhave a 
good range for our application. Reliable out to 100 to 130meters. It is a very 
wireless dead area where we use them. They arealso small and can be easily 
mounted on top of our signal head.
 


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


Re: [Gambas-user] Documenting a gambas project.

2015-08-17 Thread Mike Crean
Hey Richard it comes with the grey hair.
RegardsMike 


 On Monday, 17 August 2015, 18:14, richard terry  
wrote:
   

 Hi List,

I wonder if anyone has good advice/method for documenting the code 
within a gambas project to make it easy to find stuff.

Our medical records project which has been in use for a number of years 
now is really quite huge.

the Postgresql backend currently has 33 schema's with  many hundreds of 
tables, that is not so much of an issue.

However when one hasn't worked with the gambas code for a long time, 
though I've been pretty good about documenting it, I still  have to 
scratch my head sometimes to remember where stuff is

This is obviously very bad for maintenance.

Any ideas appreciated. What do others do?

Regards

Richard


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


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


Re: [Gambas-user] The interview on FLOSS

2015-09-20 Thread Mike Crean
Just a few choice ones. 


 On Sunday, 20 September 2015, 13:48, Ian Haywood  
wrote:
   

 On Sat, Sep 19, 2015 at 11:21 PM, Ru Vuott  wrote:
>>  "autodidact" *is* an English word,
>
> ..that doesn't come from english
sure, can you think of a word that does?

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


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


Re: [Gambas-user] New gb.web.form component

2015-11-18 Thread Mike Crean
Hi Benoit, take alook at 
http://www.sitepoint.com/build-your-own-ajax-web-apps/andhttp://www.htmlgoodies.com/beyond/javascript/article.php/3767776/How-to-Develop-Web-Applications-with-Ajax-Part-1.htmfor
 a look at the AJAX technologies.
Best Regards Mike 


On Thursday, 19 November 2015, 7:03, Benoît Minisini 
 wrote:
 

 Le 18/11/2015 19:14, Moviga Technologies a écrit :
>
> Have you considered using Ajax?
>

What do you mean exactly with this buzzword?

-- 
Benoît Minisini

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

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


[Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
Hello.  

I'm trying to install Gambas 3.0 on my Fedora 17 system and it won't install 
the 
Gambas3-Gb-Gui package because it doesn't like the Gambas3-Runtime version.  
How is
it possible that this condition still exists at this end of life stage of 
Fedora 17?  I would
imagine most users would develop applications with the Gui program rather than 
some
text editor.  Is there a simple solution to this problem?

Here are the messages I get from Yum:

Error: Package: gambas3-gb-gui-3.0.0-2.fc17.i686 (fedora)
   Requires: gambas3-runtime = 3.0.0-2.fc17
   Installed: gambas3-runtime-3.4.1-1.fc17.i686 (@updates)
   gambas3-runtime = 3.4.1-1.fc17
   Available: gambas3-runtime-3.0.0-2.fc17.i686 (fedora)
   gambas3-runtime = 3.0.0-2.fc17
 You could try using --skip-broken to work around the problem


Mike


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
Sorry, Benoit.  I assumed the INSTALL file included in the zip file was up to 
date.  My mistake.


From: Benoît Minisini [gam...@users.sourceforge.net]
Sent: Thursday, September 05, 2013 11:03 AM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

Le 05/09/2013 16:54, Pryor, Mike a écrit :
> I just tried to download the latest .bz2 file from your web site and there is 
> no 'configure' script.
> Are you trying to discourage people from using Gambas 3? I'm having a real 
> hard time getting
> my hands on a working version of it.  I hope it's worth all the trouble I'm 
> going through.

You have to run the "./reconf-all" script before running "./configure".

Please read the installation instructions on the web site.

--
Benoît Minisini

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
I won't bother you anymore after this.  At 61 I'm too old for this much 
frustration.
Gambas 2 seems to work fine on my system (FC17),  but I wanted see what GB3
had to offer.  I guess I'll never know.

[pryor@fedora15 gambas3-3.4.2]$ ./reconf
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory main to autoreconf
autoreconf: Entering directory `main'
autoreconf: running: aclocal -I m4 --install
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure:3907: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
configure:3908: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
configure:3909: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure:3910: error: possibly undefined macro: AC_DISABLE_STATIC
autoreconf: /usr/bin/autoconf failed with exit status: 1


From: Benoît Minisini [gam...@users.sourceforge.net]
Sent: Thursday, September 05, 2013 11:03 AM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

Le 05/09/2013 16:54, Pryor, Mike a écrit :
> I just tried to download the latest .bz2 file from your web site and there is 
> no 'configure' script.
> Are you trying to discourage people from using Gambas 3? I'm having a real 
> hard time getting
> my hands on a working version of it.  I hope it's worth all the trouble I'm 
> going through.

You have to run the "./reconf-all" script before running "./configure".

Please read the installation instructions on the web site.

--
Benoît Minisini

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
Please disregard my last message.  I ran ./reconf instead of ./reconf-all.
It may be that I'm too stupid to use Gambas.  Perhaps I should stick with TCL.



From: Pryor, Mike [mpr...@vwstores.com]
Sent: Thursday, September 05, 2013 11:25 AM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

Sorry, Benoit.  I assumed the INSTALL file included in the zip file was up to 
date.  My mistake.


From: Benoît Minisini [gam...@users.sourceforge.net]
Sent: Thursday, September 05, 2013 11:03 AM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

Le 05/09/2013 16:54, Pryor, Mike a écrit :
> I just tried to download the latest .bz2 file from your web site and there is 
> no 'configure' script.
> Are you trying to discourage people from using Gambas 3? I'm having a real 
> hard time getting
> my hands on a working version of it.  I hope it's worth all the trouble I'm 
> going through.

You have to run the "./reconf-all" script before running "./configure".

Please read the installation instructions on the web site.

--
Benoît Minisini

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
I just tried to download the latest .bz2 file from your web site and there is 
no 'configure' script.
Are you trying to discourage people from using Gambas 3? I'm having a real hard 
time getting
my hands on a working version of it.  I hope it's worth all the trouble I'm 
going through.

From: Benoît Minisini [gam...@users.sourceforge.net]
Sent: Thursday, September 05, 2013 10:05 AM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

Le 05/09/2013 15:47, Pryor, Mike a écrit :
> Hello.
>
> I'm trying to install Gambas 3.0 on my Fedora 17 system and it won't install 
> the
> Gambas3-Gb-Gui package because it doesn't like the Gambas3-Runtime version.  
> How is
> it possible that this condition still exists at this end of life stage of 
> Fedora 17?  I would
> imagine most users would develop applications with the Gui program rather 
> than some
> text editor.  Is there a simple solution to this problem?
>
> Here are the messages I get from Yum:
>
> Error: Package: gambas3-gb-gui-3.0.0-2.fc17.i686 (fedora)
> Requires: gambas3-runtime = 3.0.0-2.fc17
> Installed: gambas3-runtime-3.4.1-1.fc17.i686 (@updates)
> gambas3-runtime = 3.4.1-1.fc17
> Available: gambas3-runtime-3.0.0-2.fc17.i686 (fedora)
>     gambas3-runtime = 3.0.0-2.fc17
>   You could try using --skip-broken to work around the problem
>
>
> Mike
>

It's a pity, but I don't deal with binary packages at all. :-/

Apparently the gambas3-gb-gui package is not up to date (3.0.0 version
instead of 3.4.1).

--
Benoît Minisini

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
Thanks, Fernando.  Fedora does provide a Gambas 3 package but the gambas-gui 
package 
appears not to be updated. Oddly, it is dependent on an older version of 
gambas-runtime. It
suggests to me that few Fedora users are using Gambas 3.  Which is sad, because 
Benoit
has created a marvelous programming tool.

I have some experience with the configure, make and make install process and 
yes sometimes
it goes well and sometimes not.  I guess this is a NOT.

Mike

From: Fernando [ferna...@cmartins.nl]
Sent: Thursday, September 05, 2013 11:27 AM
To: mailing list for gambas users; mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

On Sep 5, 2013 15:54 "Pryor, Mike"  wrote:

> I just tried to download the latest .bz2 file from your web site and
> there is no 'configure' script.
> Are you trying to discourage people from using Gambas 3? I'm having a
> real hard time getting
> my hands on a working version of it. I hope it's worth all the trouble
> I'm going through.
>
>
I don't know how experienced you are with source installations but they
can be troublesome. I had myself problems with it. Luckily someone
pointed out to a pre-compiled binary package in a private repository for
ubuntu. I would suggest you to ask in a Fedora distribution mailing list
for such a package.

Regards,
Fernando
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-05 Thread Pryor, Mike
Maybe I'll give that a try.  The 'reconf-all' script failed for me, so I don't 
want
to bother Benoit anymore.  I'm sure he has more important work to do than hold
my hand. 

From: Fernando [ferna...@cmartins.nl]
Sent: Thursday, September 05, 2013 12:03 PM
To: mailing list for gambas users; mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

On Sep 5, 2013 16:37 "Pryor, Mike"  wrote:

> Thanks, Fernando. Fedora does provide a Gambas 3 package but the
> gambas-gui package
> appears not to be updated. Oddly, it is dependent on an older version
> of gambas-runtime. It
> suggests to me that few Fedora users are using Gambas 3. Which is sad,
> because Benoit
> has created a marvelous programming tool.
>
>
I don't mean the official Fedora package, rather a private rpm package
prepared by someone else.


> I have some experience with the configure, make and make install
> process and yes sometimes
> it goes well and sometimes not. I guess this is a NOT.
>
>
The main issue will be the additional packages you have to install. It's
a long list (check the web site) and for some I could not find a proper
match in the repositories. There were other issues, like the system
finding wrong packages with the same name (e.g., sql.h from wine).

Fernando
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-06 Thread Pryor, Mike
I just discovered that my PC at home has a functioning Gambas3 installed,
but the package, 'gambas3-gb-gui', is not installed.  I upgraded to FC17 
instead of doing a fresh install, so I'm wondering whether the upgrade took
care the problem with the 'gui' package.  And if this package is not installed,
which gui package is running when I run gambas3? 


From: Willy Raets [wi...@earthshipbelgium.be]
Sent: Thursday, September 05, 2013 6:43 PM
To: gambas-user@lists.sourceforge.net
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

On Thu, 2013-09-05 at 15:37 +, Pryor, Mike wrote:
> Thanks, Fernando.  Fedora does provide a Gambas 3 package but the gambas-gui 
> package
> appears not to be updated. Oddly, it is dependent on an older version of 
> gambas-runtime. It
> suggests to me that few Fedora users are using Gambas 3.  Which is sad, 
> because Benoit
> has created a marvelous programming tool.

I have a Fedora 17 box running. Installed Gambas 3.4.1 right from the
Add/Remove software without any problems. It runs fine on my system.

>
> I have some experience with the configure, make and make install process and 
> yes sometimes
> it goes well and sometimes not.  I guess this is a NOT.

Might want to check the 'How To Gambas - Installing Gambas' guide, for
some guidance.

Chapter 6, paragraph 6.3 explains Fedora install from official Fedora
repository
Chapter 8, paragraph 8.2 explains installing the source download from
Gambas website for Fedora. Dependencies explained there are still for
Gambas 3.3.4, but as far as I know they are still the same for 3.4.2

Guide can be found at:
http://howtogambas.org/index.php?page=cedi&type=misc&id=1%2F2



--
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-06 Thread Pryor, Mike
I found out that gb.gui was not installed when I tried to run 'rpm ql 
gambas3-gb.gui'.
However, there appears to be a gb.gui component in the component tab. 
Interesting
mystery here.  The tab does not indicate the version of the component.  I wonder
whether the Fedora package manager, 'spot', included the gb.gui components in
another package.


From: Willy Raets [wi...@earthshipbelgium.be]
Sent: Friday, September 06, 2013 10:40 AM
To: Pryor, Mike
Cc: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

On Fri, 2013-09-06 at 14:18 +, Pryor, Mike wrote:
> I just discovered that my PC at home has a functioning Gambas3 installed,
> but the package, 'gambas3-gb-gui', is not installed.  I upgraded to FC17
> instead of doing a fresh install, so I'm wondering whether the upgrade took
> care the problem with the 'gui' package.  And if this package is not 
> installed,
> which gui package is running when I run gambas3?

How did you notice that the package is missing?
Did you check this in the Gambas IDE?
In a Gambas project open menu Project -> Properties and go to tab
components -> see if gb.gui is there and not grayed out.

If so, gb.gui is installed on your system.

I did notice in YumExtender when searching for Gambas3 packages that
gb.gui package was in black font and version 3.0.0, all the others in
green font version 3.4.1.
This seems a bit odd to be, but then again, my Gambas 4.3.1 is working
and not complaining.

I attached some screenshots so you can compare it with your own
situation. Screenshots where taken on a Fedora 17 with LXDE desktop.


--
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

2013-09-06 Thread Pryor, Mike
Thank you. I hate unsolved mysteries. 

From: Benoît Minisini [gam...@users.sourceforge.net]
Sent: Friday, September 06, 2013 12:10 PM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Fedora 17 - Gambas3-Gb-Gui Won't Install

Le 06/09/2013 17:01, Pryor, Mike a écrit :
> I found out that gb.gui was not installed when I tried to run 'rpm ql 
> gambas3-gb.gui'.
> However, there appears to be a gb.gui component in the component tab. 
> Interesting
> mystery here.  The tab does not indicate the version of the component.  I 
> wonder
> whether the Fedora package manager, 'spot', included the gb.gui components in
> another package.
>

I know why: the gb.gui package should not exist. A mistake was made in
previous versions, and then the gb.gui package has been removed. The
gb.gui component must be packaged in the "runtime" component.

--
Benoît Minisini

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Where are the Widgets

2013-09-09 Thread Pryor, Mike
I've just started exploring Gambas 3 and I notice it doesn't display a set of 
widgets (controls) like the
buttons, labels, frames etc. What are the magic words to get this to display?  
Gambas 2 automatically
displays them when I create a new project. I'm using Fedora 17.



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 88, Issue 13

2013-09-09 Thread Pryor, Mike
I found it, thanks.  It was very well hidden.  I'll keep my eyes peeled for 
those itty bitty arrows.

From: Federico Allegretti [allegf...@gmail.com]
Sent: Monday, September 09, 2013 11:42 AM
To: gambas-user@lists.sourceforge.net
Subject: Re: [Gambas-user] Gambas-user Digest, Vol 88, Issue 13

on some distro installations gambas 3 hides some panels in the right side
of the screen  move the mouse very sloowly near the separator of
property, tools, etc and you'll notice a small pair of triangles/arrows.

click them to expand the panel :D


On Mon, Sep 9, 2013 at 4:37 PM,
wrote:

> Send Gambas-user mailing list submissions to
> gambas-user@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
> gambas-user-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
> gambas-user-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
>
>
> Today's Topics:
>
>1. Re: Gambas in background (Beno?t Minisini)
>2. Re: Gambas in background (Beno?t Minisini)
>3. Gambas in background (bill-lancaster)
>4. Re: More applications for the repository (Julio Sanchez)
>5. Re: Gambas in background (Fabien Bodard)
>6. Where are the Widgets (Pryor, Mike)
>7. Re: Gambas-user Digest, Vol 88, Issue 12 (PICCORO McKAY Lenz)
>
>
> --
>
> Message: 1
> Date: Sun, 08 Sep 2013 19:16:38 +0200
> From: Beno?t Minisini 
> Subject: Re: [Gambas-user] Gambas in background
> To: mailing list for gambas users 
> Message-ID: <522cb0f6.9040...@users.sourceforge.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Le 08/09/2013 17:53, bill-lancaster a ?crit :
> > In April 2010 I asked this question.
> >
> > Is it possible to run a Gambas programme with only a trayicon showing?
> >
> > Caveat posted an excellant example which worked for me at the time.
> >
> http://gambas.8142.n7.nabble.com/Gambas-in-background-td30383.html#a30384
> > Have just tried to re-create it and can't get it to run properly.
> >
> > The posting say "My FMain is the same FMain as I used for Rolf's
> question"
> > but I can't find what this refers to so my FMain is empty.
> >
> > When the programme is run, an icon shows beiifly in the tray and then the
> > programme quits.
> >
> > Clearly I'm missing something that I hope is obvious to others.
> >
> > Gambas 3.4.2
> > Kubuntu 13.04
> >
>
> I fixed the problem in revision #
> Now visible trayicons prevent the program from quitting.
>
> Here is a little example that works with that revision...
>
> --
> Beno?t Minisini
> -- next part --
> A non-text attachment was scrubbed...
> Name: test-trayicon-0.0.2.tar.gz
> Type: application/gzip
> Size: 4731 bytes
> Desc: not available
>
> --
>
> Message: 2
> Date: Sun, 08 Sep 2013 19:17:10 +0200
> From: Beno?t Minisini 
> Subject: Re: [Gambas-user] Gambas in background
> To: mailing list for gambas users 
> Message-ID: <522cb116.7070...@users.sourceforge.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Le 08/09/2013 19:16, Beno?t Minisini a ?crit :
> > I fixed the problem in revision #
>
> --> revision #5836
> --
> Beno?t Minisini
>
>
>
> --
>
> Message: 3
> Date: Mon, 9 Sep 2013 00:39:36 -0700 (PDT)
> From: bill-lancaster 
> Subject: [Gambas-user] Gambas in background
> To: gambas-user@lists.sourceforge.net
> Message-ID: <1378712376030-43195.p...@n7.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Thank you Benoit, but the sample programme quits immediatly still.
>
> I have only just installed G 3.4.2 so presumably it current.
>
> I've never been involved with revision numbers so am embarrassed to say
> I've
> no idea if I have revision #5836
>
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Gambas-in-background-tp43192p43195.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
>
> --
>
> Message: 4
> Date: Mon, 9 Sep 2013 10:09:34 +0200
> From: Julio Sanchez 
> Subject: Re: [Gambas-user] More applications for the repository
> To

Re: [Gambas-user] Gambas-user Digest, Vol 88, Issue 13

2013-09-09 Thread Pryor, Mike
Thanks. I'll give that a try. 

From: Federico Allegretti [allegf...@gmail.com]
Sent: Monday, September 09, 2013 11:42 AM
To: gambas-user@lists.sourceforge.net
Subject: Re: [Gambas-user] Gambas-user Digest, Vol 88, Issue 13

on some distro installations gambas 3 hides some panels in the right side
of the screen  move the mouse very sloowly near the separator of
property, tools, etc and you'll notice a small pair of triangles/arrows.

click them to expand the panel :D


On Mon, Sep 9, 2013 at 4:37 PM,
wrote:

> Send Gambas-user mailing list submissions to
> gambas-user@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> or, via email, send a message with subject or body 'help' to
> gambas-user-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
> gambas-user-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gambas-user digest..."
>
>
> Today's Topics:
>
>1. Re: Gambas in background (Beno?t Minisini)
>2. Re: Gambas in background (Beno?t Minisini)
>3. Gambas in background (bill-lancaster)
>4. Re: More applications for the repository (Julio Sanchez)
>5. Re: Gambas in background (Fabien Bodard)
>6. Where are the Widgets (Pryor, Mike)
>7. Re: Gambas-user Digest, Vol 88, Issue 12 (PICCORO McKAY Lenz)
>
>
> --
>
> Message: 1
> Date: Sun, 08 Sep 2013 19:16:38 +0200
> From: Beno?t Minisini 
> Subject: Re: [Gambas-user] Gambas in background
> To: mailing list for gambas users 
> Message-ID: <522cb0f6.9040...@users.sourceforge.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Le 08/09/2013 17:53, bill-lancaster a ?crit :
> > In April 2010 I asked this question.
> >
> > Is it possible to run a Gambas programme with only a trayicon showing?
> >
> > Caveat posted an excellant example which worked for me at the time.
> >
> http://gambas.8142.n7.nabble.com/Gambas-in-background-td30383.html#a30384
> > Have just tried to re-create it and can't get it to run properly.
> >
> > The posting say "My FMain is the same FMain as I used for Rolf's
> question"
> > but I can't find what this refers to so my FMain is empty.
> >
> > When the programme is run, an icon shows beiifly in the tray and then the
> > programme quits.
> >
> > Clearly I'm missing something that I hope is obvious to others.
> >
> > Gambas 3.4.2
> > Kubuntu 13.04
> >
>
> I fixed the problem in revision #
> Now visible trayicons prevent the program from quitting.
>
> Here is a little example that works with that revision...
>
> --
> Beno?t Minisini
> -- next part --
> A non-text attachment was scrubbed...
> Name: test-trayicon-0.0.2.tar.gz
> Type: application/gzip
> Size: 4731 bytes
> Desc: not available
>
> --
>
> Message: 2
> Date: Sun, 08 Sep 2013 19:17:10 +0200
> From: Beno?t Minisini 
> Subject: Re: [Gambas-user] Gambas in background
> To: mailing list for gambas users 
> Message-ID: <522cb116.7070...@users.sourceforge.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Le 08/09/2013 19:16, Beno?t Minisini a ?crit :
> > I fixed the problem in revision #
>
> --> revision #5836
> --
> Beno?t Minisini
>
>
>
> --
>
> Message: 3
> Date: Mon, 9 Sep 2013 00:39:36 -0700 (PDT)
> From: bill-lancaster 
> Subject: [Gambas-user] Gambas in background
> To: gambas-user@lists.sourceforge.net
> Message-ID: <1378712376030-43195.p...@n7.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Thank you Benoit, but the sample programme quits immediatly still.
>
> I have only just installed G 3.4.2 so presumably it current.
>
> I've never been involved with revision numbers so am embarrassed to say
> I've
> no idea if I have revision #5836
>
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Gambas-in-background-tp43192p43195.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
>
> --
>
> Message: 4
> Date: Mon, 9 Sep 2013 10:09:34 +0200
> From: Julio Sanchez 
> Subject: Re: [Gambas-user] More applications for the repository
> To: mailing list for gambas users 
> Message-ID:
>   

[Gambas-user] shell

2013-12-02 Thread Mike Crean
 
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
"sudo sh -c 'echo out /sys/class/gpio/gpio27/direction'"]
and get an error /bin/sh: 0: Can't open sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction' any help please. 

 I
have also tried shell "sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction'" this runs with out error and
but will not change data in the direction file. It stays at the old
value of "in". 

 If
I run it from a terminal the string works fine. 

 Thanks
in advance
Mike
--
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=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] (no subject)

2013-12-02 Thread Mike Crean
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
"sudo sh -c 'echo out /sys/class/gpio/gpio27/direction'"]
and get an error /bin/sh: 0: Can't open sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction' any help please. 

 I
have also tried shell "sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction'" this runs with out error and
but will not change data in the direction file. It stays at the old
value of "in". 

 If
I run it from a terminal the string works fine. 

 Thanks
in advance
Mike
--
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=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] shell

2013-12-03 Thread Mike Crean
Hey Ivan, thanks very much for that. I forgot all about the piping command.
 
Regards Mike
--
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=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Line continuation

2013-12-07 Thread Mike Crean

Me to. keep it same as most basic's use underscore



On Saturday, 7 December 2013 8:19 PM, Jesus  wrote:
  
El 06/12/13 22:04, ISS Boss escribió:
>
>     I agree with John, Benoît.  There really should be a specific character 
>to
>     continue a line; if only to keep from confusing anyone maintaining the
>     code.  Put it on the 'nice to have' list, anyway.
>     Bill
>     Benoît Minisini wrote, On 12/06/2013 14:37:
>
> Le 06/12/2013 20:17, John Rose a écrit :
>
> Is there a line continuation character available for code? I find that I
> often have very long lines (e.g. in Exec commands).
>
> There is no line continuation character, but you usually can go to
> another line inside an expression after a comma.
>
> Regards,


My vote is for underscore _

Regards


-- 
Jesus Guardon

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


[Gambas-user] (no subject)

2013-12-07 Thread Mike Crean
Me to. Keep it the same as most BASIC's use the underscore _ as line
extension.
 
Regards to all Mike
 
PS if you do it, have a
merry Christmas
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Serial port control

2013-12-23 Thread Mike Crean
Carl, will you be using the PC end and gambas code as the master or slave, if 
master then just use the sport read interupt function.
Remember you will have to use chr and asc if using binary data streems. The 
Gambas3 serial example is very good. If any data is in the input buffer it will 
trigger the Sport_Read sub and exit leeving the system free to carry on. Just 
use the PC as master to request data from the slave of slaves.

Private Sport As SerialPort
Const None As Integer = 0
Private RxLen As Integer
Private Rx As String

Public Sub Form_Open()
  Sport = New SerialPort As "Sport"
  Sport.PortName = "/dev/ttyACM0"    'Setup for Arduino you may have to change 
to ttyUSB0
  Sport.Speed = "57600"
  Sport.Parity = 0
  Sport.DataBits = "8" 
  Sport.StopBits = "1"
  Sport.FlowControl = 0
  Sport.Open()
End

Public Sub Sport_Read()
  
  Try Read #Sport, Rx, Lof(Sport)
  
    If Error Then 
  Goto NoRx
    Endif
    
    RxLen = InStr(Rx, Chr(13))
    LabelRxlen.Text = RxLen
    ListBox1.Add(Rx)
  
NoRx:

  Rx = ""

End

Best Regards 
Mike

Very Merry Christmas to all





On Monday, 23 December 2013 5:03 PM, nando  wrote:
 
My suggestion to reading 124 bytes from a serial stream

I use this technique mostly because I want to empty the buffer provided by the 
control
as much as possible.

I would have one function which is the _read of the serial port.
The only thing it does is accumulate bytes in an array.

I have another function which will ask for 124 bytes from the accumlating array.
If there are not enough, it can block, or return an array of zero long
which would mean not enough came in.
In this case you could also do a small time delay (ie. WAIT 0.1) 
just to prevent the CPU from running 100% testing for 124 bytes.


Both of these can be a Gambas Class and the second function is the public 
function.
You can use _new to instantiate the serial port control.
You don't need to create it at design time.

I used techniques like this and it works like a charm.
-Nando


-- Original Message ---
From: Randall Morgan 
To: mailing list for gambas users 
Sent: Sun, 22 Dec 2013 23:35:33 -0800
Subject: Re: [Gambas-user] Serial port control

> I think the RTheshold of VB simply sets the byte count that must accumulate
> in the receive buffer before a comm event is triggered. It doesn't do
> anything else. In the background VB is still polling the buffer and looking
> at the byte count. You can do this in GB but you will have to write it
> yourself. You would need to simply use the read event on the comm object to
> test the byte count. I believe it triggers at 1 byte. Then use that to
> trigger your own custom event when your 124 bytes have arrived.
> 
> You might also be able to talk Benoit into adding an RThreshold property.
> Seems like it might be handy At the very least 4Hz is very very slow
> for most computers. And setting up a 4Hz polling of the port wouldn't be
> hard at all.
> 
> On Sun, Dec 22, 2013 at 8:10 PM, Carl Nilsson  wrote:
> 
> > Thanks Randall.  I guess it's time to try it and play around a
> > little, which I can't do for a few days.  At the moment I'm trying to
> > look ahead and see where problems might lie.  When push comes to
> > shove, I don't know how these things really work!  I follow
> > recipes!  Don't really want to close the port as the data come in
> > continuously as fast as the device can send them and I don't want to
> > miss any.  (It's attitude sensor data from an inertial management
> > unit in a light aircraft).  Same in principle with another
> > "continuous" stream of binary GPS data with packets of 124 bytes
> > coming in at a slower rate of, say, 4 Hz.  How "continuous" it is
> > would depend on the baud rate at which the port is operating.  The
> > RThreashold property of MScomm handles this issue very well. Doesn't
> > trigger an event until the specified number of bytes is in the serial
> > buffer.
> > Carl
> >
> > At 02:47 PM 23/12/2013, you wrote:
> > >It has been a long while since I have used the serial component of GB but
> > I
> > >have a project starting in which I will need to re-acquaint myself with
> > it.
> > >The stream can be setup as blocking or non-blocking. The PC uses either
> > >polling or interrupt when the port is opened. So trying to manage the
> > >serial port at the same level you would in on uC is pointless in most
> > >cases. Just set up the stream and read the bytes you need from there. If
> > >you're concerned about buffer overflow then you may want to close the port
> > >once you have read the bytes you need.
> > >
> > >Perh

Re: [Gambas-user] Serial port control

2013-12-23 Thread Mike Crean
  
Hi Carl, 

 I
have a BeagleBone Black up and running with wheezy, LXDE desktop and
Gambas 3.5.9
I am able to use all most all of the available GPIO
and read the AD's using Gambas, I have not had any uarts up. I see no
problem in getting the the uarts to run using standard USB to serial
converters (Jaycar) work well with the Rpi.

I also have Rpi
series B running with the same OS & desktop as the BBB and using
Gambas 3. This is connected to an
Arduino Uno via a usb uart on
the Rpi used to control 6 signals and 7 point motors on a miniature
railway all running at 56000
baud. Using an input from the
terminal the Gambas software sends an ASCII message via the uart to
the Uno and it 
will execute the request (change points or
signals) and send back an ASCII message the request was executed.
This is not a very 
high speed system as changes may be seconds or
minutes.

I have also used Gambas to communicate with PLC's
using Modbus RTU and crc16 at 9600 baud with high volume short
interval requests over
RS485 networks and up to 20 nodes. The
secret was to use a PC, PLC or RTU as the master and use a timer to
set the pole rate from the master.

I have also as you used VB6
to implement an extensive SCADA system for small power house control.
This was a very high volume data through put and I did not find the
need to use any special data handling to free up the PC. The PC was
off doing a lot of other stuff while the
SCADA was running. I have
implemented a small test SCADA module in Gambas and see no problems
with speed compared to commercial
SCADA packages even when using
the DNP3 protocol. The through put with VB6 or Gambas seemed to be
about double compared to commercial solutions.
 I would say I have had best results using an interrupt driven serial
routine to empty the uart buffers and handle the data. VB6 using
OnComm() function and Gambas using Sport_Read() function. Variable
buffer sizes can be dealt with by checking the length of the input
string using CR as the end of line indicator (chr13) as used in most
protocols (modbus ASCII & RTU). 

 Try something like, Try Print #Sport, Tx; Chr$(13) in a timer
function or from terminal input to send data through the uart.

If needed I have the Gambas modbus test
program and a Koyo Click PLC (under $100 au PLC software is free) to test and 
see if the
code is still OK, the modbus protocol uses binary data over the comms
link.

Hope this is of some help.

Best
Regards
Mike
Merry Christmas to all.

 





On Tuesday, 24 December 2013 2:38 AM, Carl Nilsson  wrote:
 
G'day Guys (Nando, Randall and Mike):
Thanks for your helpful replies.  It's 5 am here and I woke up an 
hour ago with this matter running through my head, so your replies 
are welcome!  All good advice.  I realized that, first of all, I 
needed to get a handle on using the stream functions, which are quite 
new to me.  Secondly, as usual, there are many ways to skin a 
cat.  You are right, I need not be dependent on an RThreshold 
property.  I have been using this for years most successfully with 
MScomm in VB6.  It does exert efficient control, but sometimes my 
incoming packets vary in byte count..  So, early in the piece, I 
wrote code that would look for any remainder bytes or shortfall on 
the end of the designated input stream and put them onto the start of 
the next byte block to get back into synch.  The Windows kernel has a 
very efficient function called "MoveMemory" that can be called from 
VB6.  (I presume Linux has something similar).  It's very much faster 
than shifting bytes in Do loops.

Anyway, not being dependent on an totally accurate byte count prior 
to triggering an event suggested an alternate approach:  My principal 
data device is a decade-old  Microstrain Inertial Management Unit 
(IMU).that sends remorselessly at around 2356 bytes (sometimes plus a 
packet or two) per sec.  At the moment I'm doing all my processing on 
an old Advantech 9576F single board computer running Win 2K.  With 
about 8 serial ports in action and heaps of other processing to do, I 
wanted to ease things with some preprocessing of some data streams on 
one of these little new ARM boards like the Raspberry Pi or 
Beaglebone Black - the latter with at least 4 UARTS and running at 1 
GHz seems very attractive. They can run fully embedded under Linux 
with gambas for initial data processing.   I have an RPi now with 
gambas3 and wiring Pi installed to experiment with. Sometimes the IMU 
traffic is duplex when I change parameters in flight and additional 
data packets come back in addition to the normal data flow.  So I 
adjust the RThreshold value dynamically, but that's not vital.  All 
this adds up to the fact that another approach might be to trigger 
processing events simply with a timer - read the full stream each 
time and get the byte count approximately right.  With a "MoveMemory" 
function I can easily handle some unevenness in byte count

Re: [Gambas-user] Externs ... yet again

2014-01-27 Thread Mike Crean

 
Hey Bruce are you on the apple isle, if
so its never really hot. Try a real state if you want hot (WA) :-).

Cheers 
Mike



On Monday, 27 January 2014 2:09 PM, Bruce  wrote:
 
On Mon, 2014-01-27 at 15:48 +1030, Bruce wrote:
> 'aspell_config_replace(spell_config, "lang", "en_US");
> Extern aspell_config_replace(spell_checker As Pointer, Var As String =
> "lang", lang As String = "en_AU") In "libaspell"
> 
> Not allowed?
> 
> Syntax error. Missing ',' or ')' in ...
> 
> Sorry  for terseness , bloody hot here today
> 
> Bruce

Forget it.  Duh! Optional keyword would have been a good idea.

:-( melting

B





--
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=119420431&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
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=119420431&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: morse code sound ?

2014-02-07 Thread Mike Crean
So how about di, di, dit, dar,dar,dar




On Friday, 7 February 2014 3:53 PM, Ru Vuott  wrote:
  
"morse code  sound" a kind of bip bip ?





Ven 7/2/14, Dirk  ha scritto:

Oggetto: [Gambas-user] morse code  sound ?
A: Gambas-user@lists.sourceforge.net
Data: Venerdì 7 febbraio 2014, 04:24

Hi,


can create with gambas morse code  sound ?


...
Dirk

--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: morse code sound ?

2014-02-07 Thread Mike Crean


Correction to my last. For those that are interested
complements of Wikipedia
 
International Morse code is
composed of five elements:
1. short mark, dot or "dit" (·) — "dot duration" is one time unit long
2. longer mark, dash or "dah" (–) — three time units long
3. inter-element gap between the dots and dashes within a character — 
one dot duration or one unit long
4. short gap (between letters) — three time units long
5. medium gap (between words) — seven time units long[1]
Morse code can be transmitted in
a number of ways: originally as electrical pulses along a telegraphwire, but 
also as an audio tone, a radio signal with short and long tones, or
as a mechanical, audible or visual signal (e.g. a flashing light) using devices
like an Aldis
lampor a heliograph, a common flashlight, or even a car horn. Some
mine rescues have used pulling on a rope - a short pull for a dot and a long
pull for a dash.
Morse code is transmitted using
just two states (on and off). Historians have called it the first digitalcode. 
Strictly speaking it is not binary, as there are five fundamental
elements (see quinary).
However, this does not mean Morse code cannot be represented as a binary code.
In an abstract sense, this is the function that telegraph operators perform
when transmitting messages. Working from the above definitions and further
defining a "unit" as a bit, we can visualize any Morse code sequence as a 
combination of
the following five elements:
1. short mark, dot or "dit" (·) — 1
2. longer mark, dash or "dah" (–) — 111
3. intra-character gap (between the dots and dashes within a character) 
— 0
4. short gap (between letters) — 000
5. medium gap (between words) — 000
Note that this method assumes
that dits and dahs are always separated by dot duration gaps, and that gaps are
always separated by dits and dahs.



On Friday, 7 February 2014 4:25 PM, Mike Crean  wrote:
  
So how about di, di, dit, dar,dar,dar




On Friday, 7 February 2014 3:53 PM, Ru Vuott  wrote:
  
"morse code  sound" a kind of bip bip ?





Ven 7/2/14, Dirk  ha scritto:

Oggetto: [Gambas-user] morse code  sound ?
A: Gambas-user@lists.sourceforge.net
Data: Venerdì 7 febbraio 2014, 04:24

Hi,


can create with gambas morse code  sound ?


...
Dirk

--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
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=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Mike Crean
Hey Bruce if it is any help I have
Wheezy image with GB3 and a number of other apps. Available for
download from my web site www.bbbpishop.com in the next few days. If you would 
like to know more just use the
contact page on the site. The image was set up and runs on ARM
Cortex-A8 1gh processor as used on the Beagle Bone Black board.

Cheers Mike
On Wednesday, 21 May 2014 6:29 PM, Ian Haywood  wrote:
 


On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen
 wrote:

>> I've been trying to compile Gambas on a development board that uses the
>> Allwinner A10 SOC.  I know there is a build for the Raspberry PI, so it
>> should be doable.
I use a solidrun cubox (a tiny Israeli company making even tinier
computers), which is also based
on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much
point on ARM) but I have got webkit and the rest
of gambas running fine.

>From your logfile the punchline is

configure: WARNING: Unable to met pkg-config requirement: QtWebKit >= 4.5.0
configure: WARNING: gb.qt4.webkit is disabled

which means you don't have the right development package installed,
it's called "libwebkit-dev" on
debian-based distros, dunno about the others.

If you are on a debian-based system, try upgrading to the latest
testing and then install gambas directly
("'apt-get install gambas3"), this *should* work as there will be
pre-compiled ARM binaries for gambas in the Debian repos.

Ian


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


Re: [Gambas-user] redirecting stdout/console output to a textbox

2009-05-11 Thread Mike Keehan
Kevin,

Look up the SHELL command in the help browser - it takes parameters 
for Read|Write or Input|Output which can do what you want.

And look at the Console example program which uses the EXEC and 
captures output.

Mike.



Kevin Fishburne wrote:
> I'm using GAMBAS to control several daemons using the SHELL command, all
> of which output messages to the GAMBAS console. Is there a way to either
> grab the console output so that it can be placed in a textbox or similar
> control, or redirect it to such a control? I need the user to be able to
> see everything the daemons are doing via a form control representing an
> "activity log".
> 
> Kevin Fishburne 
> Eight Virtues 
> www:
> e-mail:
> phone: 
>  http://sales.eightvirtues.com
>  sa...@eightvirtues.com
>  (770) 853-6271 
> 
> --
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] EXEC vs. SHELL

2009-06-16 Thread Mike Keehan
Hi Rolf,

EXEC will run a single executable program.
SHELL can run a shell script, including pipes and redirection between 
two or more executables.

You could think of EXEC as the fundamental way to run another program, 
while SHELL is shorthand for EXEC /bin/bash .

Mike.


Rolf-Werner Eilert wrote:
> Could someone explain me why there are two different ways of executing 
> shell commands and how they differ in practice? I mean, when do I want 
> EXEC and when will I want SHELL? What's the idea behind them?
>
> Thanks for all hints :-)
>
> Rolf
>
>
>   



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Raspberry Pi

2012-08-02 Thread Mike Crean
Well my Rpi has turned up and it works very well with Raspbian (Debian wheezy) 
on it.
I am happy to say it performs much faster than I expected. 
I have down loaded & install Gambas3 with the Rpi.

sudo  apt-get update
sudo apt-get install gambas3
sudo gambas3

All seem to install OK and no errors. When I run GB3 the Rpi CPU usage went to 
100% and the Rpi hung.

Any one have GB3 running on Raspbian and any idea why GB3 hangs for me.

Regards to all 
Mike
--
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] Declaring external C libraries

2012-08-05 Thread Mike Crean
Hi will it be setup to install & run on Raspbian or only Squeeze ?


Mike



 From: Christer Johansson 
To: 'mailing list for gambas users'  
Sent: Sunday, 5 August 2012 6:07 PM
Subject: Re: [Gambas-user] Declaring external C libraries
 

> Does somebody have a compiled version of Gambas for the 
> Raspberry Pi? (I don't have time to compile my own...)

Jyst a FYI...

Since it's raining here today I decided to set things up so I can compile
Gambas3 3.2.1 on my Raspberry Pi.

So if everything works out OK and I figure out how to make a DEB-package
out of it I will post a link to it later...

/CJ



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


[Gambas-user] Test

2012-08-09 Thread Mike Crean
Pardon me
--
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] Pardon its a test

2012-08-09 Thread Mike Crean
Test msg
--
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] Need personal help

2012-09-28 Thread Mike Crean
Hi Fabien, this may help http://en.wikipedia.org/wiki/Registered_jack
 
regards
Mike
 


 From: Fabien Bodard 
To: gambas-user@lists.sourceforge.net 
Sent: Friday, 28 September 2012 3:12 AM
Subject: [Gambas-user] Need personal help
  
Do know the trademark of this plug rj45 ? And the maker. Cf photo

Thank you

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas 3 on RPi photo?

2012-09-28 Thread Mike Crean
Benoit, I have attached some photos of GB3 on Pi hope you
get them. If not let me know how I can send the photos to you.
GB on Pi 1 Raspbian and Gambas on Raspberry Pi.
GB on Pi 2 Gambas 3.2.1 opening screen.
GB on Pi 3 Edit screen for the Serial Port demo.
GB on Pi 4 IDE WSWYG screen for the serial Port demo.
GB on Pi 5 My Gambas I/O AD port test application.
GB on Pi 6 Rpi connected to Arduino Uno & my I/O Shield
on top with 3 outputs on.
GB on Pi 7 Rpi & Uno under my I/O shield with 1 output
on.
My I/O shield has 6 by 5 to 30VDC digital inputs, 6 by 0 to
5VDC Analog inputs & 6 open collector outputs 5 to 30VDC at 150 ma each.
I will have my web site up in a few days and let you all
know about it here.
Looks like the 7 phots I sent are to big for the mailing list.
Let me know if I can send them another way.
Regards
Mike
mike.cr...@y7mail.com
 


 From: Benoît Minisini 
To: mailing list for gambas users  
Sent: Wednesday, 26 September 2012 6:02 PM
Subject: Re: [Gambas-user] Gambas 3 on RPi photo?
  
Le 26/09/2012 12:01, wally a écrit :
>
> recent posting was too big, but i think it will reach you.
>

I got it anyway through the mailing-list administration interface. Thanks!

-- 
Benoît Minisini

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


Re: [Gambas-user] Need personal help

2012-09-28 Thread Mike Crean
Looks like an industrial RJ45 modular plug.
http://www.digikey.com/product-highlights/us/en/3m-3r108-series-industrial-rj45-modular-plug/2549
http://www.industrysearch.com.au/HARTING-RJ-Industrial-10G-Rj45-Plug-For-10gigabit-Ethernet/p/63350
http://www.automation.siemens.com/mcms/industrial-communication/en/ie/cabling-technology/fast-connect-rj45-plug/pages/fast-connect-rj45-plug.aspx
 
Regards
Mike
 


 From: Fabien Bodard 
To: gambas-user@lists.sourceforge.net 
Sent: Friday, 28 September 2012 3:12 AM
Subject: [Gambas-user] Need personal help
  
Do know the trademark of this plug rj45 ? And the maker. Cf photo

Thank you

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example

2012-12-11 Thread Mike Crean
Hi abbat81,  
Usually this indicates you are trying
to open the wrong device . Perhaps this code snip will help.
If you are connecting to an Ardunio
with USB look in /dev/ to see if ttyACM0 is there. Remember the file
names are case sensitive.

Regards
Mike

Label2.Text = " 
ttyACM0,57600,N,8,1" 
Sport = New SerialPort As "Sport"
Sport.PortName = "/dev/ttyACM0"
Sport.Speed = "57600"
Sport.Parity = 0
Sport.DataBits = "8" 
Sport.StopBits = "1"
Sport.FlowControl = 0
Try
Sport.Open()
Goto PortOpen

SkipAcm:
If Error Then
Label2.Text = " 
ttyUSB0,57600,N,8,1" 
Sport = New SerialPort As "Sport"
Sport.PortName = "/dev/ttyUSB0"
Sport.Speed = "57600"
Sport.Parity = 0
Sport.DataBits = "8" 
Sport.StopBits = "1"
Sport.FlowControl = 0 
End If
Try 
Sport.Open()
Goto PortOpen
If Error Then
Label2.Text = " 
ttyS0,57600,N,8,1"
Try Sport.PortName = "/dev/ttyS0"
Sport.Speed = "57600"
Sport.Parity = 0
Sport.DataBits = "8"
Sport.StopBits = "1"
Sport.FlowControl = 0
Sport.Open() 
If Error Then
Message(" Onboard Uart Comm
1 not found -- PROGRAM TERMINATING")
Quit
Endif 
Endif 
PortOpen:



 From: abbat81 
To: gambas-user@lists.sourceforge.net 
Sent: Monday, 10 December 2012 7:09 PM
Subject: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example
 
Hi,
I have a problems with Ubuntu 12.04 but the same example is working good in
Ubuntu 11.04.

I get next:
"Cannot open serial port (5) in FSerialPort:39."

Can you help me?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-with-Ubuntu-12-04-SerialPort-Example-tp40318.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] RaspberryPi

2012-12-20 Thread Mike Crean
Hi John,
 
I have had my Pi for a while
now and admit I have not used it much.
I downloaded the wheezy image with GB3
(3.2.1) from

http://dl.dropbox.com/u/97096067/2012-07-15-wheezy-gambas3.zip

I have just tried the download, it
works. 

When you have downloaded the image (about
30 min. @ 360kbs). You will have to unzip the file and copy the image
to an SD card. 

I would use 8GB or larger. Have had problems with 32GB
and larger. I also had problems using Ubuntu to put the image on the
SD. 

I used win32diskimager to install the image to the SD in a USB
card reader on my Windows box.

When the Pi is first booted the
configuration screen will come up. Expand Wheezy to use all the SD if
you like plenty of room to play. 

Follow the other parameters to
complete the set-up.

I find the GUI very slow and have
developed my GB3 apps on my PC and then transferred them to the PI.

You can update GB3 from the sourceforge
site. If you do this with the Pi be prepared to wait a few hours for
the download and install to complete.

Hope this is of some help.

Cheers Mike



 From: John Rose 
To: MailingList GambasUsers  
Sent: Thursday, 20 December 2012 3:02 AM
Subject: Re: [Gambas-user] RaspberryPi
 
RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian 
(based on Debian Wheezy) at:
http://www.raspberrypi.org/downloads

http://elinux.org/RPi_Easy_SD_Card_Setup
shows how to create an image on an SD Card for booting from. I used the 
ImageWriter tool described there as I prefer a GUI to the CLI.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=6182&start=50#p189319
describes how to install Gambas 3.2.1 as it needs a patch described there.

I'll try above setup & install when I get my (actually a present for my 
grandson's 11th birthday) RaspberryPi.

-- 
Regards,
John
01902 331266


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Puppy on Pi

2012-12-23 Thread Mike Crean
charlesg thanks for the tip.

If you want the pi to go fast try Puppy SAP (Squeezed Arm Puppy) from the site 
http://puppylinux.org/wikka/Puppi 

I have downloaded and installed on 4gb SD this little OS is very fast. Perhaps 
some one can compile a Gambas 3 version to install on it. 

The OS is at alpha 4 stage. I think BarryK is looking for feed back on it.

Cheers
Mike
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] To All

2012-12-24 Thread Mike Crean
A Merry Christmas to all.
Best Regards
Mike Crean
Perth W.A.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-05 Thread Mike Crean
 
Hi all,

Anyone have some simple example code
for web page creation or control with Gambas 3 gb.web

I would like to get serial data from an
Arduino and display it on a HTML web page.

Regards
Mike
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-21 Thread Mike Crean
 
Hi Benoit,

I am trying to get a Gambas 3 web
server up and running using gb.web I just do not get it at all. I
have looked at a lot of examples and threads but I just can not get a
web server page up and running. I am using Apache2 and Gambas 3.4
with gb.web enabled. The aim is to use Gambas 3 within a HTML page to
get data from a communications port (ttyACM0) and display the data as
text or other on the HTML page. Also would like to send data from a
HTML page with the push of a button or text box to a serial device
(ttyACM0). The device would be an Arduino.

Hope you can help with an example and
any changes I would have to make to files and directors  for Gambas 3
and Apache2. The OS is Ubuntu 12.04. If this is to much to ask
perhaps you can suggest someone that can help me.

Best Regards
Mike Crean
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.web

2013-02-21 Thread Mike Crean
 
Hi Jussi,

Thanks for the reply.
I have tried the example you have pointed to and can not get it to
work.
All I need to do is take data from a serial stream e.g.
Stuff = "A01 ON" and use the print statement to display
the
string A01 ON on a HTML web page. I have Apache running ok and
can display an index.html page from /var/www
when I connect to
http://localhost/
I have tried entering this code in the
index.html file, I don't get the desired result as it just displays
the text and not the 
print statement as such, it displays all
the file <% and %> etc.




Gambas3
Web Server.
<%
print Stuff
or print "A01
ON"
%>




Mike



 From: Jussi Lahtinen 
To: mailing list for gambas users  
Sent: Thursday, 21 February 2013 11:25 PM
Subject: Re: [Gambas-user] gb.web
 
Please be more specific.
Send your project and tell us what it is supposed to do and what happens
instead.
Or specifically what doesn't work.

Here is example of server page. It doesn't work?
http://gambasdoc.org/help/doc/serverpage?view

Jussi



On Thu, Feb 21, 2013 at 2:35 PM, Mike Crean  wrote:

>
> Hi Benoit,
>
> I am trying to get a Gambas 3 web
> server up and running using gb.web I just do not get it at all. I
> have looked at a lot of examples and threads but I just can not get a
> web server page up and running. I am using Apache2 and Gambas 3.4
> with gb.web enabled. The aim is to use Gambas 3 within a HTML page to
> get data from a communications port (ttyACM0) and display the data as
> text or other on the HTML page. Also would like to send data from a
> HTML page with the push of a button or text box to a serial device
> (ttyACM0). The device would be an Arduino.
>
> Hope you can help with an example and
> any changes I would have to make to files and directors  for Gambas 3
> and Apache2. The OS is Ubuntu 12.04. If this is to much to ask
> perhaps you can suggest someone that can help me.
>
> Best Regards
> Mike Crean
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] (no subject)

2013-02-22 Thread Mike Crean
Thanks Bruce,

Have tried the magic line although nothing like yours. I have now tried it and 
again no joy.
As there is no env in /bin I have tried #!/user/bin/env and #!/usr/bin/gbw3 and 
many other combinations.
I have saved the file as text named index.html from the text editor into 
/var/www. thanks for the help and any other suggestions.

Mike

#!/bin/env /usr/bin/gbw3 
Gambas3 Web Server.
< % print "A01 ON" %> 

and many other combinations

#!/user/bin/env /usr/bin/gbw3 
Gambas3 Web Server.
< % print "A01 ON" %> 
 
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-22 Thread Mike Crean
 
Hi Bruce,

 Thanks
for the suggestions, I have tried them to no avail. It would seem
there is a very full on learning curve to get this up and running.
Perhaps
there is a much simpler way using something other than Gambas.
 Again
thanks for you help Bruce. Perhaps Randall's comments about the
Apache CGI set-up has some merit. Again have read some suggestions as
to how to set-up CGI on Apache and tried many. My aim is to get this
all working on a standard deb OS install on Rpi with Gambas ?? and
Apache 2 standard out of the box installs. 


 Thanksboys I am open to any other suggestions.

Regards

Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-22 Thread Mike Crean
 
Hi Tobi,
 Thanks
for the offer I would like some help. You can get me at
mike.cr...@y7mail.com
 any
help is appreciated.
 
Regards
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gw.web

2013-02-23 Thread Mike Crean
Hi Tobi,
I have just translated the 1st 14 pages of the PDF.
If you can translate from your end and up date for
Gambas 3 that would be great.
Regards
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-23 Thread Mike Crean
Hi Randall,
 
If Tobi is on the side perhaps he can check with Hans' if it is OK to release 
my English version of
his work.
 
Regards
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-23 Thread Mike Crean
Randall, perhaps I should wait untill I have it all working then document it 
all and have it posted up
on the Gambas web site.
 
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Missing gb.qt

2008-06-09 Thread Mike Brett
Development platform = gambas 2.6.0 on Fedora 8
Target user platform = Debian etch variant (Asus eeePC, based on  XandrOS)

Because I could not find a version of 'debhelper' for Fed8, I have taken 
the route of making a gambas test application as if for Fed8, then using 
'alien' on the target platform to make the required deb file. As far as 
I can tell this seemed to go without error.

I also installed the gambas2 runtime from the etch repository
http://apt.linex.org/linex/gambas/stable/ ./
as detailed on sourceforge.

When I attempt to run my application on the target, I get
ERROR #27: cannot load component 'gb.qt': cannot find library file

Does this indicate that the runtime package I installed simply did not 
include the file, or does the problem lie in my application file please?

I did a dpkg-deb -c gambas2-runtime_2.5-1~etch1_i386.deb on the cached 
runtime file and could see no mention of the gb.qt component.

I'd much appreciate being pointed in the right direction.

Thank you.

- Mike Brett -






-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] stderr output via exec

2008-10-27 Thread Mike Keehan
Try using SHELL instead of EXEC.

Mike.


Ron wrote:
> Hi,
> 
> small question., I remember something similar in a thread some time ago, 
> but couldn't find it.
> 
> I can't catch the stderr output from the hcitool command into a string.
> 
> This doesn't work:
> EXEC ["hcitool", "rssi", sAddress, "2>&1"] TO sStrength
> 
> When I create this shell script called btgetrssi.sh :
> --
> #!/bin/sh
> hcitool rssi $1 2>&1
> --
> And execute it like so:
> EXEC ["bin/btgetrssi.sh", sAddress] TO sStrength
> All is ok, but I rather don't want to use external scripts and I don't 
> want to use a background exec, because I have to run it a few times with 
> different addresses not async...
> 
> Thanks for any pointers!
> 
> Regards,
> Ron_2nd
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with gambas..

2009-03-27 Thread Mike Keehan
Carlos Humberto Llumiquinga Hidalgo wrote:
> Hi all
> 
> I have a problem with a code on gambas..
> 
> I'm trying.. this code.. EXEC ["rm", application.Path & "/imagenes/*.*"]
> ... just I wanna erase the content of images folder.
> 
> But I got an error.. on console... rm: can't erase
> «/home/carlosh/Prueba/imagenes/*.*»: File don't exists
> 
> Help Please.. what's wrong.. 
> 

Hi Carlos,

Try using SHELL instead of EXEC.  The *.* expression gets expanded by 
the Shell not by individual programs like rm.

Mike.


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


[Gambas-user] Christmas

2016-12-24 Thread Mike Crean
Merry Christmas to all of our Gambaser's.
A cool one in Perth WA this year low 39;s for the big day/
Seasons greetings fromMike Crean
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] shell

2017-04-24 Thread Mike Crean
If I run make from the terminal in a named directory make works as expected.
Using Gambas 3.9.2 and run the command, shell "make" while in the named 
directory I get an error make: *** No targets specified and no makefile found. 
Stop The same error when I try to shell to a file containing #!/bin/sh and 
make.The file runs correctly when run from the named directory. The named 
directory permissions are set for anyone.This is on a Rpi3 running 
RaspbianAnyone have a fix for this please.
Regards Mike
--
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] shell

2017-04-26 Thread Mike Crean
Thanks Fabien I have solved the problem.
Regards Mike
 

On Tuesday, 25 April 2017, 22:58, Fabien Bodard  wrote:
 

 ???

2017-04-25 10:52 GMT+02:00 Charlie :
> Can you post the 'Shell' code you are using.
>
>
>
> -
> Check out www.gambas.one
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/shell-tp58793p58795.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> --
> 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



-- 
Fabien Bodard

--
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] Serial I/O with byte data

2017-05-08 Thread Mike Crean
Hi Alex, have a look at this code for some ideas how I have serial comms 
working.
' Gambas class file

Private Sport As SerialPort
Public Pp As Byte
Public Po As Byte
Public Rxs As String

Public Sub Form_Open()
  Me.Load
  Me.Center
End

Public Sub Button2_Click()
  Sport = New SerialPort As "Sport"
  Po = 1
  
  If TextBox3.Text = "N" Or TextBox3.Text = "n" Then
    pp = 0
  End If
  
  With Sport
    .PortName = TextBox1.Text
    .Speed = TextBox2.Text
    .Parity = Pp
    .DataBits = TextBox4.Text
    .StopBits = TextBox5.Text
    .FlowControl = Val(TextBox6.text)
  Try
    .Open()
    Label9.Text = TextBox1.Text & ":" & TextBox2.Text & "," & TextBox3.Text & 
"," & TextBox4.Text & "," & TextBox5.Text & "  OPEN"
    Label10.Background = &H00FF00&  
    If Error Then
  Message(" Port " & TextBox1.Text & " not found -- TERMINATING PROGRAM")
  Quit
    Endif
  End With

End

Public Sub Sport_Read()
  Dim Rx As String
  Read #Sport, Rx, Lof(Sport)
  Rxs = Rxs & Rx
  If Rx = Chr$(13) Then
    TextArea1.Text = TextArea1.Text & Rxs
    Rxs = ""
  End If
End

Public Sub Button1_Click()
  If Po = 0 Then
    Message("Open the PORT")
  Else
    Print #Sport, Textbox7.Text; Chr$(13)
  End If
End

Public Sub Button3_Click()
  Sport.Close
  Label10.Background = &HFF&
  Label9.Text = "CLOSED"
  Po = 0
End

Public Sub Button4_Click()
  TextArea1.Clear
End

Public Sub Button5_Click()
  EndIt()  
End

Public Sub Form_Close()
  EndIt()
End

Public Sub EndIt()
  Try
    Sport.Close
    Quit
  If Error Then
    Quit  
  Endif
End


RegardsMike
 

On Tuesday, 9 May 2017, 0:12, alexchernoff  wrote:
 

 Dear all,

I am receiving data over a serial port which is sent by a byte[].write
function (an array of bytes)

I get the SerialPort1_read() event raised where I try to read data, RxBuffer
is a string var

*Try Read #SerialPort1, RxBuffer, Lof(SerialPort1)*

as soon as I do, the whole program stops, some other timers in other modules
also stop to fire. In fact when running the program in Gambas again, it does
not execute even the startup, so have to restart the IDE. 

what am I doing wrong?

thanks!




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Serial-I-O-with-byte-data-tp58933.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
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] Serial I/O with byte data

2017-05-15 Thread Mike Crean
If you are talking about a byte the likes of that used in modbusrtu you will 
need to do some high low bit manipulation on it.
RegardsMike
 

On Monday, 15 May 2017, 13:19, Alexie  wrote:
 

 Following should work for you:

Public Sub XXX_Read()

  Dim iLen As Integer
  Dim aData As Byte[]

  iLen = Lof(Last)
  aData = New Byte[]
  aData.Resize(iLen)
  Try aData.Read(Last, 0, iLen)

End

You need to get the length (lof) first, then resize array ... only then you
can read it.

2017-05-14 21:56 GMT+02:00 Tobias Boege :

> On Sun, 14 May 2017, alexchernoff wrote:
> > Good day all,
> >
> > Anyone know how to read data received on serial port into an array of
> bytes
> > instead of string?
> >
>
> I think that's not possible.
>
> > String gets unreadable binary characters, so how can I
> > put them into byte[] or so?
> >
>
> This shouldn't be a problem. Gambas Strings are not null-terminated and can
> contain any sequence of bytes, which includes non-printable characters
> (which
> I think is what you meant by "unreadable" characters).
>
> If you insist on a Byte[], read it into a String and use
> Byte[].FromString(),
> but there is no way to go around the String, AFAICT (and that is because
> there is no need to, as Strings can handle binary data just fine).
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> 
> --
> 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


   
--
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] Serial I/O with byte data

2017-05-16 Thread Mike Crean
Hi, as I said before most likely Modbus RTU or similar protocol. If so you will 
need to do some BIT bashing and probably 
some CRC conversion. You will need to know the frame size among other things.

Public Sub HbLb()
  Dim Xz2 As Long
  Hb = Fix(DataS / 256)
  Xz2 = Fix(256 * Hb)
  Lb = DataS - Xz2
End
RegardsMike
 

On Monday, 15 May 2017, 23:29, ML  wrote:
 

 Alex,

Without knowing the protocol/device you're communicating with, I don't
think anyone will be able to give substantial help.
But, after years of interfacing very diverse hardware via RS-232 (fiscal
printers, cash-hanlding hardware, GPS, you name it!), I can tell you
that it's not always easy, and docs sometimes lack info or are plain wrong.
Unfortunately the bulk of my experience with hardware is in VB6...
Maybe you're looking at some kind of protocol wrapper bytes... Can't
really say without the detail.

On 15/05/17 08:52, alexchernoff wrote:
> Thanks, it works (both with .tostring and reading one by one...
> But I get values I don't know how to convert, e.g. where I expect a
> decimal 83 or hex 53 I get byte value of 253 ... Or instead of Decimal
> 15 I get 225 :(
> cheers!


--
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] Gambas not starting

2017-11-12 Thread Mike Crean via Gambas-user
Is your single board computer ARM or X86
RegardsMike
 

On Monday, 13 November 2017, 3:42, Christof Thalhofer  
wrote:
 

 Am 12.11.2017 um 18:12 schrieb T Lee Davidson:
> Shouldn't we be using the new Gambas mailing list at
> http://lists.gambas-basic.org/ ?

Yes :-)


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur
--
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] Gambas not starting

2017-11-12 Thread Mike Crean via Gambas-user
 Was just a thought.Unable to help. You should try trawling the web you usually 
get somegood pointers or the answer to you problem.
Mike
 

On Monday, 13 November 2017, 10:49, Mike Crean via Gambas-user 
 wrote:
 

 Is your single board computer ARM or X86
RegardsMike
 

    On Monday, 13 November 2017, 3:42, Christof Thalhofer  
wrote:
 

 Am 12.11.2017 um 18:12 schrieb T Lee Davidson:
> Shouldn't we be using the new Gambas mailing list at
> http://lists.gambas-basic.org/ ?

Yes :-)


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur
--
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


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


[Gambas-user] gb.web

2019-05-19 Thread Mike Crean via Gambas-user
Hi all, How do I copy HTML inputs to a gambas variable.
<%Dim HtmlInput As String%>
  Login      userid    
password        
<%!Arg      ''??? %>    
<%''How Do I put user and password into HtmlInput.%>
RegardsMike




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