Hello,
It is what I do to access to Mysql database.I use it for a client and it works fine. I write an exemple with pure basic and spider in this post : https://www.purebasic.fr/french/viewtop ... 43#p218443
Search found 27 matches
- Wed Feb 05, 2025 3:02 pm
- Forum: Coding Questions
- Topic: open a database
- Replies: 22
- Views: 70819
- Sat Oct 21, 2023 3:48 pm
- Forum: Coding Questions
- Topic: How to delete file
- Replies: 3
- Views: 24680
How to delete file
Hello,
I create a file in #PB_LocalStorage to test a record of a sqlite database. I don't find how to delete this file. The Purebasic command DELETE FILE don't exit in Spiderbasic.
*DatabaseBuffer = ExportDatabaseMemory(0)
If CreateFile(0, FichierBase, @CreateFileCallback(), #PB_LocalStorage ...
I create a file in #PB_LocalStorage to test a record of a sqlite database. I don't find how to delete this file. The Purebasic command DELETE FILE don't exit in Spiderbasic.
*DatabaseBuffer = ExportDatabaseMemory(0)
If CreateFile(0, FichierBase, @CreateFileCallback(), #PB_LocalStorage ...
- Sun Jul 16, 2023 6:43 am
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 19057
Re: Fullscreen Apple
Hello Peter
It It s what I do habitually, I don't Know why I forget this time, perhaps it is a mistake with the use of the automatique translate function alf the browser.
It It s what I do habitually, I don't Know why I forget this time, perhaps it is a mistake with the use of the automatique translate function alf the browser.
- Fri Jul 14, 2023 9:00 am
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 19057
Re: Fullscreen Apple
Bonjour,
J'ai testé la fonction fullscreen su IPAD. Elle ne fonctionne qu'avec un callback. Ensuite , j'ai eu de pb de resize des objets avec la taille de l"écran dispo. En pis, il y a un gros bouton pour fermer dans le coin.Je ne suis pas convaincu. Je garde ma solution manifest qui ne pose pas de ...
J'ai testé la fonction fullscreen su IPAD. Elle ne fonctionne qu'avec un callback. Ensuite , j'ai eu de pb de resize des objets avec la taille de l"écran dispo. En pis, il y a un gros bouton pour fermer dans le coin.Je ne suis pas convaincu. Je garde ma solution manifest qui ne pose pas de ...
- Sun Jul 09, 2023 10:48 am
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 19057
Re: Fullscreen Apple
I was on spider basic 2.4 so fullscreen() don't exist, that's why I was asking myself a lot of questions. now with the 2.5 release, I am able to test this function.
- Sat Jul 08, 2023 8:47 pm
- Forum: Coding Questions
- Topic: Identify client
- Replies: 0
- Views: 15134
Identify client
Hello
Do yo know how to find information on the user/client. I want a security on my app and identify my own phone. I found a solution with sqlite, but I think it it possible to read the IP or other param to identify the client.
Thank.
Do yo know how to find information on the user/client. I want a security on my app and identify my own phone. I found a solution with sqlite, but I think it it possible to read the IP or other param to identify the client.
Thank.
- Sat Jul 08, 2023 6:51 pm
- Forum: Coding Questions
- Topic: Speedup ListIconGadget AddgadgetItem
- Replies: 1
- Views: 5848
Re: Speedup ListIconGadget AddgadgetItem
It is what I do, and it is enough fast for me.
- Sat Jul 08, 2023 6:48 pm
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 19057
Re: Fullscreen Apple
When you speak about fullscreen, it is the javascript command. Found this exemple in javascript and It work fine on Mac safari and iPad. So I think it is possible to use with spider
https://usefulangle.com/post/12/javascr ... en-is-rare
https://usefulangle.com/post/12/javascr ... en-is-rare
- Fri Jul 07, 2023 9:04 pm
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 19057
Re: Fullscreen Apple
I think it is a problem with iPad/safari. I found lot of information on this subject
Try with webkitRequestFullscreen
.../...
If you're using Safari with iOS 12.1+ on an iPad, the fullscreen api has been enabled but hidden behind the "webkit" prefix (webkitRequestFullscreen, webkitExitFullscreen ...
Try with webkitRequestFullscreen
.../...
If you're using Safari with iOS 12.1+ on an iPad, the fullscreen api has been enabled but hidden behind the "webkit" prefix (webkitRequestFullscreen, webkitExitFullscreen ...
- Fri Jul 07, 2023 3:57 pm
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 19057
Re: Fullscreen Apple
Now, the best if to find how install the app automatically with a button for a standard user.