Search found 18 matches

by menschmarkus
Sat Feb 15, 2020 6:09 pm
Forum: Coding Questions
Topic: save :memory: SQLite database to database file on HDD
Replies: 6
Views: 2194

Re: save :memory: SQLite database to database file on HDD

TI-994A wrote: Add the .p-utf8 extension to the declaration, and not the call:
OMG, did not see the wood for the trees :oops:

Thanks TI-994A
by menschmarkus
Sat Feb 15, 2020 4:51 pm
Forum: Coding Questions
Topic: save :memory: SQLite database to database file on HDD
Replies: 6
Views: 2194

Re: save :memory: SQLite database to database file on HDD

I am sorry for bothering you :oops: but

May be it's an unicode issue, you can try to change the import to:

sqlite3_backup_init(pDest, zDestName.p-utf8, pSource, zSourceName.p-utf8)

I changed Kiffis original code to: ... BackUp = sqlite3_backup_init(DatabaseID(DbFile), "main.p-utf8", DatabaseID ...
by menschmarkus
Tue Jan 21, 2020 7:33 pm
Forum: Coding Questions
Topic: save :memory: SQLite database to database file on HDD
Replies: 6
Views: 2194

Re: save :memory: SQLite database to database file on HDD

:D
Perfect, thank you kiffi

Edit:
Hm, I tried out your code.
At the command line:
BackUp = sqlite3_backup_init(DatabaseID(DbFile), "main", DatabaseID(DbMem), "main") something is going wrong. The following If BackUp is #False so no backup init is done.The error code Debug sqlite3_errcode ...
by menschmarkus
Tue Jan 21, 2020 7:14 pm
Forum: Coding Questions
Topic: save :memory: SQLite database to database file on HDD
Replies: 6
Views: 2194

save :memory: SQLite database to database file on HDD

Hi there,

I tried to find something in the forum but without success. So here my question:

How can I save a database which I created in memory?

Any ideas or ready made solutions?
by menschmarkus
Thu Dec 01, 2016 7:44 pm
Forum: Coding Questions
Topic: mouse click event not available
Replies: 3
Views: 1572

Re: mouse click event not available

WIN 7/64
WIN 8.1/32

compiled in 32 bit

same effect in both systems.
by menschmarkus
Thu Dec 01, 2016 12:46 pm
Forum: Coding Questions
Topic: mouse click event not available
Replies: 3
Views: 1572

mouse click event not available

Hi,

I try to play a video in a window, stop it and draw something on the image with 2DDraw functions like LineXY(). Everything is running fine but after stopping video, opening Draw mode I move my cursor over the window and still-video-image area and press left mouse button. Problem is, during the ...
by menschmarkus
Wed Mar 16, 2016 9:19 pm
Forum: Coding Questions
Topic: Purebasic with Apollo and is anyone working on DBF access
Replies: 8
Views: 3172

Purebasic with Apollo and is anyone working on DBF access

Hi guys,

would like to revive these posts. I am working on Apollo by myself in the moment and would like to share my experience.


:?: How could I access Apollo functions through Purebasic? As Apollo functions are xbase, they fit well with my Clipper/xbase experience.
That is really simple. You ...
by menschmarkus
Mon Dec 30, 2013 1:36 pm
Forum: PureFORM & JaPBe
Topic: HideGadget Problem solution
Replies: 0
Views: 14324

HideGadget Problem solution

Gnozal,

I use PureForm for a longer time. Maybe I found a bug.
I designed a window which contains several container at the same position.
I enable/disable these by HideGadget() command which is working fine.

BUT..

I faced the problem that I could not acces to Option Gadgets, string Gadgets ...
by menschmarkus
Fri Apr 26, 2013 6:00 pm
Forum: The PureBasic Form Designer
Topic: Really basic questions about the new form designer
Replies: 8
Views: 3682

Re: Really basic questions about the new form designer

If the "" are missing it means you clicked on "use caption as a variable".

yep,
thats the reason why I made my proposal ( http://www.purebasic.fr/english/viewtopic.php?f=22&t=54067 )
and the relating tiny tool ( http://www.purebasic.fr/english/viewtopic.php?f=12&t=54371 )
by menschmarkus
Sun Apr 21, 2013 9:08 pm
Forum: Off Topic
Topic: Windows 8.1 (Windows Blue)
Replies: 33
Views: 8348

Re: Windows 8.1 (Windows Blue)

spacebuddy wrote:Metro looks like something that was created 10 years ago. :D
No, it looks older, like Windows 2.5 from 80's last century where you had 8 colors only (monochrome!).
by menschmarkus
Sun Apr 21, 2013 8:34 pm
Forum: Tricks 'n' Tips
Topic: Tiny multilanguage GUI
Replies: 2
Views: 2008

Re: Tiny multilanguage GUI

I made some small corrections described in the header

If you find bugs you can report them
If you have proposals to improve it you can tell

Additional files from my first post are still necessary!

Here the code:
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; Small ...
by menschmarkus
Tue Apr 16, 2013 9:37 pm
Forum: Tricks 'n' Tips
Topic: Tiny multilanguage GUI
Replies: 2
Views: 2008

Tiny multilanguage GUI

OK, I made proposal for the new FormDesigner for multilanguage support. If Polo includes it, it would be fine.

Until then I wrote a tiny frontend GUI for multilangual administration. It is based on Preference structure and automatically creates language depending procedures which easily can be ...
by menschmarkus
Sun Apr 07, 2013 8:19 pm
Forum: The PureBasic Form Designer
Topic: Panels can't be defined as variable (not a real bug!)
Replies: 0
Views: 1315

Panels can't be defined as variable (not a real bug!)

in extension to my proposal each panel text of panelgadget should be definable as a variable like all other gagets (e.g. TextGadget, ButtonGadget, Frame3DGadget,...)
(checkbox within panel administration window)

Edit (8:37pm) :
By the way, the same is valid for ListIconGadget columns !

edit: 15.04 ...
by menschmarkus
Fri Mar 29, 2013 10:59 pm
Forum: The PureBasic Form Designer
Topic: Proposal for Form Designer (PB 5.11)
Replies: 4
Views: 2649

Re: Proposal for Form Designer (PB 5.11)

Set the text after reading the language with SetGadgetText! It is not required to set the text on controlcreation :wink:
Ok, but at this point you finished designing your window.
Imagine you build a window with e.g. 60 text containing gadgets- you finished designing it an want to launch it. As ...
by menschmarkus
Wed Mar 27, 2013 4:23 pm
Forum: The PureBasic Form Designer
Topic: Proposal for Form Designer (PB 5.11)
Replies: 4
Views: 2649

Re: Proposal for Form Designer (PB 5.11)

Of course I could use variable name as gadget text but this takes the possibility to use a gadget text variable for multilingual handling (one variable as gadget text = easy language administration)