Search found 48 matches

by seeker
Mon Nov 28, 2016 1:56 pm
Forum: Coding Questions
Topic: sqlite fts4 or fts5
Replies: 1
Views: 1355

Re: sqlite fts4 or fts5 CLOSED

hi,

i solved the problem. i did not insert the data correctly into the search table.

thanks
by seeker
Mon Nov 28, 2016 12:13 pm
Forum: Coding Questions
Topic: sqlite fts4 or fts5
Replies: 1
Views: 1355

sqlite fts4 or fts5

hi,

does anyone have experience with the use of sqlite's fts4 or fts5 full text search or maybe even have a working example?

the should be something possibele such as

Begin Transaction;
Create Virtual Table booksearch Using fts4(content='books', ISBN,ISBN10,doi,dewey,title,subtitle,comments ...
by seeker
Tue Oct 25, 2016 10:01 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

copy and paste all four parts to into one file to get pdfium.pbi - and off you go.
enjoy
by seeker
Tue Oct 25, 2016 9:55 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

Part four - partial "pdfium.pbi"

; Set the transform matrix of |image_object|.
;
; image_object - handle to an image object.
; a - matrix value.
; b - matrix value.
; c - matrix value.
; d - matrix value.
; e - matrix value.
; f - matrix value.
;
; The matrix is composed as:
; |a c e|
; |b d f ...
by seeker
Tue Oct 25, 2016 9:54 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

Part three - partial "pdfium.pbi"

; Function: FPDF_RenderPageBitmap
; Render contents of a page to a device independent bitmap.
; Parameters:
; bitmap - Handle to the device independent bitmap (as the
; output buffer). The bitmap handle can be created
; by FPDFBitmap_Create.
; page - Handle to the ...
by seeker
Tue Oct 25, 2016 9:53 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

Part two - partial "pdfium.pbi"

; Virtual keycodes.
Enumeration FWL_VKEYCODE
#FWL_VKEY_Back = $08
#FWL_VKEY_Tab = $09
#FWL_VKEY_Clear = $0C
#FWL_VKEY_Return = $0D
#FWL_VKEY_Shift = $10
#FWL_VKEY_Control = $11
#FWL_VKEY_Menu = $12
#FWL_VKEY_Pause = $13
#FWL_VKEY_Capital = $14
#FWL_VKEY ...
by seeker
Tue Oct 25, 2016 9:48 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

Part one - partial "pdfium.pbi"

; CCopyright 2014 PDFium Authors. All rights reserved.
; Use of this source code is governed by a BSD-style license that can be
; found in the LICENSE file.
; Original code copyright 2014 Foxit Software Inc. http:;www.foxitsoftware.com
; NOTE: External docs refer to ...
by seeker
Tue Oct 25, 2016 9:45 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

hi,
sorry that i answer that late. i tried the code from the earlier postings again to make sure, that i don't tell you some crap.
i came up with a question ( after the code didn't work) - how can i fix that situation?
well i went to https://github.com/pvginkel/PdfiumViewer/tree/master/Libraries ...
by seeker
Sun Oct 23, 2016 7:22 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

there is a .net layer to access managed dll/programs at http://weitz.de/rdnzl/, but i don't know how to adapt something like this for purebasic.
if i remember well - powerbasic had some access layer software for managed dll/programs too.
by seeker
Sun Oct 23, 2016 5:47 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

all of this will not work, since a lot of pdf's are compressed etc..

Search for pdfium in this forum!

that i did, but the code does not work. does anyone have a working version?
and also, are there any possibilities to use a .net dll from purebasic? that really would be slick, since there are ...
by seeker
Sun Oct 23, 2016 4:34 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Re: Read from PDF

Would use ghostscript (not sure) or ExifTools (works definitely) to extract the header information easily or have a look at the pdf file format (https://en.wikipedia.org/wiki/Portable_Document_Format and http://www.adobe.com/devnet/pdf/pdf_reference.html)...

thanx for the suggestions. ghostscript ...
by seeker
Sat Oct 22, 2016 8:37 pm
Forum: Coding Questions
Topic: Read from PDF
Replies: 26
Views: 17678

Read from PDF

Hi,
I need to read text and meta data from a pdf file. That means for ex. the title, author … and the doi’s of research papers, so that the files can be renamed.
Does anyone have some tips or some working code (DebenuPDF/pdfium/etc.) to do that? I need that for x64 and ascii/unicode.
Thanks in ...
by seeker
Thu Sep 29, 2016 7:46 am
Forum: Coding Questions
Topic: Public private key for file exchange
Replies: 4
Views: 1896

Re: Public private key for file exchange

use crypotosyspki
http://www.cryptosys.net/pki/index.html





#DICRPKI_H_ = 1
; GENERAL CONSTANTS
#PKI_DIR_ENCRYPT = 1
; Synonyms for direction
#PKI_DIR_DECRYPT = 0
#ENCRYPT = 1
; Maximum number of bytes in hash digest byte array
#DECRYPT = 0
#PKI_MAX_HASH_BYTES = 64
#PKI_SHA1_BYTES = 20
#PKI ...
by seeker
Thu Jan 08, 2015 9:26 pm
Forum: Feature Requests and Wishlists
Topic: nested procedures
Replies: 15
Views: 6230

Re: nested procedures

well thanx for all your trouble and the demo. but, as you said, it is no replacement for nested procedures. my favorite language, well i don't know. modern languages - like D, older like pascal, modula ... - have implemented that and i think it is really nice if you have no OOP.
maybe we are lucky.
by seeker
Wed Jan 07, 2015 11:33 pm
Forum: Feature Requests and Wishlists
Topic: nested procedures
Replies: 15
Views: 6230

Re: nested procedures

well, module has a different meaning for me and may be i am to old to frickle around, cut corners etc., because the language does not have the syntactic sugar/support to structure a program/procedures cleanly.
there is a difference in module and nested procedure.
well thanx anyway.