Search found 28 matches
- Monday 31st January 2022 8:45pm
- Forum: General
- Topic: Barcode scanner
- Replies: 6
- Views: 5712
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 ...
- Thursday 20th January 2022 12:52am
- Forum: Project showcase
- Topic: Snippet: CopyProgress
- Replies: 0
- Views: 15807
Snippet: CopyProgress
I needed to copy large files to a Samba server and wanted a visual indication of the progress. You will need ‘rsync’ installed if you don’t have it. (or just change to something else in the class and update the parsing) You will need a ProgressBar and a TextLabel also if used as is. It's not as smoo...
- Tuesday 18th January 2022 7:35pm
- Forum: Project showcase
- Topic: NOAA GOES Viewer
- Replies: 0
- Views: 15376
NOAA GOES Viewer
This downloads satellite imagery provided by NOAA and displays it in a loop for the contiguous US. I use it for tracking hurricanes as I live way out in the country and don’t get TV stations. I decided to make a version in Gambas so I could use it with Ubuntu and thought I’d leave a copy here. I wou...
- Tuesday 4th January 2022 2:03am
- Forum: General
- Topic: Downloading .JPG from web
- Replies: 4
- Views: 2708
Re: Downloading .JPG from web
If you look at this page... https://cdn.star.nesdis.noaa.gov/GOES16/ABI/SECTOR/se/05/ you'll see the file does not exist Okay, Bruce, now I feel stupid :o I swear I could get it to display in my browser when testing this. I know these do expire after a certain time so I should have cleared my brows...
- Tuesday 4th January 2022 1:49am
- Forum: General
- Topic: Downloading .JPG from web
- Replies: 4
- Views: 2708
Re: Downloading .JPG from web
...if you want to try "wget" with Gambas: Public Sub Main() ' It will download the image file to the "/tmp" folder. ' The Process of the "wget" command, launched by the "Shell" instruction, will be opened for "Read" to obtain the messages sent by th...
- Monday 3rd January 2022 10:31pm
- Forum: General
- Topic: Downloading .JPG from web
- Replies: 4
- Views: 2708
Downloading .JPG from web
I'm trying to download files / images from the web. I test them first in my browser to make sure they are accessible. I can get some to work with no problems, but there is one that's kick'n me down the road. This text file works fine: File.save(ImageFilePath &/ "test.txt", HttpClient.D...
- Sunday 26th December 2021 6:20pm
- Forum: Project showcase
- Topic: ColorInfo
- Replies: 4
- Views: 3278
Re: ColorInfo
Handy things to know.. When experimenting with layouts you can right click an object then select "Place into container" then right click the new container and select "Change into" to make it what you need. Oh, now that's handy info! I had figured out the first part of that but c...
- Sunday 26th December 2021 3:45pm
- Forum: Project showcase
- Topic: ColorInfo
- Replies: 4
- Views: 3278
Re: ColorInfo
Thanks Cogier, that’s a nice present for the holidays. I have to say that I still struggle with the expanding forms a bit. I basically see how you are doing it when I look at your examples but when I’m doing it on my own I have difficulties starting with the proper foundation or fully grasping the n...
- Wednesday 22nd December 2021 8:14pm
- Forum: Project showcase
- Topic: ColorInfo
- Replies: 4
- Views: 3278
ColorInfo
A simple utility for getting the color attributes of a pixel from a palette, fractal or desktop. Also, an attempt at auto-scroll with desktop image selected. Color attributes are displayed in real time mouse movements within a copy-able text area with the color displayed in a tag-along small picture...
- Wednesday 22nd December 2021 3:35am
- Forum: General
- Topic: Clipboard / Gambas IDE question - ASCIIFrame
- Replies: 6
- Views: 3194
Re: Clipboard / Gambas IDE question - ASCIIFrame
i pasted this in gambas after pressing copy button... '' ╔════════════════════════════════════════════════════════════════════╗ '' ║ My Naming Conventions for Controls ║ '' ║ ║ '' ║ My Naming Conventions for Variables ║ '' ║ ║ '' ╚════════════════════════════════════════════════════════════════════...