Search found 1149 matches

by Bisonte
Sat Apr 13, 2024 4:35 pm
Forum: Coding Questions
Topic: Converting PB 4.41 Program to PB 6
Replies: 6
Views: 500

Re: Converting PB 4.41 Program to PB 6

@ CDXbow:

You dont need API calls anymore for doing this... ReceiveHTTPFile(), ReceiveHTTPMemory() ! Look at the Help - HTTP Lib ;)
by Bisonte
Sat Apr 13, 2024 4:32 pm
Forum: Coding Questions
Topic: Deletefile() not working?
Replies: 4
Views: 320

Re: Deletefile() not working?

@Bisonte: I knew that OpenDatabase() was not enough but never thought to get the schemas to be 100% sure. Thank you both for your replies!! Table Of Contents 1. Introduction Every SQLite database contains a single "schema table" that stores the schema for that database. So it is bullet pr...
by Bisonte
Sat Apr 13, 2024 12:07 pm
Forum: Coding Questions
Topic: Deletefile() not working?
Replies: 4
Views: 320

Re: Deletefile() not working?

the problem is your IsDB Proc. You not release the databasefile.... only if it is a database... Correction here : Procedure.i IsDB(File$) If OpenDatabase(#db2, File$, "", "", #PB_Database_SQLite) If CheckDatabaseQuery(#db2, "select value FROM Settings WHERE Var = 'CheckDays'...
by Bisonte
Sat Apr 06, 2024 10:53 am
Forum: Bugs - Windows
Topic: InsertJSONList() Crashed on bigger Lists
Replies: 5
Views: 261

Re: InsertJSONList() Crashed on bigger Lists

Thanks for the workaround, that will help to export databasetables. But is this a bug in the x86 Version ? Because it is in all PB6 x86 versions .... ( I dont tested the versions <6) Edit : The Workaround is not working with datas. I tried to make a new list with only a map column.s() and it's the s...
by Bisonte
Sat Apr 06, 2024 4:54 am
Forum: Bugs - Windows
Topic: InsertJSONList() Crashed on bigger Lists
Replies: 5
Views: 261

InsertJSONList() Crashed on bigger Lists

Windows 10 x64 - PB 6.xx x86 ! InsertJSONList() crashed if the list gets bigger. In my following example, an IMA occurs directly at Max = 200,000 .... at 100,000 not yet. It doesn't matter whether you use ASM or C-Backend. With x64 the whole thing is no problem, it rushes through without an error me...
by Bisonte
Sun Mar 31, 2024 6:52 pm
Forum: Coding Questions
Topic: WINDOWS issue : How do you include icons into the exe ?
Replies: 12
Views: 594

Re: WINDOWS issue : How do you include icons into the exe ?

I know how to include data in a compiled program using IncludeBinary() and CatchImage() but that does not make the icon visible so that you can assign specific icons to specific filetypes. I think that can only be done using a resource script . I would be grateful if someone could provide a complet...
by Bisonte
Thu Mar 07, 2024 9:32 pm
Forum: Feature Requests and Wishlists
Topic: Map read-only or no-create-on-search states
Replies: 5
Views: 228

Re: Map read-only or no-create-on-search states

Its a question of the correct order .... NewMap xTest.s() If FindMapElement(xTest(),"foo") If xTest() = "bar" Debug "bar found" Else Debug "foo found!" EndIf EndIf In your code above, "Debug MapSize(xTest())" will show 1.... a new element was created...
by Bisonte
Thu Feb 22, 2024 8:40 am
Forum: Coding Questions
Topic: Vertically center string gadget
Replies: 5
Views: 186

Re: Vertically center string gadget

here in this post from Shardik are some links : https://www.purebasic.fr/english/viewto ... 51#p537851
by Bisonte
Thu Feb 08, 2024 8:03 am
Forum: Feature Requests and Wishlists
Topic: GetListPositionStackSize(MyList())
Replies: 4
Views: 314

Re: GetListPositionStackSize(MyList())

Interesting ! I always thought it was only possible with one element at a time.... But it seems not. NewList a() For i = 1 To 10 AddElement(a()) : a() = i Next i ForEach a() If a() > 2 And a() < 6 PushListPosition(a()) EndIf Next For i = 1 To 3 PopListPosition(a()) Debug a() Next i
by Bisonte
Tue Feb 06, 2024 7:48 am
Forum: The PureBasic Editor
Topic: Tool - Can triggers be combined ?
Replies: 6
Views: 475

Re: Tool - Can triggers be combined ?

I mean... You create a "server application". The program is started and waits... and only the parameters are evaluated when it is called again. eg. : tool.exe -newsource, tool.exe -fileactive etc. Helpful would be : https://www.purebasic.fr/english/viewtopic.php?f=40&t=58302 Sorry, but...
by Bisonte
Mon Feb 05, 2024 8:20 am
Forum: The PureBasic Editor
Topic: Tool - Can triggers be combined ?
Replies: 6
Views: 475

Re: Tool - Can triggers be combined ?

i do exactly this so that text blocks are inserted for me by allowing only one instance (by the programm) and analysing the start parameters. The first call starts the program, if it is not already started, and all further calls only give "commands" to the program. When the IDE is terminat...
by Bisonte
Thu Jan 25, 2024 7:22 am
Forum: General Discussion
Topic: Windows defender's false positives - again
Replies: 7
Views: 739

Re: Windows defender's false positives - again

Cyllceaux wrote: Tue Jan 23, 2024 5:57 pm ... this AV don't Block... ... and write a mimimi-mail to our admins...
:mrgreen: Made my day :mrgreen:
by Bisonte
Wed Jan 10, 2024 7:50 am
Forum: Feature Requests and Wishlists
Topic: PureBasic Librarian
Replies: 27
Views: 2558

Re: PureBasic Librarian

moricode wrote: Wed Jan 10, 2024 4:45 am ... How do you code this userlibrary ? see the list of library in the folder
In the past, we could use Tailbite for this.
Some "gurus" wrote them in ASM or C...

I would also like to have the possibility to create user libraries again... Simple and native... This is one of my dreams ;)
by Bisonte
Mon Dec 18, 2023 8:00 am
Forum: General Discussion
Topic: Test: Chat GPT created BigInt Library for PB
Replies: 5
Views: 772

Re: Test: Chat GPT created BigInt Library for PB

infratec wrote: Sat Dec 16, 2023 6:41 pm Why ask ChatGPT :?: :?: :?:

Ask in Coding Questions :!:

You will get correct working code. :mrgreen: :mrgreen: :mrgreen:
Right...

Our CI (crowd intelligence) is better than every AI :mrgreen: :mrgreen: :mrgreen:
by Bisonte
Mon Nov 13, 2023 10:18 am
Forum: Mac OSX
Topic: Whisky and MacOS Sonoma
Replies: 10
Views: 3555

Re: Whisky and MacOS Sonoma

jamirokwai wrote: Mon Nov 13, 2023 7:29 am .... Gaming on the Mac .....
AAAAAhhhhh : https://www.youtube.com/watch?v=IYv3-HfRNcA :mrgreen: :mrgreen: