Search found 42 matches

by goomoo
Sat Jul 08, 2023 6:16 am
Forum: Tricks 'n' Tips
Topic: SplitterGadget - PanelGadet Demons
Replies: 0
Views: 435

SplitterGadget - PanelGadet Demons

SplitterGadget - PanelGadet Demons


;
; ------------------------------------------------------------
;
; PureBasic - Gadget example file
;
; (c) Fantaisie Software
;
; ------------------------------------------------------------
;
; goomoo added PanelGadget. 2023.07.08


#WindowWidth = 640 ...
by goomoo
Tue May 30, 2023 12:33 pm
Forum: Coding Questions
Topic: Chinese characters are garbled in the MySQL database
Replies: 7
Views: 1032

Re: Chinese characters are garbled in the MySQL database

On Linux, this refers to Unbuntu , download:

https://mariadb.com/downloads/connectors/

Image

The installation is ready.
by goomoo
Tue May 30, 2023 4:50 am
Forum: Coding Questions
Topic: Chinese characters are garbled in the MySQL database
Replies: 7
Views: 1032

Re: Chinese characters are garbled in the MySQL database

The original purebasic system built-in library problem, purebasic 6.0 version of MySQL built-in library is too old, converted into HeidiSQL built-in library Chinese can be displayed.

Library download:
https://www.znb.cc/_files/libmariadb.zip

help.chm UseMySQLDatabase() Remarks


MySQL and ...
by goomoo
Mon May 29, 2023 1:08 pm
Forum: Coding Questions
Topic: Chinese characters are garbled in the MySQL database
Replies: 7
Views: 1032

Re: Chinese characters are garbled in the MySQL database

Can you convert a string to a snippet of code?

UTF-16 to UCS-16




I can only test it with copy and paste of the characters on my NAS MySQL server with a dummy database table.
Here the input and output is the same

Which version of PB and which database driver is used.

Also, I don't know if the ...
by goomoo
Mon May 29, 2023 1:00 pm
Forum: Coding Questions
Topic: Chinese characters are garbled in the MySQL database
Replies: 7
Views: 1032

Re: Chinese characters are garbled in the MySQL database

PureBasic 6.00 LTS (Windows - x64)
Feel the ..Pure.. Power

MySQL 5.7.2


https://www.znb.cc/_files/bbs_images/MySQL_Chinse_garbled_001.png



-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`uuid_user ...
by goomoo
Mon May 29, 2023 10:43 am
Forum: Coding Questions
Topic: Chinese characters are garbled in the MySQL database
Replies: 7
Views: 1032

Chinese characters are garbled in the MySQL database

When I wrote MySQL from Purebasic, all the Chinese characters were garbled. Here's the snippet:



XIncludeFile "MySQL_const.pbi"

Structure znb_user
uuid_user.s{38} ;文本型。user 全球唯一编号。
organization_UUID.s{38} ;文本型。organization 全球唯一编号。
sUsername.s{50} ;文本型。用户名。
sTrueName.s{50} ;文本型。真名 ...
by goomoo
Thu Jan 08, 2015 4:46 am
Forum: PureFORM & JaPBe
Topic: PureRESIZE library : gadget automatic resizing and more
Replies: 160
Views: 193620

Re: PureRESIZE library : gadget automatic resizing and more

Website blocked
Blocking reason: Malware
Download-Link: http://gnozal.ucoz.com/PureLVSORT_510.zip
Antivirus-Result: Malware.QVM17.Gen

the plugins cannot be downloaded. :(
by goomoo
Thu Jan 08, 2015 4:28 am
Forum: Coding Questions
Topic: Pure_Resize download links are not available
Replies: 0
Views: 1311

Pure_Resize download links are not available

Pure_Resize download links are not available, who would like share a link to me ? thanks a lot.

I need its version compatiable PureBasic 5.x ....

:D
by goomoo
Wed Dec 07, 2005 9:02 am
Forum: Tricks 'n' Tips
Topic: Capturing Audio [COMPLETE SOURCE]
Replies: 67
Views: 58797

WoW!! Excellent!! :D
by goomoo
Mon Dec 05, 2005 10:50 am
Forum: Coding Questions
Topic: How to create a thread in anothor process without dll?
Replies: 2
Views: 1175

How to create a thread in anothor process without dll?

How to create a thread in anothor process without dll?

Tanks a lot.
by goomoo
Tue Jun 07, 2005 8:28 am
Forum: Coding Questions
Topic: Why these codes get different results?
Replies: 3
Views: 1350

Why these codes get different results?

Hello,everyone.

Why these two Debug statements get different results?
Thanks.

Code: Select all

a.b=255
Debug Hex(a)
Debug Hex(255)
by goomoo
Fri Apr 29, 2005 11:46 am
Forum: Coding Questions
Topic: run a program and get his handle to embedded in my window
Replies: 27
Views: 6696

you can get other app's window handle by it's caption string.
by goomoo
Fri Apr 29, 2005 6:40 am
Forum: Coding Questions
Topic: run a program and get his handle to embedded in my window
Replies: 27
Views: 6696


RunProgram("notepad.exe")
hWndNotepad=FindWindow_("Notepad",#Null)
While hWndNotepad=0
Delay(100)
hWndNotepad=FindWindow_("Notepad",#Null)
Wend

hwndMain=OpenWindow(1,0,0,640,480,#PB_Window_ScreenCentered|#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget,"Containt ...
by goomoo
Mon Apr 25, 2005 1:31 pm
Forum: Coding Questions
Topic: Why EMF file not be displayed?
Replies: 2
Views: 1344

I got it, thank you ,El_Choni !! :D :D
by goomoo
Mon Apr 25, 2005 9:02 am
Forum: Coding Questions
Topic: Why EMF file not be displayed?
Replies: 2
Views: 1344

Why EMF file not be displayed?

hello,all!

I'm now reading <Programming Windows> by Charles Petzold and have converted the code snippet about Ehanced Metafile to pb format ,but it doesn't workd, why?

thanks!!


hwnd.l=OpenWindow(0,0,0,640,480,#PB_Window_ScreenCentered|#PB_Window_SizeGadget|#PB_Window_SystemMenu,"emf test ...