I'm testing RemoveJSONElement and RemoveJSONMember not work for my, what remove "lineup" object?
Define json_text$ = "[{"+Chr(34)+"example"+Chr(34)+":"+Chr(34)+"1"+Chr(34)+","+Chr(34)+"lineup"+Chr(34)+":{"+Chr(34)+"element"+Chr(34)+":"+Chr(34)+"element1"+Chr(34)+"}}]"
ParseJSON(0, json_text$)
If ...
Search found 23 matches
- Tue Jun 25, 2019 7:16 pm
- Forum: Coding Questions
- Topic: [JSON] How to remove object
- Replies: 1
- Views: 989
- Thu Apr 19, 2018 7:41 pm
- Forum: Coding Questions
- Topic: lzma unix vs lzma pb
- Replies: 2
- Views: 1168
lzma unix vs lzma pb
Difference in LZMA return used in PB for LZMA Unix ...
How to leave identical?
UseLZMAPacker()
Procedure main()
Protected test$ = "teste teste teste teste teste teste teste teste teste"
Protected size = StringByteLength(test$)
Protected *Output = AllocateMemory(size)
Protected compress_size ...
How to leave identical?
UseLZMAPacker()
Procedure main()
Protected test$ = "teste teste teste teste teste teste teste teste teste"
Protected size = StringByteLength(test$)
Protected *Output = AllocateMemory(size)
Protected compress_size ...
- Fri Mar 09, 2018 7:45 pm
- Forum: Feature Requests and Wishlists
- Topic: MariaDB
- Replies: 12
- Views: 6946
Re: MariaDB
+1
i'm use this lib for mysql / mariadb connect
http://www.purebasic.fr/english/viewtop ... 12&t=56390
i'm use this lib for mysql / mariadb connect
http://www.purebasic.fr/english/viewtop ... 12&t=56390
- Fri Mar 09, 2018 7:41 pm
- Forum: Feature Requests and Wishlists
- Topic: PB 6.0 - ideas
- Replies: 82
- Views: 40949
Re: PB 6.0 - ideas
+1chi wrote:I'd really like to see a HTML5-/WebGL-compatible Webgadget() so we can run things like three.js
- Wed Feb 21, 2018 9:05 pm
- Forum: Coding Questions
- Topic: Charset #PB_Web_HtmlCode
- Replies: 3
- Views: 1354
Re: Charset #PB_Web_HtmlCode
Or without the meta tag :
Procedure teste()
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Protected web_gadget = WebGadget(#PB_Any, 10, 10, 580, 280, #Null$)
Protected html_code$ = "<!DOCTYPE html> "+
"<html lang='en'> "+
"<head ...
Procedure teste()
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Protected web_gadget = WebGadget(#PB_Any, 10, 10, 580, 280, #Null$)
Protected html_code$ = "<!DOCTYPE html> "+
"<html lang='en'> "+
"<head ...
- Wed Feb 21, 2018 8:35 pm
- Forum: Coding Questions
- Topic: Charset #PB_Web_HtmlCode
- Replies: 3
- Views: 1354
Charset #PB_Web_HtmlCode
Not display characters Ã É Í
Code:
Procedure teste()
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Protected web_gadget = WebGadget(#PB_Any, 10, 10, 580, 280, #Null$)
Protected html_code$ = "<!DOCTYPE html> "+
"<html lang='en'> "+
"<head ...
Code:
Procedure teste()
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
Protected web_gadget = WebGadget(#PB_Any, 10, 10, 580, 280, #Null$)
Protected html_code$ = "<!DOCTYPE html> "+
"<html lang='en'> "+
"<head ...
- Mon Jan 15, 2018 3:54 pm
- Forum: Coding Questions
- Topic: Difference in IE version
- Replies: 6
- Views: 2636
Re: Difference in IE version
wayne-c wrote:Including this line in the HTML helped me a lot when working with the WebGadget:Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">
Help without doubts but does not solve the problem yet the difference in redenrization
- Mon Jan 15, 2018 3:53 pm
- Forum: Coding Questions
- Topic: Difference in IE version
- Replies: 6
- Views: 2636
Re: Difference in IE version
There is a registry setting you could try:
;===== Registry: temp setting to optimise web gadget ==================================================================================================================================================================================
Global sglpValueName.s ...
;===== Registry: temp setting to optimise web gadget ==================================================================================================================================================================================
Global sglpValueName.s ...
- Thu Jan 11, 2018 7:10 pm
- Forum: Coding Questions
- Topic: Difference in IE version
- Replies: 6
- Views: 2636
Difference in IE version
My clients are using internet explorer in different versions this causes many errors in the codes, can not standardize the version used in the webgadget? Include in exe the component of my computer?
Sorry for the english google translator mode.
Sorry for the english google translator mode.
- Mon Sep 05, 2016 1:32 pm
- Forum: PureFORM & JaPBe
- Topic: PureLPRINT library : LPRINT functions (direct LPT access)
- Replies: 42
- Views: 79383
Re: PureLPRINT library : LPRINT functions (direct LPT access
IdeasVacuum wrote:I had no idea that there was a default font - probably the default system font?
Have you seen this: LPRINT_plus http://forum.purebasic.com/english/view ... 12&t=61920
It is not the default font, tested, plus I'm using this API to change font.
Sorry my bad English translator.
- Fri Sep 02, 2016 2:53 pm
- Forum: PureFORM & JaPBe
- Topic: PureLPRINT library : LPRINT functions (direct LPT access)
- Replies: 42
- Views: 79383
Re: PureLPRINT library : LPRINT functions (direct LPT access
Hi Paradox, PureLPRINT is compatible with PB4.60. So, you could write the part of your app that needs direct LPT access in PB4.60 as a seperate exe, then run that from your main app via RunProgram(). Or depending on your requirements, you could write the whole app in PB4.60.
Hi IdeasVacuum, my ...
Hi IdeasVacuum, my ...
- Wed Aug 31, 2016 8:04 pm
- Forum: PureFORM & JaPBe
- Topic: PureLPRINT library : LPRINT functions (direct LPT access)
- Replies: 42
- Views: 79383
Re: PureLPRINT library : LPRINT functions (direct LPT access
RSBasic wrote:http://www.rsbasic.de/backups/"PureLPRINT_500.zip"
I don't know if it works with PB 5.50.
Not work in PB (5.43)
- Wed Aug 31, 2016 6:37 pm
- Forum: PureFORM & JaPBe
- Topic: PureLPRINT library : LPRINT functions (direct LPT access)
- Replies: 42
- Views: 79383
Re: PureLPRINT library : LPRINT functions (direct LPT access
New upload for purebasic 5.X?
- Thu Jul 07, 2016 7:41 pm
- Forum: Coding Questions
- Topic: UnuseModule cases
- Replies: 2
- Views: 1130
UnuseModule cases
Code: Select all
Procedure example()
UseModule MTest
If o
UnuseModule MTest
ProcedureReturn
EndIf
UnuseModule MTest
EndProcedure
Procedure example()
UseModule MTest
If o
ProcedureReturn
EndIf
UnuseModule MTest
EndProcedure
- Fri Apr 01, 2016 7:47 pm
- Forum: Coding Questions
- Topic: Tree item data error
- Replies: 1
- Views: 797
Tree item data error
SetGadgetItemData this not working in TreeGadget.
If OpenWindow(0, 0, 0, 180, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TreeGadget(1, 10, 10, 160, 160, #PB_Tree_CheckBoxes)
AddGadgetItem(1,1,"teste 1")
SetGadgetItemData(1,1,10)
Debug GetGadgetItemData(1,1 ...
If OpenWindow(0, 0, 0, 180, 180, "TreeGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TreeGadget(1, 10, 10, 160, 160, #PB_Tree_CheckBoxes)
AddGadgetItem(1,1,"teste 1")
SetGadgetItemData(1,1,10)
Debug GetGadgetItemData(1,1 ...