[sword-devel] FW: Help Please - VB & Sword

Daniel Adams sword-devel@crosswire.org
Sat, 2 Nov 2002 15:17:20 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0026_01C28282.F3409310
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have posted on the topic before, and yet to have get responses, but
here is a new question:

I have my concordance system setup so that it has 4 different and
sortable levels at which verses can be stored (Topic, and 3 Sub Topic
levels). I would like to be able to interface the final level of display
so that it could print something such as:

Spiritual Gifts : Gifts

Knowledge

1 Corinthians 12:8 (displayed)

Mercy

Romans 12:8 (displayed)

etc

Hopefully this could provide a help to my dilemma, I have the (website)
pages that display this information written is Visual Basic ASP. Things
are controlled through a database from the ASP pages. I am trying to
figure out a way to interface (from within) to the diatheke engine, I
currently have it setup so that only 1 verse displays at a time from a
page showing the verses in a given sub-topic. I know that there is a
Visual Basic diatheke interface (I think in a dll file), I was wondering
where would documentation on this tool be found at? Also I was
wondering, of course if anyone has any specific suggestions of how to
try this? The reason I ask if, and where the documentation on the VB
diatheke thing is located at, is because I was thinking it might be
necessary to interface to this rather than using the "diatheke.pl" file
I am using now. One reason for desiring this is because I would like to
control which translation, and which options for display are used from
the ASP pages.

How would I display a single (or possibly a few) verses in Visual Basic?
I have all of my verse listings separated by Book name, Chapter and
Verse in separate variables so they can be manipulated.

I will appreciate any and all help or suggestions I can receive. I know
this is a huge project considering what my dreams for it are, but with
the help of God and those who might have knowledge, I have faith that in
time, this project can be accomplished.

As always the concordance project can be fount at:
<http://dana.ucc.nau.edu/dpa3-cgi-bin/redirect.pl?religion/V_Topic.asp?S
T=1>
http://dana.ucc.nau.edu/dpa3-cgi-bin/redirect.pl?religion/V_Topic.asp?ST
=1 I have the link pointing through a server at NAU, my college, because
I currently do not have an IP # that remains the same, but this works
for now at least. 

Does someone know of a way that I might be able to access sword
components on the server that I am using from a Visual Basic ASP page or
similar? 

By the Grace of God,
Dan Adams


------=_NextPart_000_0026_01C28282.F3409310
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT face=3DTahoma=20
size=3D2></FONT></DIV><FONT size=3D2>I have posted on the topic before, =
and yet to=20
have get responses, but here is a new question:<BR><BR>I have my =
concordance=20
system setup so that it has 4 different and sortable levels at which =
verses can=20
be stored (Topic, and 3 Sub Topic levels). I would like to be able to =
interface=20
the final level of display so that it could print something such=20
as:</FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <P><FONT size=3D2>Spiritual Gifts : Gifts</FONT></P>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <P><FONT size=3D2>Knowledge</FONT></P>
    <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
      <P><FONT size=3D2>1 Corinthians 12:8 =
(displayed)</FONT></P></BLOCKQUOTE>
    <P dir=3Dltr><FONT size=3D2>Mercy</FONT></P>
    <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
      <P dir=3Dltr><FONT size=3D2>Romans 12:8 =
(displayed)</FONT></P></BLOCKQUOTE>
    <P dir=3Dltr><FONT size=3D2>etc</FONT></P></BLOCKQUOTE></BLOCKQUOTE>
<P dir=3Dltr><FONT face=3DArial size=3D2>Hopefully this could provide a =
help to my=20
dilemma, I have the (website) pages that display this information =
written is=20
Visual Basic ASP. Things are controlled through a database from the ASP =
pages. I=20
am trying to figure out a way to interface (from within) to the diatheke =
engine,=20
I currently have it setup so that only 1 verse displays at a time from a =
page=20
showing the verses in a given sub-topic. I know that there is a Visual =
Basic=20
diatheke interface (I think in a dll file), I was wondering where would=20
documentation on this tool be found at? Also I was wondering, of course =
if=20
anyone has any specific suggestions of how to try this? The reason I ask =
if, and=20
where the documentation on the VB diatheke thing is located at, is =
because I was=20
thinking it might be necessary to interface to this rather than using =
the=20
"diatheke.pl" file I am using now. One reason for desiring this is =
because I=20
would like to control which translation, and which options for display =
are used=20
from the ASP pages.</FONT></P>
<P dir=3Dltr><FONT face=3DArial size=3D2>How would I display a single =
(or possibly a=20
few) verses in Visual Basic? I have all of my verse listings separated =
by Book=20
name, Chapter and Verse in separate variables so they can be=20
manipulated.</FONT></P>
<P dir=3Dltr><FONT face=3DArial><FONT size=3D2>I will appreciate any and =
all help or=20
suggestions I can receive. I know this is a huge project considering =
what my=20
dreams for it are, but with the help of God and those who might =
have&nbsp;<SPAN=20
class=3D012522523-30102002>knowledge, I have faith that in time, this =
project can=20
be accomplished.</SPAN></FONT></FONT></P>
<P dir=3Dltr><SPAN class=3D012522523-30102002><FONT face=3DArial =
size=3D2>As always the=20
concordance project can be fount at: </FONT><A=20
href=3D"http://dana.ucc.nau.edu/dpa3-cgi-bin/redirect.pl?religion/V_Topic=
.asp?ST=3D1"><FONT=20
face=3DArial=20
size=3D2>http://dana.ucc.nau.edu/dpa3-cgi-bin/redirect.pl?religion/V_Topi=
c.asp?ST=3D1</FONT></A><FONT=20
face=3DArial><FONT size=3D2>&nbsp;I have the link pointing through a =
server at NAU,=20
my college, because I currently do not have an IP # that remains the =
same, but=20
this works for now at least.<SPAN class=3D272461522-02112002><FONT=20
color=3D#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></SPAN></P>
<P dir=3Dltr><SPAN class=3D012522523-30102002><FONT face=3DArial><FONT =
size=3D2><SPAN=20
class=3D272461522-02112002>Does someone know of a way that I might be =
able to=20
access sword components on the server that I am using from a Visual =
Basic ASP=20
page or similar?&nbsp;</SPAN></FONT></FONT></SPAN></P>
<P dir=3Dltr><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D012522523-30102002></SPAN></FONT></FONT><FONT face=3DArial><FONT =

size=3D2><SPAN class=3D012522523-30102002>By the Grace of=20
God,<BR></SPAN></FONT></FONT><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D012522523-30102002>Dan =
Adams</SPAN></FONT></FONT></P></BODY></HTML>

------=_NextPart_000_0026_01C28282.F3409310--