Search found 1508 matches

by BruceSteers
Sunday 17th March 2024 1:02pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 456

Re: Using CsvFile.Fields

Your welcome. Note: there was a bug in the fixed file i uploaded because i gave it a different name. Commands like CsvFileFix.Open() returned a CsvFile object not a CsvFileFix object because i did not replace all the "CsvFile" text in the class to be "CsvFileFix" So i re-uploaded...
by BruceSteers
Sunday 17th March 2024 11:40am
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 456

Re: Using CsvFile.Fields

That fix went straight into stable 3.19.1 so it's fixed now for latest master and stable But... If you may need your program to work on older gambas versions than 3.19.1 then do not use CsvFile.class from gb.util but place the CsvFileFix.class i uploaded into your programs source folder (rename it i...
by BruceSteers
Saturday 16th March 2024 2:59pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 456

Re: Using CsvFile.Fields

Never mind testing the fix Ben has already accepted it so just download latest commit once the gitlab-ci has compiled it all.
by BruceSteers
Saturday 16th March 2024 2:54pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 456

Re: Using CsvFile.Fields

It's definitely a bug. I just submitted a fix. https://gitlab.com/gambas/gambas/-/merge_requests/338 the code was this... For iInd = 0 To $aField.Max If Not $bKeepNames Then sField = Trim($aField[iInd]) sField = Replace(sField, String.Chr(160), " ") sField = Replace(sField, "\n",...
by BruceSteers
Saturday 16th March 2024 2:06pm
Forum: General
Topic: Web Cookies
Replies: 4
Views: 254

Re: Web Cookies

Here's a different version that may work better in other locations as i'm not sure how important the properties of the post args are. This version does in code what i originally did, it uses HttpClient.Download to fetch the url and then extracts the link from the page... Public Sub Form_Open() Me.H ...
by BruceSteers
Saturday 16th March 2024 1:49pm
Forum: General
Topic: Web Cookies
Replies: 4
Views: 254

Re: Web Cookies

Ps. you can see my house from there ;) lol
by BruceSteers
Saturday 16th March 2024 1:35pm
Forum: General
Topic: Web Cookies
Replies: 4
Views: 254

Re: Web Cookies

hmm can't figure that one out m8, cookies seem to remain null. But i figured out a bypass. I tried to download the url using HttpClient.Download() then the text i got was a page saying "Page moved to <url>" and clicking that url showed the page without the cookie request. With this URL... ...
by BruceSteers
Saturday 16th March 2024 10:53am
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 456

Re: Using CsvFile.Fields

Thanks, but at the risk of sounding dumb I can't figure out what format KeepNames takes. If I say myCSVfile.KeepNames=True then myCSVfile.Fields just returns #0 What am I missing, here? No idea, i've never used CsvFile according to doc it's just a simple boolean switch. Property KeepNames As Boolea...
by BruceSteers
Thursday 14th March 2024 1:48am
Forum: General
Topic: Make Gambas Start with QT5
Replies: 4
Views: 261

Re: Make Gambas Start with QT5

do you mean menubar ?

Ctrl-Alt-M

(note: Left Alt, not AltGr)