Search found 20 matches

by RamRat
Mon May 01, 2023 12:40 pm
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Re: Using the TMDB API and the Wikipedia API




1. I think the native PureBasic SQLite
2. Save the images on a folder and use the DataBase only to store the filename


Hi, So when using Purebasic SQLite is there a
recommended way to use it or things not to do that
might cause issues, program slowdown etc...

Is there a set limit of data I ...
by RamRat
Mon May 01, 2023 11:22 am
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Re: Using the TMDB API and the Wikipedia API

Hi jassing,

So far I havn't done much, spend too much time reading how to to stuff, anyway - I am doing the following and it works, kinda, so far,
am having fun re-learning how this all works :D the little I have done Is all quite kludgy so far but that's ok _FOR NOW_ lol , Let me know where I'm ...
by RamRat
Sun Apr 30, 2023 10:12 am
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Re: Using the TMDB API and the Wikipedia API

G'day and thanks for the code HeX0R,

I will have to spend the rest of next week every day after work going through all everyones code and figure
out how it works,so far I have jassing's code up and running which let me play around and spend most of today
wrapping my head around API and JSON it ...
by RamRat
Sun Apr 30, 2023 6:16 am
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Re: Using the TMDB API and the Wikipedia API

Aha, thanks for clearing that up for me, I will add it to my growing list of stuff to get to know :!:
by RamRat
Sun Apr 30, 2023 6:05 am
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Re: Using the TMDB API and the Wikipedia API

Thankyou for the TransverseJSON Procedure, I will
spend the rest of Sunday afternoon playing around with it
and attempt to get a better understanding of how JSON
works.

The module you are working on looks very appealing but
before I utilise someone's hard work I want to get more perspective on ...
by RamRat
Sun Apr 30, 2023 5:19 am
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Re: Using the TMDB API and the Wikipedia API

Hi thanks for the quick and informative response,

I have now consigned ChatGPT to the not there yet bin.

The TMDB Procedure you gave was an excellent first
step in learning how to send a query and get a response
and I have spent the last 4 hours playing around with query's and referencing the GET ...
by RamRat
Sat Apr 29, 2023 4:52 pm
Forum: Coding Questions
Topic: Using the TMDB API and the Wikipedia API
Replies: 13
Views: 1295

Using the TMDB API and the Wikipedia API

Ok I have just spent 3 days with ChatGPT trying to learn
how write a set of simple procedures that would...

- create a database
- scan through directories adding filenames & file paths
to the database (filename is name of movie/tv series)
- using TMDB API to get all data related to each ...
by RamRat
Fri Dec 30, 2016 2:29 am
Forum: Coding Questions
Topic: [Solved] ReceiveHTTPFile fails for me
Replies: 27
Views: 8745

Re: ReceiveHTTPFile fails for me


Hi, um I tried this and couldn't get it to work :cry: any thoughts on what I'm doing wrong?


Tell more about your problem or nobody will be able to help. Any error? What is it doing?


Ah, I was a bit vague about what I wanted.... Ok I ran the above code and up pops a box "Error Not Downloaded ...
by RamRat
Fri Dec 30, 2016 2:04 am
Forum: Coding Questions
Topic: SetGadgetColor
Replies: 3
Views: 1405

Re: SetGadgetColor

Thanks! Did not realise I could throw RGB in there lol, beats my embarrassing attempt :oops:



SetGadgetColor(2, #PB_Gadget_FrontColor, $FFFFFF)
SetGadgetColor(2, #PB_Gadget_FrontColor, $EEEEEE) : Delay(10)
SetGadgetColor(2, #PB_Gadget_FrontColor, $DDDDDD) : Delay(10)
SetGadgetColor(2, #PB ...
by RamRat
Thu Dec 29, 2016 1:46 pm
Forum: Coding Questions
Topic: [Solved] ReceiveHTTPFile fails for me
Replies: 27
Views: 8745

Re: ReceiveHTTPFile fails for me

Hi Fangbeast,

try this: EnableExplicit


Procedure.i HTTPGet2Mem(URL$)

Protected.i ConnectionID, TimeOutCounter, Laenge, Pos, Received, HelpLength, Length, HeaderEndPos, HeaderFinished, Size
Protected Server$, Header$, String$, Result$, Page$, Parameter$, Host$, *Buffer, *HelpBuffer


If ...
by RamRat
Thu Dec 29, 2016 5:31 am
Forum: Coding Questions
Topic: SetGadgetColor
Replies: 3
Views: 1405

SetGadgetColor

Ok, I want the ListViewGadget to pulse when selecting an item

sooo what's the easiest way to get this to fade to black then back to white? SetGadgetColor(2, #PB_Gadget_FrontColor, $FFFFFF)

Do I chuck it in a quick loop while adjusting the colour? If so how easy is it do put this $FFFFFF in a ...
by RamRat
Thu Dec 29, 2016 2:20 am
Forum: Coding Questions
Topic: Modify ListViewGadget - can it be done
Replies: 9
Views: 2488

Re: Modify ListViewGadget - can it be done

IdeasVacuum wrote:You might find it easier to achieve with a ListIcon
What is different with ListIcon that makes it easier? oh... will ListIcon provide a smoother scroll?

Cheers!
by RamRat
Thu Dec 29, 2016 2:18 am
Forum: Coding Questions
Topic: Modify ListViewGadget - can it be done
Replies: 9
Views: 2488

Re: Modify ListViewGadget - can it be done

Hi


ContainerGadget(0,10,10,380,175,#PB_Container_BorderLess)
ListViewGadget(1, -1, -1, 402, 182)
CloseGadgetList()



Edit :Modified

Awesome! Thanks mate. works just how I want 8) !

Now... :shock: does anyone have answers/ideas for ListViewGadget questions

1. It works fine on ...
by RamRat
Wed Dec 28, 2016 4:09 pm
Forum: Coding Questions
Topic: Modify ListViewGadget - can it be done
Replies: 9
Views: 2488

Re: Modify ListViewGadget - can it be done

Ok I have sussed the no border bit after searching the forum so now just need to get rid of the scrollbar

SetWindowLongPtr_(GadgetID(2), #GWL_EXSTYLE, GetWindowLongPtr_(GadgetID(2), #GWL_EXSTYLE)&~#WS_EX_CLIENTEDGE) ; NO BORDER !!!!

Is there a similar piece of code to get rid of the scrollbar or ...
by RamRat
Wed Dec 28, 2016 1:47 pm
Forum: Coding Questions
Topic: Modify ListViewGadget - can it be done
Replies: 9
Views: 2488

Modify ListViewGadget - can it be done

Hi,

Is there any way to have a ListViewGadget only show the Items and no scrollbar or border etc. or do I have to write my own?

I want this so I just see a list of items floating on screen that looks clean and simple, will be using my Surface Pro to flick
the list up/down or select item.

Cheers!