Search found 65 matches

by XCoder
Sat Jul 29, 2023 7:02 pm
Forum: Coding Questions
Topic: Reading SQLITE records into a RTF control
Replies: 2
Views: 319

Re: Reading SQLITE records into a RTF control

Thanks for your suggestion Axolotl. Following your suggestion I have tried the four possible combinations of 1's and 0's for my return values but these have had no effect. I looked at "How to use streams" at https://learn.microsoft.com/en-us/windows/win32/controls/use-streams and realised ...
by XCoder
Sat Jul 29, 2023 11:03 am
Forum: Coding Questions
Topic: Reading SQLITE records into a RTF control
Replies: 2
Views: 319

Reading SQLITE records into a RTF control

I am trying to read a record from a sqlite database into a rich text editor control. Here is the relevant part of the code I am using: Procedure DBStreamOpenFileCallback(hFile, pbBuff, cb, *pcb) Protected *pbRecordData = #Null, dwRecordSize.i=0, DataBaseContents$="" Protected dwRead = 0; /...
by XCoder
Thu Apr 13, 2023 2:05 pm
Forum: Coding Questions
Topic: SQLilte issue when creating a database
Replies: 8
Views: 452

Re: SQLilte issue when creating a database

Btw. why not: UseSQLiteDatabase("D:\!Updates\Programming\PB\DLL experiments\sqlite3.dll") Then you don't need to do that lib stuff. Or is there a complete new function inside? The PB SQLite library does not provide all the functionality available in the latest version of the sqlite3.dll f...
by XCoder
Wed Apr 12, 2023 5:55 pm
Forum: Coding Questions
Topic: SQLilte issue when creating a database
Replies: 8
Views: 452

Re: SQLilte issue when creating a database

@ mk-soft

Thanks, that has solved my problem.
by XCoder
Wed Apr 12, 2023 5:00 pm
Forum: Coding Questions
Topic: SQLilte issue when creating a database
Replies: 8
Views: 452

SQLilte issue when creating a database

I wrote the following code to directly access the latest sqlite3.dll library to create a database: DatabaseFile$ = "Temp.db" sqlite3_dbHandle = 0 Lib = OpenLibrary(#PB_Any, "D:\!Updates\Programming\PB\DLL experiments\sqlite3.dll") psqlite3_open = GetFunction(Lib, "sqlite3_op...
by XCoder
Tue Apr 05, 2022 10:30 am
Forum: Tricks 'n' Tips
Topic: Windows 10 OCR and Face detection
Replies: 42
Views: 13697

Re: Windows 10 OCR and Face detection

I have updated the code in my earlier post for OCRing text on the screen so that it works correctly with x64 versions of Windows. The updated code may be downloaded by clicking the download link in my original post.
by XCoder
Tue Apr 05, 2022 10:21 am
Forum: Tricks 'n' Tips
Topic: SpellCheck lib/include (32bit and 64bit) - hunspell wrapper
Replies: 23
Views: 11296

Re: SpellCheck lib/include (32bit and 64bit) - hunspell wrapper

Thanks for pointing out the bug. I have updated the code for the spelling checker and put the link to the updated code in my original post at https://www.purebasic.fr/english/viewto ... 92#p582792
by XCoder
Tue Apr 05, 2022 10:17 am
Forum: Tricks 'n' Tips
Topic: Spelling checker for a rich text editor
Replies: 1
Views: 1717

Re: Spelling checker for a rich text editor

I have updated the advanced version of the spelling checker so that it works correctly with the x64 version of Windows (click the link in the first post to download it).
by XCoder
Fri Mar 11, 2022 12:20 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

Thanks, AZJIO
by XCoder
Thu Mar 10, 2022 6:09 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

Thanks, AZJIO

Unfortunately there is still an issue with pressing F1 to get help information in the PB IDE.

I suspect this may be a bug with the PB IDE. Hopefully Fred will be looking into it as mentioned in a previous post in this thread.
by XCoder
Wed Mar 09, 2022 7:38 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

@AZJIO: CustomUDFs_TOC.hhc does not contain the name of the second file: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <HTML> <HEAD> <meta name="GENERATOR" content="Notepad++ & AutoIt ^_^"> <!-- Sitemap 1.0 --> </HEAD><BODY> <OBJECT type="text/site properties&...
by XCoder
Wed Mar 09, 2022 6:14 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

@AZJIO: Thanks for a fast reply. I hadn't used the "generating an index based on Black.au3" file nor did I tick the box "Rebuild the syntax. block (yellow)". I tried again following the instructions in your last post but only the topic "DoesFileExist" is shown in the ch...
by XCoder
Wed Mar 09, 2022 5:33 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

@AZJIO: Thanks for the translation. I decided to add another help topic to the help file as follows, but it did not work. I added the following text file to the folder ..\DynamicSRC\txtUserFunctions\: ###User Defined Function### IsMouseInGadget ###Description### Determines whether the mouse cursor i...
by XCoder
Wed Mar 09, 2022 1:31 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

@AZJIO XCoder You can try this help compiler from AutoIt3 , there is a sample help for PureBasic for some modules and functions. I have tried to get to grips with your utility but as it is written in Russian I found this difficult and something seems to be going wrong. I put a file named DoesFileExi...
by XCoder
Mon Mar 07, 2022 1:16 pm
Forum: Coding Questions
Topic: Issue using DocMaker
Replies: 15
Views: 1070

Re: Issue using DocMaker

There is a switch to create an userlibrary doc, as there is no main reference topics. @Fred: Thanks for a fast reply. I set the switch by ticking the User library mode box so I think you are suggesting that this error message can be ignored? There is still an issue with the chm file and pressing F1...