Search found 1150 matches
- Sun Apr 21, 2024 11:51 am
- Forum: Coding Questions
- Topic: Speed up loop
- Replies: 13
- Views: 590
Re: Speed up loop
Nice.... on my PC from 1000ms to 25ms, with the same picture of course
- Sat Apr 13, 2024 4:35 pm
- Forum: Coding Questions
- Topic: Converting PB 4.41 Program to PB 6
- Replies: 6
- Views: 505
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
You dont need API calls anymore for doing this... ReceiveHTTPFile(), ReceiveHTTPMemory() ! Look at the Help - HTTP Lib
- Sat Apr 13, 2024 4:32 pm
- Forum: Coding Questions
- Topic: Deletefile() not working?
- Replies: 4
- Views: 322
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...
- Sat Apr 13, 2024 12:07 pm
- Forum: Coding Questions
- Topic: Deletefile() not working?
- Replies: 4
- Views: 322
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'...
- Sat Apr 06, 2024 10:53 am
- Forum: Bugs - Windows
- Topic: InsertJSONList() Crashed on bigger Lists
- Replies: 5
- Views: 271
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...
- Sat Apr 06, 2024 4:54 am
- Forum: Bugs - Windows
- Topic: InsertJSONList() Crashed on bigger Lists
- Replies: 5
- Views: 271
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...
- Sun Mar 31, 2024 6:52 pm
- Forum: Coding Questions
- Topic: WINDOWS issue : How do you include icons into the exe ?
- Replies: 12
- Views: 599
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...
- 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: 232
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...
- 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
- Thu Feb 08, 2024 8:03 am
- Forum: Feature Requests and Wishlists
- Topic: GetListPositionStackSize(MyList())
- Replies: 4
- Views: 315
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
- Tue Feb 06, 2024 7:48 am
- Forum: The PureBasic Editor
- Topic: Tool - Can triggers be combined ?
- Replies: 6
- Views: 565
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...
- Mon Feb 05, 2024 8:20 am
- Forum: The PureBasic Editor
- Topic: Tool - Can triggers be combined ?
- Replies: 6
- Views: 565
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...
- Thu Jan 25, 2024 7:22 am
- Forum: General Discussion
- Topic: Windows defender's false positives - again
- Replies: 7
- Views: 747
- Wed Jan 10, 2024 7:50 am
- Forum: Feature Requests and Wishlists
- Topic: PureBasic Librarian
- Replies: 27
- Views: 2716
Re: PureBasic Librarian
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
- Mon Dec 18, 2023 8:00 am
- Forum: General Discussion
- Topic: Test: Chat GPT created BigInt Library for PB
- Replies: 5
- Views: 773