Search found 41 matches

by gbWilly
Wednesday 30th March 2022 4:56pm
Forum: Component
Topic: barcode scanner component
Replies: 4
Views: 683

Re: barcode scanner component

Hi, I run into this same problem a while ago. First of all, forget SerialPort, it is way more simple (as Cogier already stated). The USB barcode scanner acts as keyboard input. Make a form with a TextBox (let's call it tbxBarCode) and a Label (let's call it lblScannedBarCode) Next apply following co...
by gbWilly
Tuesday 01st February 2022 1:05pm
Forum: General
Topic: Barcode scanner
Replies: 5
Views: 1096

Re: Barcode scanner

I used to just monitor a TextBox for keyboard entry, something like this: Private Sub txbBarCodeInput_KeyPress() If Chr(13) Then ' This is the last non-text character from BCreader ' Put Code here EndIf End Sub This is just from memory but hopefully will give you an idea to work from. Make sure the...
by gbWilly
Tuesday 01st February 2022 1:03pm
Forum: General
Topic: Barcode scanner
Replies: 5
Views: 1096

Re: Barcode scanner

Hi gbWilly, long time no hear! I have written barcode reading programs, but I have always used a USB reader, which is seen by the computer as a keyboard. Once the gun has read the code, it sends the text to the keyboard with a newline on the end. Hi Cogier, I am using a USB reader and reading your ...
by gbWilly
Monday 31st January 2022 4:09pm
Forum: General
Topic: Barcode scanner
Replies: 5
Views: 1096

Barcode scanner

Hi you all, I'm currently trying to figure out how to make an application to scan barcodes. I have a USB barcode scanner to scan the barcodes. I have been searching this forum and other places (like wiki) to figure out how to get this done but nothing was really helpful. I presume I need to use Seri...
by gbWilly
Thursday 08th July 2021 2:20pm
Forum: General
Topic: Email with smtp a pdf
Replies: 6
Views: 2457

Re: Email with smtp a pdf

I had a look at this and discovered (thanks to gbWilly) that you need to load the PDF file, and then it works as expected. Try the following:-
That's a very old post of mine ;)
by gbWilly
Tuesday 08th December 2020 2:42pm
Forum: General
Topic: A Gambas Newbie questions
Replies: 16
Views: 8158

Re: A Gambas Newbie questions

Hi AndieGamble Also I have a custom wrote DLL that handles the tills promotions (written in VB.net) I did not write this I paid someone to do that for me can I still use it with Gambas? DLL or Dynamic Link Libraries are a Windows thing and will not run on linux. Also, all the code would probably be ...
by gbWilly
Tuesday 29th September 2020 12:17pm
Forum: General
Topic: unable to create working installation rpm
Replies: 4
Views: 3267

Re: unable to create working installation rpm

Hi sadams54,

Apparently the package util-linux-2.35.1-1.fc32.x86_64 already contains a file/binary named 'rename'.
That's what causes your conflict as your package is also named 'rename'

I suggest you name your package differently and try again.
by gbWilly
Thursday 16th January 2020 1:21pm
Forum: General
Topic: update screwed everything up
Replies: 3
Views: 3920

Re: update screwed everything up

Hi, Gambas has Private and Public variables. - Private can be used within the Class - Public can be used in and outside a Class Global variables is a term that comes from Visual Basic. And seeing many of us used to program in Visual Basic it is still often used by former Visual Basic developers when...
by gbWilly
Monday 13th January 2020 5:34pm
Forum: General
Topic: update screwed everything up
Replies: 3
Views: 3920

Re: update screwed everything up

Hi, 1. You mention Global variables!!! Gambas doesn't have Global variables, so what exactly do you mean? 2. Did your default font type for your OS maybe change? As far as I am aware gb.Report2 has a certain order of checking what font type to use. An other font type might make fonts bigger or small...
by gbWilly
Thursday 09th January 2020 6:05pm
Forum: Lounge
Topic: Packaging Gambas for Debian
Replies: 7
Views: 7696

Re: Packaging Gambas for Debian

Hi sholzy, When you manage to package Gambas you might wanna setup your own repo to install from there. Have a look at https://wiki.debian.org/DebianRepository/SetupWithReprepro As a said before, I did this whole process once for Gambas 3.6.2 and setup a repo in an intranet at work to install all th...