Search found 1113 matches

by cogier
Thursday 25th March 2021 4:16pm
Forum: General
Topic: Using HTTP calls in Gambas 3.15
Replies: 1
Views: 2373

Re: Using HTTP calls in Gambas 3.15

I'm not sure if this will help but if you have a look on the Gambas Farm at the programs NASA_APOD and Your Location . These programs get information from the net using APIs. Looking at your code I think you need to build the URL to include the PS_USER and PS_PASS and catch the data returned. You wi...
by cogier
Sunday 21st March 2021 4:02pm
Forum: Project showcase
Topic: Colour Classifier
Replies: 5
Views: 5727

Re: Colour Classifier

I found this to be interesting. Your list of colours was relatively small, so I went and found this site https://www.w3schools.com/colors/ . I had to copy the colours from the web pages and manipulate things to create a CSV file that would do the job. The CSV has 2148 named colours with Decimal, Hex...
by cogier
Sunday 21st March 2021 3:39pm
Forum: Component
Topic: Component to preview files in a directory
Replies: 22
Views: 16220

Re: Component to preview files in a directory

Steve pointed me to the ExifTool , but I could not get the -JpgFromRaw to work. I did get the -PreviewImage to work. Have a look at the attached code with the following provisos:- 1/. You need to have the exiftool installed. 2/. My camera is a Canon 6D Mark II and the raw format is CR2 , so this is ...
by cogier
Wednesday 17th March 2021 2:52pm
Forum: Component
Topic: MapView - Layer with street and town names
Replies: 18
Views: 13486

Re: MapView - Layer with street and town names

I have set up my laptop with German as the main language and have tried various code changes to stop this problem, but there is always a knock on effect. I think I will leave it as it is for now.
by cogier
Tuesday 16th March 2021 5:56pm
Forum: General
Topic: [SOLVED] information about a variable - or - blind man urgently seeks ophthalmologist or optician
Replies: 9
Views: 5730

Re: blind man urgently seeks ophthalmologist or optician

Run the following code in a new "Graphical" application. I think this is what you are looking for. ValueBox1 As ValueBox TextArea1 As TextArea Public Sub _new() Setup ValueBox1_Change() End Public Sub ValueBox1_Change() Dim oObj As Object = ValueBox1 Dim sType As String[] = ["NULL&quo...
by cogier
Tuesday 16th March 2021 4:40pm
Forum: Component
Topic: MapView - Layer with street and town names
Replies: 18
Views: 13486

Re: MapView - Layer with street and town names

So why NULL? In Germany Val("37,58") is equal to 37,58 (which is correct) I didn't think of that. Can you try adding the 'New' code below, and let me know if that works for you in your German setup. If it does it should work for other languages as well. sLatArray = Split(sLat, " &quo...
by cogier
Tuesday 16th March 2021 2:35pm
Forum: Component
Topic: MapView - Layer with street and town names
Replies: 18
Views: 13486

Re: MapView - Layer with street and town names

Thanks for the reply and the picture, but I could not recreate the error. Expensive camera!!

Image
by cogier
Monday 15th March 2021 4:25pm
Forum: Component
Topic: MapView - Layer with street and town names
Replies: 18
Views: 13486

Re: MapView - Layer with street and town names

@cogier: I'll have close look into the PhotoExif program tomorrow. After a first quick run through it looks 'wow' but throws an error when clicked and changed to another directory. It is very interesting how the exif information gets extracted. My app is much simpler and just focused on GPS and the...
by cogier
Sunday 14th March 2021 4:51pm
Forum: General
Topic: DATA statements - possible in Gambas ?
Replies: 9
Views: 5803

Re: DATA statements - possible in Gambas ?

I had a look at this and I find that you can do this. The attached program has a dictionary of 25105 words all stored in a string in a Module.

WARNING: - This slows the IDE down a lot when accessing the Module

Image
InternalData-0.0.1.tar.gz
(91.41 KiB) Downloaded 291 times
by cogier
Sunday 14th March 2021 3:22pm
Forum: Component
Topic: MapView - Layer with street and town names
Replies: 18
Views: 13486

Re: MapView - Layer with street and town names

You might like to look at 'PhotoEXIF' that I wrote. It is on the Gambas Farm. This manipulates the URL to get what I wanted. You want more! I notice that the URLs change depending on what feature you request. I have not worked out what all the codes in the URL do, but you can see the changes. Try th...