Search found 53 matches

by stevedee
Sunday 25th February 2018 10:10am
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 11
Views: 91

Re: Send command "string" over tcp/ip

jornmo wrote:
Sunday 25th February 2018 8:17am
...Its the javascript on this site that takes care of the syntax highlighting...
Thanks Jornmo, don't waste any time on it, I was just curious. I couldn't see any non-printing characters or anything unusual that might cause it within the text block.
by stevedee
Friday 23rd February 2018 10:34am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 810

Re: Raspberry Pi camera module

...how to detect there is text printed at the box or not... I think any solution will be relatively complicated, and if this was a real industrial conveyor system, you would need a proper rugged transducer/reader, rather than a RaspiCam. But as an academic exercise, you would need to use some form ...
by stevedee
Friday 23rd February 2018 9:16am
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 11
Views: 91

Re: Send command "string" over tcp/ip

Hey Jornmo, any idea why the "If" in the first instance of "End If" in my post above is coloured pink not blue?
EndIf.png
EndIf.png (10.25 KiB) Viewed 37 times
I'm sure it has to be something obvious.
by stevedee
Thursday 22nd February 2018 12:14pm
Forum: General
Topic: Send command "string" over tcp/ip
Replies: 11
Views: 91

Re: Send command "string" over tcp/ip

I created a form with one button, my purpose is to send string over tcp/ip... You probably need to start again by creating a Gambas project including the gb.Net component. Then you can add a Button and a Socket to the Form. Rename the Socket: ClientSocket Use properties to set IP address and Port:-...
by stevedee
Tuesday 06th February 2018 8:58am
Forum: General
Topic: Advanced HMI conversion to gambas
Replies: 2
Views: 47

Re: Advanced HMI conversion to gambas

Is it your aim to create an HMI/SCADA interface using Gambas? There are several open source projects that you may be interested in, including:- - http://openopc.sourceforge.net/ - http://oscada.org/main/ - https://domotiga.nl/projects/domotiga/wiki/DomotiGa_Screenshots (which also supports MODBUS & ...
by stevedee
Friday 02nd February 2018 8:32am
Forum: Lounge
Topic: so silent
Replies: 6
Views: 80

Re: so silent

...It's so silent. I'm worry this forum will be sleep forever. :( So, are you working on any Gambas related projects at the moment Sony? I'm currently working on my Bat Call Logger which uses a very simple Gambas program, but there is nothing very unusual or interesting in this code. This forum doe...
by stevedee
Monday 15th January 2018 10:05am
Forum: General
Topic: 'Ends'
Replies: 2
Views: 65

Re: 'Ends'

That's great cogier! an interesting example.

I played around with it for a while, and then I sort of 'drifted off', creating this one liner using Last.Name.
HiBye.png
HiBye.png (14.98 KiB) Viewed 62 times
by stevedee
Tuesday 09th January 2018 3:12pm
Forum: General
Topic: Gridview borders
Replies: 6
Views: 151

Re: Gridview borders

OK try this:- Public Sub Form_Open() Dim hBorder As Border hBorder = New Border 'specify cell border With hBorder .Width = 5 .Color = Color.Red .BottomStyle = Border.Raised .BottomColor = Color.DarkBlue .TopColor = Color.Green End With GridView1.Columns.Count = 3 GridView1.Rows.Count = 4 GridView1.H...
by stevedee
Tuesday 09th January 2018 2:24pm
Forum: General
Topic: Gridview borders
Replies: 6
Views: 151

Re: Gridview borders

Its certainly not a complete answer, and I've just looked at it again and found that using a Static Function:- GridView1[1, 1].Border = Border("style:double;color:Red") ...works just as well. Also, if you type:- GridView1[1, 1].Border. ...you are offered a list of possible Properties. So it looks li...
by stevedee
Tuesday 09th January 2018 10:46am
Forum: General
Topic: Gridview borders
Replies: 6
Views: 151

Re: Gridview borders

Hi cogier, this is one of those cases where I find Gambas documentation pretty useless. However, I discovered that this format seems to work; GridView1[1, 1].Border = New Border("style:double;color:Red") Unless something is obvious to beginners (& me), there needs to be a working example + a plain E...