Jump to content

Please read the Forum Rules before posting.

Photo
- - - - -

SQLite


13 replies to this topic

#1 Rgill

Rgill

    New to Bible Support

  • Members
  • Pip
  • 7 posts
Offline

Posted 04 September 2022 - 03:49 PM

Does anyone know of a program that ca read and print the SQlite databases in e-Sword? 



#2 PeanutGallery

PeanutGallery

    e-Sword Fanatic

  • Members
  • PipPipPipPipPip
  • 150 posts
Offline

Posted 04 September 2022 - 08:06 PM

Does anyone know of a program that ca read and print the SQlite databases in e-Sword? 

You mean aside from sqlite3 in terminal?

I use DB SQLite Browser

There is also SQLite Studio



#3 APsit190

APsit190

    e-Sword Tools Developer

  • Members (T)
  • PipPipPipPipPip
  • 2,872 posts
  • LocationLand of the Long White Cloud (AKA New Zealand)
Offline

Posted 04 September 2022 - 10:46 PM

Does anyone know of a program that ca read and print the SQlite databases in e-Sword?
You mean aside from sqlite3 in terminal?

I use DB SQLite Browser

There is also SQLite Studio

Building on what PG (saves my typing out all of his handle, and with having typed all of this out, I might as well have typed out all of his handle :wacko:) said, e-Sword is an actual Database reader. The only thing it doesn't do is read the database files in the way you see it in an actual Database application like SQLite Browser (see screenshot below) and etc. Not only that, but if the resource is third party, such as a Bible (bblx or bbli and etc) can only be edited using ToolTip Tool NT or SQLite Browser, Manager, Studio. Bible, Dictionary/Lexicon, Devotional, Commentary resources, and etc cannot be edited in e-Sword due to the fact that when these resources are loaded, they are loaded as "Read Only."

 

Resources from e-Sword and eStudySource are secured and cannot be edited at all in anything let alone e-Sword (just had to add that bit).

 

Trust you find this information helpful.

 

Blessings,

Autograph.png
 

 


Edited by APsit190, 04 September 2022 - 10:52 PM.

X (formerly Twitter)

 


#4 Rgill

Rgill

    New to Bible Support

  • Members
  • Pip
  • 7 posts
Offline

Posted 08 September 2022 - 06:08 AM

My goal is to print a list of all my topic note titles. Perhaps someone knows an easier way to do this?



#5 DoctorDaveT

DoctorDaveT

    e-Sword Fanatic

  • Members (T)
  • PipPipPipPipPip
  • 427 posts
Offline

Posted 08 September 2022 - 08:35 AM

Hey, Rgill,

 

Here is a handy utility tool called "e-Sword Library Manager" (download from biblesupport.com here). While I am unsure if it will print your .topx/.refx library titles, it will allow you to see them. This particular utility should get far more visibility than it does.


Dave
visit www.DoctorDaveT.com for eSword modules, software tips, & more


#6 PeanutGallery

PeanutGallery

    e-Sword Fanatic

  • Members
  • PipPipPipPipPip
  • 150 posts
Offline

Posted 08 September 2022 - 01:27 PM

My goal is to print a list of all my topic note titles. Perhaps someone knows an easier way to do this?

Do you mean list the rows containing only the column marked Title from the Topic.topx

as in: SELECT Title FROM Topics

OR

Do you mean to list all files in directory with .topx extension

as in: dir *.topx


Edited by PeanutGallery, 09 September 2022 - 06:38 PM.


#7 APsit190

APsit190

    e-Sword Tools Developer

  • Members (T)
  • PipPipPipPipPip
  • 2,872 posts
  • LocationLand of the Long White Cloud (AKA New Zealand)
Offline

Posted 08 September 2022 - 05:04 PM

Hey, Rgill,

 

Here is a handy utility tool called "e-Sword Library Manager" (download from biblesupport.com here). While I am unsure if it will print your .topx/.refx library titles, it will allow you to see them. This particular utility should get far more visibility than it does.

Hi Dave,

I just checked it out, and nah, it doesn't print anything out.

 

Now, if I knew the programming language it was written in, then I'd hack into (decompile) it and then extract the source code, and then rewrite the program adding a print capability to it. That part isn't difficult at all if its written in C# (C Sharp). If its C++, then I'd be stuffed.

 

 


X (formerly Twitter)

 


#8 JPG

JPG

    Jon.

  • Moderators
  • 1,678 posts
Online

Posted 09 September 2022 - 06:33 PM

It was written in C#



#9 APsit190

APsit190

    e-Sword Tools Developer

  • Members (T)
  • PipPipPipPipPip
  • 2,872 posts
  • LocationLand of the Long White Cloud (AKA New Zealand)
Offline

Posted 10 September 2022 - 01:51 PM

It was written in C#

Thanks Jon.

I got me a neat little decompiler called dotPeek by a company called JetBrains. The beaut thing about this program is its free. So you can't beat that. Another thing is that you can export the code have it opened in Visual Studio.

 

All the software I've written are in C#, including the e-Sword Installer Menu (ESM). If you downloaded dotPeek and installed it, you be able to decompile ESM and view the code. (EEKS! I've just given a way for anyone to hack into a program.)

 

Blessings,

Stephen (Php 1:21).


X (formerly Twitter)

 


#10 JPG

JPG

    Jon.

  • Moderators
  • 1,678 posts
Online

Posted 11 September 2022 - 06:06 AM

I have used a different decompiler in the past. Good to know of another one integrated to Visual Studio.

I find one issue with decompiled code is that it does not have comments to the code, so it is more difficult to understand.

 

Also I have your code for ESM... you emailed it to me a while back.





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs