Search found 639 matches

by captain_skank
Mon Jul 07, 2025 8:57 am
Forum: Announcement
Topic: PBWebcam - cross-platform camera access!
Replies: 15
Views: 3666

Re: PBWebcam - cross-platform camera access!

Thanks very much JHPJHP, just goes to show it's who you know not what you know :)

Works perfectly now.
by captain_skank
Thu Jul 03, 2025 10:52 am
Forum: Announcement
Topic: PBWebcam - cross-platform camera access!
Replies: 15
Views: 3666

Re: PBWebcam - cross-platform camera access!

Hi,

Just came across your code as i need to capture a webcam image.

Downloaded all required code, but every time i run the demo i get :

'Could not examine webcams, or none found!'

It's odd becasue i can see the live images from my 2 webcams using the built in windows 11 camera app.

Anybody got ...
by captain_skank
Mon Nov 18, 2024 10:48 am
Forum: Coding Questions
Topic: Error creating gadget
Replies: 2
Views: 553

Re: Error creating gadget

Hi,

You can use :

UseGadgetList(WindowID(GetActiveWindow()))

in your event loop to fix it.

not sure if that helps explain it though

Cheers
by captain_skank
Fri Feb 23, 2024 12:01 pm
Forum: Coding Questions
Topic: New webgadget hyperlink returns #blocked
Replies: 1
Views: 629

Re: New webgadget hyperlink returns #blocked

After a bit more reading up i think it's because it's a malformed link E.G not a regular web page like "https://www.google.com"

This poses a problem in that previoulsy i could put any old information in the link, then parse it and act on it E.G the id of the record selecteed and then open up a new ...
by captain_skank
Thu Feb 22, 2024 10:48 pm
Forum: Coding Questions
Topic: New webgadget hyperlink returns #blocked
Replies: 1
Views: 629

New webgadget hyperlink returns #blocked

Hi,

So i use the webgadget for displaying some table data and I've always used hyperlinks to open windows to display more info on specific items in the table.

Since playing around with the recent betas and using the #PB_Web_Edge flag the hyperlinks return about:blank#blocked whereas they used to ...
by captain_skank
Tue Feb 20, 2024 5:17 pm
Forum: Coding Questions
Topic: ODBC connections and DatabaseColumnType()
Replies: 4
Views: 1077

Re: ODBC connections and DatabaseColumnType()

oops - ignore that. :oops:

But no doesn't work for any of them.

I'm doing some more experimentation at the moment and i think it's the version of the ODBC driver - if I upgrade to the newest it works fine, but in this particular use case i have to use an older 32bit version which this doesn't ...
by captain_skank
Tue Feb 20, 2024 5:13 pm
Forum: Coding Questions
Topic: ListIcon - load more data on scroll
Replies: 5
Views: 820

[SOLVED] Re: ListIcon - load more data on scroll

Thanks Spikey,

Gave me an excellent start and works like a charm

cheers
by captain_skank
Tue Feb 20, 2024 4:32 pm
Forum: Coding Questions
Topic: ODBC connections and DatabaseColumnType()
Replies: 4
Views: 1077

Re: ODBC connections and DatabaseColumnType()


; Execute a SQL query
If DatabaseQuery(0, PVAR_sql)

column_count.i = DatabaseColumns(0)

; get the column names and update the CSV
For loop_count = 0 To column_count

Debug DatabaseColumnName(0, loop_count)

Select DatabaseColumnType(0, loop_count) ;
Case #PB_Database_Long ; Numeric ...
by captain_skank
Tue Feb 20, 2024 12:33 pm
Forum: Coding Questions
Topic: ODBC connections and DatabaseColumnType()
Replies: 4
Views: 1077

ODBC connections and DatabaseColumnType()

Morning all,

Not sure if this is a bug or known behaviour :

On the latest beta DatabaseColumnType() returns 0 when using ODBC as a connection type.

I will test it using older versions but wondered if anyone else has seen this before.

Cheers
by captain_skank
Fri Feb 16, 2024 1:05 pm
Forum: Coding Questions
Topic: ListIcon - load more data on scroll
Replies: 5
Views: 820

Re: ListIcon - load more data on scroll

Hi spikey,

So normaly i retrieve a limited record set using the LIMIT and OFFSET paramters in the underlying SQL query, I then have First, Previous Next and Last page navigation buttons to move through all the data in the recordest.

I only use this for large recorsets though.

However in my ...
by captain_skank
Fri Feb 16, 2024 12:10 pm
Forum: Coding Questions
Topic: ListIcon - load more data on scroll
Replies: 5
Views: 820

ListIcon - load more data on scroll

Hi,

Has anyone got or can point to an example of dynamicaly loading data into a listicongadget when scrolling up or down ?

I can't use pagination in this particular usage case but want to speed up load times from the database.

Any help appreciated

Cheers
by captain_skank
Mon Jan 08, 2024 9:54 am
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 36771

Re: PB.Ex Mail (Windows)

RSBasic wrote: Thu Jan 04, 2024 2:44 pm Hello captain_skank

HTML code is used by default. I.e. if you want to insert line breaks: <br>
Sorry for the delay in replying, works like a charm.

Thanks muchly.
by captain_skank
Thu Jan 04, 2024 12:10 pm
Forum: Applications - Feedback and Discussion
Topic: PB.Ex Mail (Windows)
Replies: 50
Views: 36771

Re: PB.Ex Mail (Windows)

Hi and a Happy 2024,

Going to sound like a silly question, but when using :

Result = SendMailEx(ID, Subject$, Body$, Priority, From$, ToAddress$, CC$, BCC$, Attachments$, @ErrorOutput$)

How do format the text for the Body$ ?

I thought using #crlf$ would insert linebreaks but it doesn't.

Any ...
by captain_skank
Tue Mar 21, 2023 11:25 am
Forum: Coding Questions
Topic: On screen angle calculation
Replies: 4
Views: 987

Re: On screen angle calculation

I can, but i'm up to my eyes in an equipment audit at the mo, so may be a few days + i want to tidy up and add a few other things before i post it.

N.B : In the end i found it easier to plot and calculate using a right angled triangle
by captain_skank
Wed Mar 15, 2023 12:21 pm
Forum: Coding Questions
Topic: On screen angle calculation
Replies: 4
Views: 987

Re: On screen angle calculation

Thanks very much stargate - works like a charm.