Search found 1105 matches

by cogier
Saturday 16th March 2024 2:16pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 214

Re: Using CsvFile.Fields

I think there may be a bug here, as I get the same #0 that you did. But just for fun, here is my workaround.
CSVTest-0.0.1.tar.gz
(8.54 KiB) Downloaded 12 times
by cogier
Saturday 16th March 2024 1:43pm
Forum: General
Topic: Web Cookies
Replies: 4
Views: 100

Re: Web Cookies

Thanks, Bruce. I'll check it out.
by cogier
Saturday 16th March 2024 12:08pm
Forum: General
Topic: Web Cookies
Replies: 4
Views: 100

Web Cookies

Does anybody know how to deal with web cookies. If I navigate to Google Maps and select 'Accept All' button, how do I prevent having to do this every time the program runs? I have attached a little program that will stop after you click the 'Accept All' button and the screen has finished displaying ...
by cogier
Tuesday 12th March 2024 12:43pm
Forum: General
Topic: [Sloved] Programmly send Button Name
Replies: 3
Views: 182

Re: Programmly send Button Name

There is not enough detail in your code. It would be better if you could post some code we can run. This is how I would make 64 buttons in a grid all with the same named Group so that a single routine will handle any key pressed. HBox1 As HBox hButton As Button Public Sub Form_Open() BuildForm End P...
by cogier
Monday 11th March 2024 4:33pm
Forum: Beginners
Topic: Aligning Buttons on form picture
Replies: 4
Views: 209

Re: Aligning Buttons on form picture

I have to agree with Bruce here. There might be another way to look at this. If you put your image in a PictureBox a Mouse_Down event can be checked to establish if a click was made in a particular location. See program attached.
PauseFinish-0.0.1.tar.gz
(805.59 KiB) Downloaded 23 times
by cogier
Saturday 9th March 2024 2:47pm
Forum: General
Topic: First test project in Gambas
Replies: 3
Views: 192

Re: First test project in Gambas

I'm not an expert with Like either, but I think this will do what you want. Public Sub Button1_Click() Dim i As Integer Dim ErrorString As String Dim PatMatch As Boolean = True For i = 1 To Len(TextBox2.Text) If InStr("abcdefghijklmnopqrstuvwxyz0123456789,.- /", LCase(Mid(TextBox2.text, i,...
by cogier
Saturday 2nd March 2024 11:28am
Forum: General
Topic: errore gambas 3 raspberry 5
Replies: 3
Views: 178

Re: errore gambas 3 raspberry 5

What exactly does the error say? Is this the IDE that fails to launch or a program? If it's the IDE try running it from a Terminal and report back the error message. It's difficult to offer help without more detail. Welcome to the Forum. :D
by cogier
Friday 1st March 2024 2:22pm
Forum: General
Topic: Colour picker issue.
Replies: 8
Views: 609

Re: Colour picker issue.

Thanks for that. We will see what happens...
by cogier
Thursday 29th February 2024 10:48am
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

Re: USB PoS Printer advise

If I used the driver I loose all control Over the printer and I will not get any status about the cash drawer etc from the printer. I found this command online tail -f /var/log/syslog . If you run the command in Terminal, then change the cash draw status, you may be able to see it as it happens. (P...
by cogier
Wednesday 28th February 2024 4:46pm
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

Re: USB PoS Printer advise

From what I can see, there is a Linux Printer driver for your printer. Why not install that and just send a page to the printer or as I do with a Zebra Printer, create a PDF file and send that to the printer?