Microsoft Visual Basic

Transcription

Microsoft Visual Basic
frmAnalyseMorphologique - 1
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Image1_Click()
frmAssistant.txtcode = lblanalyse2.Caption
frmAssistant.txtMot.Text = lblmot.Caption
frmAssistant.txtRecherche.Text = lblvientde.Caption
frmAssistant.Command2_Click
frmAssistant.Show
frmAnalyseMorphologique.Hide
End Sub
Private Sub Image2_Click()
Load frmRechercheMorphologique
frmRechercheMorphologique.txtcode.Text = lblanalyse2.Caption
frmRechercheMorphologique.txtMot.Text = lblvientde.Caption
frmRechercheMorphologique.Show
frmAnalyseMorphologique.Hide
End Sub
Private Sub Image3_Click()
Dim recherche$
recherche = Trim(lblmot.Caption)
Call ConcordanceNA27(recherche)
frmZetoGraphe.txtRecherche.Text = recherche
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.cboVersion.Text = "NA27"
'Unload frmAnalyseMOphologique
End Sub
Private Sub lblanalyse_Click()
Load frmGrammaire
frmGrammaire.txtAnalyse.Text = lblanalyse.Caption
'frmGrammaire.btnGo_Click
frmAnalyseMorphologique.Hide
On Error GoTo fin:
frmGrammaire.Show
fin:
End Sub
Private Sub lblmot_Click()
Dim recherche$
recherche = lblmot.Caption
Call ConcordanceNA27(recherche)
frmZetoGraphe.txtRecherche.Text = recherche
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.cboVersion.Text = "NA27"
frmAnalyseMorphologique.Hide
End Sub
Private Sub lblvientde_Click()
Dim recherche$
recherche = lblvientde.Caption
Call ConcordanceNA27(recherche)
frmZetoGraphe.txtRecherche.Text = recherche
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.cboVersion.Text = "NA27"
frmAnalyseMorphologique.Hide
End Sub
Private Sub Picture1_Click()
Dim mot$
mot = lblmot.Caption
Call GrenetTOBw(mot)
If Mid(mot, 1, 2) = ")A" Then mot = "a)" & Mid(mot, 3, Len(mot))
If Mid(mot, 1, 2) = "(A" Then mot = "a(" & Mid(mot, 3, Len(mot))
frmAnalyseMorphologique - 2
Load frmBrowser
'ancienne adresse:http://www.perseus.tufts.edu/cgi-bin/morphindex?lookup=" & mot & "&.submit=Analyz
e+Form&searchTe
frmBrowser.cboAddress = "http://www.perseus.tufts.edu/hopper/morph.jsp?l=" & mot & "&la=greek"
'frmBrowser. Show 1
End Sub
Private Sub pctAideGrammaticale_Click()
Load frmGrammaire
frmGrammaire.txtAnalyse.Text = lblanalyse.Caption
'frmGrammaire.btnGo_Click
frmAnalyseMorphologique.Hide
On Error GoTo fin:
frmGrammaire.Show
fin:
End Sub
Private Sub Picture2_Click()
Dim mot$
mot = lblvientde.Caption
Call GrenetTOBw(mot)
If Mid(mot, 1, 2) = ")A" Then mot = "a)" & Mid(mot, 3, Len(mot))
If Mid(mot, 1, 2) = "(A" Then mot = "a(" & Mid(mot, 3, Len(mot))
Load frmBrowser
frmBrowser.cboAddress = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0057
:entry=" & mot '"http://www.perseus.tufts.edu/cgi-bin/lexindex?entry=" & mot & "&display=Beta"
'frmBrowser. Show 1
End Sub
Private Sub Picture3_Click()
Dim mot$
mot = lblmot.Caption
Call GrenetTOBw(mot)
If Mid(mot, 1, 2) = ")A" Then mot = "a)" & Mid(mot, 3, Len(mot))
If Mid(mot, 1, 2) = "(A" Then mot = "a(" & Mid(mot, 3, Len(mot))
Load frmBrowser
'ancienne adresse:http://www.perseus.tufts.edu/cgi-bin/morphindex?lookup=" & mot & "&.submit=Analyz
e+Form&searchTe
frmBrowser.cboAddress = "http://www.perseus.tufts.edu/hopper/morph.jsp?l=" & mot & "&la=greek" ' an
cienne adresse: http://www.perseus.tufts.edu/cgi-bin/lexindex?entry=" & mot & "&display=Beta
'
'Load frmRechercheMorphologique
'frmRechercheMorphologique.txtcode.Text = lblanalyse2.Caption
'frmRechercheMorphologique.txtMot.Text = lblmot.Caption
'frmRechercheMorphologique. Show 1
'frmAnalyseMorphologique.Hide
End Sub
Private Sub Picture4_Click()
Dim mot$
mot = LCase(lblmot.Caption)
GrenetTOBw (mot)
mot = Replace(mot, ")", "")
mot = Replace(mot, "(", "")
If Mid(mot, 1, 1) = "a" Then
frmBible.mnuAlpha_Click
ElseIf Mid(mot, 1, 1) = "b" Then
frmBible.mnuBeta_Click
ElseIf Mid(mot, 1, 1) = "g" Then
frmBible.mnuGamma_Click
ElseIf Mid(mot, 1, 1) = "d" Then
frmBible.mnuDelta_Click
ElseIf Mid(mot, 1, 1) = "e" Then
frmBible.mnuEpsilonn_Click
ElseIf Mid(mot, 1, 1) = "z" Then
frmBible.mnuDzeta_Click
ElseIf Mid(mot, 1, 1) = "h" Then
frmBible.mnuEta_Click
ElseIf Mid(mot, 1, 1) = "q" Then
frmBible.mnuTheta_Click
frmAnalyseMorphologique - 3
ElseIf Mid(mot, 1, 1) = "i" Then
frmBible.mnuIota_Click
ElseIf Mid(mot, 1, 1) = "k" Then
frmBible.mnuKappa_Click
ElseIf Mid(mot, 1, 1) = "l" Then
frmBible.mnuLambda_Click
ElseIf Mid(mot, 1, 1) = "m" Then
frmBible.mnuMu_Click
ElseIf Mid(mot, 1, 1) = "n" Then
frmBible.mnuNu_Click
ElseIf Mid(mot, 1, 1) = "c" Then
frmBible.mnuXi_Click
ElseIf Mid(mot, 1, 1) = "o" Then
frmBible.mnuOmicronn_Click
ElseIf Mid(mot, 1, 1) = "p" Then
frmBible.mnuPi_Click
ElseIf Mid(mot, 1, 1) = "r" Then
frmBible.mnuRho_Click
ElseIf Mid(mot, 1, 1) = "s" Then
frmBible.mnuSigma_Click
ElseIf Mid(mot, 1, 1) = "t" Then
frmBible.mnuTau_Click
ElseIf Mid(mot, 1, 1) = "u" Then
frmBible.mnuUpsilonn_Click
ElseIf Mid(mot, 1, 1) = "f" Then
frmBible.mnuPhi_Click
ElseIf Mid(mot, 1, 1) = "x" Then
frmBible.mnuKhi_Click
ElseIf Mid(mot, 1, 1) = "y" Then
frmBible.mnuPsi_Click
ElseIf Mid(mot, 1, 1) = "w" Then
frmBible.mnuOmega_Click
End If
End Sub
frmAnalyseMorphologique - 1
VERSION 5.00
Begin VB.Form frmAnalyseMorphologique
BackColor
=
&H00C0E0FF&
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Analyse morphologique..."
ClientHeight
=
2895
ClientLeft
=
9150
ClientTop
=
4245
ClientWidth
=
4335
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
2895
ScaleWidth
=
4335
ShowInTaskbar
=
0
'False
Begin VB.PictureBox pctAideGrammaticale
Appearance
=
0 'Flat
BackColor
=
&H00C0E0FF&
ForeColor
=
&H80000008&
Height
=
375
Left
=
3840
MousePointer
=
2 'Cross
Picture
=
(Bitmap)
ScaleHeight
=
345
ScaleWidth
=
345
TabIndex
=
13
ToolTipText
=
"Accéder à l'Aide Grammaticale"
Top
=
1920
Width
=
375
End
Begin VB.PictureBox Picture4
Appearance
=
0 'Flat
BackColor
=
&H00C0E0FF&
ForeColor
=
&H80000008&
Height
=
255
Left
=
3600
MousePointer
=
2 'Cross
Picture
=
(Bitmap)
ScaleHeight
=
225
ScaleWidth
=
225
TabIndex
=
12
ToolTipText
=
"Consulter le Bailly [abrégé]"
Top
=
600
Width
=
255
End
Begin VB.PictureBox Picture3
Appearance
=
0 'Flat
BackColor
=
&H00C0E0FF&
ForeColor
=
&H80000008&
Height
=
255
Left
=
3960
MousePointer
=
2 'Cross
Picture
=
(Bitmap)
ScaleHeight
=
225
ScaleWidth
=
225
TabIndex
=
11
ToolTipText
=
"Analyse morphologique + Liddell-Scott-Jones"
Top
=
1560
Width
=
255
End
Begin VB.PictureBox Picture2
Appearance
=
0 'Flat
BackColor
=
&H00C0E0FF&
ForeColor
=
&H80000008&
Height
=
255
Left
=
3960
MousePointer
=
2 'Cross
Picture
=
(Bitmap)
ScaleHeight
=
225
ScaleWidth
=
225
TabIndex
=
7
ToolTipText
=
"Consulter le LSJ"
Top
=
600
Width
=
255
End
frmAnalyseMorphologique - 2
Begin VB.Timer Timer1
Interval
=
10
Left
=
0
Top
=
2760
End
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"X"
Default
=
-1 'True
Height
=
255
Left
=
3840
TabIndex
=
4
Top
=
2520
Width
=
375
End
Begin VB.Image Image3
Height
=
240
Left
=
3960
Picture
=
(Icon)
Stretch
=
-1 'True
ToolTipText
=
"Recherche les occurrences de ce mot dans NA27"
Top
=
120
Width
=
240
End
Begin VB.Image Image1
Height
=
240
Left
=
3960
Picture
=
(Icon)
Stretch
=
-1 'True
ToolTipText
=
"Faire une recherche morphologique sur ce mot"
Top
=
1200
Width
=
240
End
Begin VB.Label lblanalyse2
BackStyle
=
0 'Transparent
Height
=
375
Left
=
720
TabIndex
=
10
Top
=
2520
Visible
=
0
'False
Width
=
855
End
Begin VB.Label Label1
BackStyle
=
0 'Transparent
Caption
=
"Définition :"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
120
TabIndex
=
9
Top
=
1920
Width
=
1215
End
Begin VB.Label lblDefinition
BackStyle
=
0 'Transparent
Height
=
1095
Left
=
1320
TabIndex
=
8
Top
=
1920
Width
=
1935
End
Begin VB.Label lbltxtanalyse
BackStyle
=
0 'Transparent
Caption
=
"Analyse :"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
700
frmAnalyseMorphologique - 3
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
=
=
=
0
0
0
375
120
6
1200
1095
'False
'False
'False
End
Begin VB.Label lblanalyse
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Arial"
Size
=
8.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
855
Left
=
1320
TabIndex
=
5
ToolTipText
=
"Cliquez ici pour accéder à l'Aide Grammaticale"
Top
=
1200
Width
=
2655
End
Begin VB.Label lblvientde
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
1320
TabIndex
=
3
ToolTipText
=
"Cliquez ici pour chercher ce terme dans NA27"
Top
=
600
Width
=
2055
End
Begin VB.Label lbltxtvientde
BackStyle
=
0 'Transparent
Caption
=
"Vient de :"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
120
TabIndex
=
2
Top
=
600
Width
=
1095
End
Begin VB.Label lblmot
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
frmAnalyseMorphologique - 4
End
Left
TabIndex
ToolTipText
Top
Width
=
=
=
=
=
1320
1
"Cliquez ici pour chercher ce terme dans NA27"
120
1935
End
Begin VB.Label lbltxtmot
BackStyle
=
0 'Transparent
Caption
=
"Mot :"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
120
TabIndex
=
0
Top
=
120
Width
=
1095
End
Mot :
Vient de :
Analyse :
Définition :
frmAssistant - 1
Dim code$, un$, deux$, trois$, quatre$, cinq$, six$, sept$
Private Sub cbo2_GotFocus()
'dès qu'on connait le type, on peut renseigner cbo1, le cas ou le temps,etc.
Dim ttype$
ttype = cbo1.Text
If ttype = "nom (n)" Then
cbo2.Clear
'cbo3.Clear
cbo4.Clear
'cbo5.Clear
cbo6.Clear
cbo2.AddItem ("nominatif (n)")
cbo2.AddItem ("acusatif (a)")
cbo2.AddItem ("génitif (g)")
cbo2.AddItem ("datif (d)")
cbo2.AddItem ("vocatif (v)")
'cbo2.AddItem ("tous (*)")
cbo3.AddItem ("masculin (m)")
cbo3.AddItem ("féminin (f)")
cbo3.AddItem ("neutre (n)")
'cbo3.AddItem ("tous (*)")
cbo4.AddItem ("singulier (s)")
cbo4.AddItem ("pluriel (p)")
'cbo4.AddItem ("tous (*)")
cbo5.AddItem (", nom commun (c)")
cbo5.AddItem (", nom propre (p)")
'cbo5.Text = ", nom commun (c)"
cbo6.Clear
cbo7.Visible = False
ElseIf ttype = "verbe (v)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo2.AddItem ("indicatif (i)")
cbo2.AddItem ("impératif (d)")
cbo2.AddItem ("subjonctif (s)")
cbo2.AddItem ("optatif (o)")
cbo2.AddItem ("participe (p)")
cbo2.AddItem ("infinitif (n)")
'cbo2.AddItem ("tous (*)")
cbo3.AddItem ("présent (p)")
cbo3.AddItem ("futur (f)")
cbo3.AddItem ("aoriste (a)")
cbo3.AddItem ("imparfait (i)")
cbo3.AddItem ("parfait (x)")
cbo3.AddItem ("plusqueparfait (y)")
cbo3.AddItem ("futur du parfait (z)")
'cbo3.AddItem ("tous (*)")
cbo4.AddItem ("actif (a)")
cbo4.AddItem ("moyen (m)")
cbo4.AddItem ("passif (p)")
cbo4.AddItem ("moyen/passif (e)")
'cbo4.AddItem ("tous (*)")
cbo5.Clear
cbo5.AddItem ("1ère personne (1)")
cbo5.AddItem ("2ème personne (2)")
cbo5.AddItem ("3ème personne (3)")
'cbo5.AddItem ("tous (*)")
cbo6.Clear
cbo6.AddItem ("singulier (s)")
cbo6.AddItem ("pluriel (p)")
'cbo6.AddItem ("tous (*)")
frmAssistant - 2
cbo7.Visible = False
ElseIf ttype = "adjectif (a)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo2.AddItem ("normal (n)")
cbo2.AddItem ("possessif (s)")
cbo2.AddItem ("démonstratif (d)")
cbo2.AddItem ("interrogatif (q)")
cbo2.AddItem ("indéfini (i)")
cbo2.AddItem ("intensif (t)")
cbo2.AddItem ("cardinal (c)")
cbo2.AddItem ("ordinal (o)")
cbo2.AddItem ("nombre (m)")
'cbo2.AddItem ("tous (*)")
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
("nominatif (n)")
("acusatif (a)")
("génitif (g)")
("datif (d)")
("vocatif (v)")
("tous (*)")
cbo4.AddItem ("masculin (m)")
cbo4.AddItem ("féminin (f)")
cbo4.AddItem ("neutre (n)")
'cbo4.AddItem ("tous (*)")
cbo5.AddItem ("singulier (s)")
cbo5.AddItem ("pluriel (p)")
'cbo5.AddItem ("tous (*)")
cbo6.AddItem ("simple (n)")
cbo6.AddItem ("comparatif (c)")
cbo6.AddItem ("superlatif (s)")
'cbo6.AddItem ("tous (*)")
cbo7.Visible = False
ElseIf ttype = "pronom (r)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo2.AddItem
cbo2.AddItem
cbo2.AddItem
cbo2.AddItem
cbo2.AddItem
cbo2.AddItem
cbo2.AddItem
cbo2.AddItem
("personnel (p)")
("relatif (r)")
("démonstratif (d)")
("interrogatif (q)")
("indéfini (i)")
("intensif (t)")
("réfléchi (x)")
("réciproque (e)")
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
cbo3.AddItem
("nominatif (n)")
("acusatif (a)")
("génitif (g)")
("datif (d)")
("vocatif (v)")
("tous (*)")
cbo4.AddItem ("masculin (m)")
cbo4.AddItem ("féminin (f)")
cbo4.AddItem ("neutre (n)")
cbo4.AddItem ("commun (-)")
'cbo4.AddItem ("tous (*)")
cbo5.AddItem ("singulier (s)")
cbo5.AddItem ("pluriel (p)")
'cbo5.AddItem ("tous (*)")
cbo7.Visible = False
frmAssistant - 3
ElseIf ttype = "conjonction (c)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
cbo2.AddItem ("subordination (s)")
cbo2.AddItem ("coordination (c)")
ElseIf ttype = "indéclinable (t)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
ElseIf ttype = "particule (x)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
ElseIf ttype = "interjection (i)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
ElseIf ttype = "préposition (p)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
cbo2.AddItem ("accusatif (a)")
cbo2.AddItem ("génitif (g)")
cbo2.AddItem ("datif (d)")
cbo2.AddItem ("indéterminé (p)")
ElseIf ttype = "adverbe (b)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
ElseIf ttype = "article défini (d)" Then
cbo2.Clear
cbo3.Clear
cbo4.Clear
cbo5.Clear
cbo6.Clear
cbo7.Visible = False
End If
End Sub
Private Sub cbo3_GotFocus()
If cbo1.Text = "verbe (v)" And cbo2.Text = "participe (p)" Then
cbo7.Visible = True
cbo5.Clear
cbo5.AddItem ("nominatif (n)")
cbo5.AddItem ("acusatif (a)")
cbo5.AddItem ("génitif (g)")
cbo5.AddItem ("datif (d)")
frmAssistant - 4
cbo5.AddItem
cbo6.Clear
cbo6.AddItem
cbo6.AddItem
cbo6.AddItem
cbo7.Clear
cbo7.AddItem
cbo7.AddItem
End If
End Sub
("vocatif (v)")
("masculin (m)")
("féminin (f)")
("neutre (n)")
("singulier (s)")
("pluriel (p)")
Private Sub Command1_Click()
Unload Me
End Sub
Public Sub Command2_Click()
If vientde = "" And _
recherche = "" Then
GoTo suite:
End If
un = ""
deux = ""
trois = ""
quatre = ""
cinq = ""
six = ""
sept = ""
'les codes particuliers correspondent à l'avant dernière lettre de chaque champs
' exemple: "nom (n)" , code = n
If cbo1.Text <> "" Then un = Mid(cbo1.Text, Len(cbo1.Text) - 1, 1)
If cbo2.Text <> "" Then deux = Mid(cbo2.Text, Len(cbo2.Text) - 1, 1)
If cbo3.Text <> "" Then trois = Mid(cbo3.Text, Len(cbo3.Text) - 1, 1)
If cbo4.Text <> "" Then quatre = Mid(cbo4.Text, Len(cbo4.Text) - 1, 1)
If cbo5.Text <> "" And Len(cbo5.Text) > 2 Then cinq = Mid(cbo5.Text, Len(cbo5.Text) - 1, 1)
If cbo6.Text <> "" And Len(cbo6.Text) > 2 Then six = Mid(cbo6.Text, Len(cbo6.Text) - 1, 1)
If cbo7.Text <> "" And Len(cbo7.Text) > 2 Then sept = Mid(cbo7.Text, Len(cbo7.Text) - 1, 1)
'ceci correspond donc au nouveau code issus des modifications de l'utilisateur
code = Trim(un & deux & trois & quatre & cinq & six & sept)
' j'efface toute trace d'une recherche précédente
Label1.Caption = ""
txtcode.Text = code
vientde = frmAnalyseMorphologique.lblvientde.Caption
recherche = vientde & " (" & code & ")"
txtRecherche.Text = recherche
nveaucode = code
suite:
'je dois quant même récupérer le nveaucode
If cbo1.Text <> "" Then un = Mid(cbo1.Text, Len(cbo1.Text) - 1, 1)
If cbo2.Text <> "" Then deux = Mid(cbo2.Text, Len(cbo2.Text) - 1, 1)
If cbo3.Text <> "" Then trois = Mid(cbo3.Text, Len(cbo3.Text) - 1, 1)
If cbo4.Text <> "" Then quatre = Mid(cbo4.Text, Len(cbo4.Text) - 1, 1)
If cbo5.Text <> "" And Len(cbo5.Text) > 2 Then cinq = Mid(cbo5.Text, Len(cbo5.Text) - 1, 1)
If cbo6.Text <> "" And Len(cbo6.Text) > 2 Then six = Mid(cbo6.Text, Len(cbo6.Text) - 1, 1)
If cbo7.Text <> "" And Len(cbo7.Text) > 2 Then sept = Mid(cbo7.Text, Len(cbo7.Text) - 1, 1)
'ceci correspond donc au nouveau code issus des modifications de l'utilisateur
code = Trim(un & deux & trois & quatre & cinq & six & sept)
nveaucode = code
recherche = frmAssistant.txtRecherche.Text & " (" & nveaucode & ")"
Call RechercheMorphologique(recherche, nveaucode)
lstPassages.Text = lstPassages.List(0)
lstPassages_Click
End Sub
Private Sub Form_Load()
autoexecut = False
cbo1.AddItem ("nom (n)")
cbo1.AddItem ("verbe (v)")
cbo1.AddItem ("adjectif (a)")
cbo1.AddItem ("pronom (r)")
frmAssistant - 5
cbo1.AddItem
cbo1.AddItem
cbo1.AddItem
cbo1.AddItem
cbo1.AddItem
cbo1.AddItem
cbo1.AddItem
cbo1.AddItem
("conjonction (c)")
("indéclinable (t)")
("particule ou part. disjonctive (x)")
("conjonction ou conjonctif (q)")
("interjection (i)")
("préposition (p)")
("adverbe (b)")
("article défini (d)")
mot = frmAnalyseMorphologique.lblanalyse2.Caption
'VERBES
If Mid(mot, 1, 1) = "v" And _
Mid(mot, 3, 2) = "2f" Or _
Mid(mot, 3, 2) = "2a" Or Mid(mot, 3, 2) = "2r" Or Mid(mot, 3, 2) = "2l" Then
ttype = "verbe (v)"
Mode = Mid(mot, 2, 1)
temps = Mid(mot, 3, 2)
voix = Mid(mot, 5, 1)
personne = Mid(mot, 6, 2)
ElseIf Mid(mot, 1, 1) = "v" Then
ttype = "verbe (v)"
Mode = Mid(mot, 2, 1)
temps = Mid(mot, 3, 1)
voix = Mid(mot, 4, 1)
personne = Mid(mot, 5, 2)
End If
' MODE des VERBES
If Mid(mot, 1, 1) = "v" Then
If Mode = "i" Then Mode = "indicatif (i)"
If Mode = "d" Then Mode = "impératif (d)"
If Mode = "s" Then Mode = "subjonctif (s)"
If Mode = "o" Then Mode = "optatif (o)"
If Mode = "n" Then Mode = "infinitif (n)"
If Mode = "p" Then Mode = "participe (p)"
cbo2.Clear
cbo2.AddItem ("indicatif (i)")
cbo2.AddItem ("impératif (d)")
cbo2.AddItem ("subjonctif (s)")
cbo2.AddItem ("optatif (o)")
cbo2.AddItem ("infinitif (n)")
cbo2.AddItem ("participe (p)")
End If
'TEMPS des VERBES
If Mid(mot, 1, 1) = "v" Then
'If temps = "2f" Then temps
'If temps = "2a" Then temps
'If temps = "2l" Then temps
'If temps = "2r" Then temps
=
=
=
=
"futur second"
"aoriste second"
"pqp second"
"parfait second"
If temps = "p" Then temps = "présent (p)"
If temps = "f" Then temps = "futur (f)"
If temps = "a" Then temps = "aoriste (a)"
If temps = "i" Then temps = "imparfait (i)"
If temps = "x" Then temps = "parfait (x)"
If temps = "y" Then temps = "plusqueparfait (y)"
If temps = "x" Then temps = "tous (*)"
'cboGenre.AddItem ("présent")
'cboGenre.AddItem ("imparfait")
'cboGenre.AddItem ("futur")
'cboGenre.AddItem ("aoriste")
'cboGenre.AddItem ("aoriste")
'cboGenre.AddItem ("parfait")
'cboGenre.AddItem ("plusqueparfait")
'cboGenre.AddItem ("tous")
End If
' VOIX des VERBES
If Mid(mot, 1, 1) = "v" Then
If voix = "a" Then voix = "actif (a)"
If voix = "m" Then voix = "moyen (m)"
frmAssistant - 6
If voix = "p" Then
If voix = "e" Then
If voix = "d" Then
If voix = "o" Then
If voix = "p" Then
If voix = "q" Then
If voix = "x" Then
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
'cboNombre.AddItem
End If
voix = "passif (p)"
voix = "moyen ou passif (e)"
voix = "déponent moyen (d)"
voix = "déponent passif (o)"
voix = "déponent moyen ou passif (p)"
voix = "impersonnel actif (q)"
voix = "non indiqué (x)"
("actif")
("moyen")
("passif")
("moyen ou passif")
("déponent moyen")
("déponent passif")
("déponent moyen ou passif")
("impersonnel actif")
("-")
' PERSONNE des VERBES
If personne = "1s" Then
cbo5.Text = "1ère personne (1)"
cbo6.Text = "singulier (s)"
ElseIf personne = "2s" Then
cbo5.Text = "2ème personne (2)"
cbo6.Text = "singulier (s)"
ElseIf personne = "3s" Then
cbo5.Text = "3ème personne (3)"
cbo6.Text = "singulier (s)"
ElseIf personne = "1p" Then
cbo5.Text = "1ère personne (1)"
cbo6.Text = "pluriel (p)"
ElseIf personne = "2p" Then
cbo5.Text = "2ème personne (2)"
cbo6.Text = "pluriel (p)"
ElseIf personne = "3p" Then
cbo5.Text = "3ème personne (3)"
cbo6.Text = "pluriel (s)"
End If
'personne = personne
' NOMS
If Mid(mot, 1, 1) = "n" Then
ttype = "nom (n)"
cas = Mid(mot, 2, 1)
genre = Mid(mot, 3, 1)
nombre = Mid(mot, 4, 4)
End If
' ADJECTIF
If Mid(mot, 1, 1) = "a" Then
ttype = "adjectif (a)"
ttype2 = Mid(mot, 2, 1)
cas = Mid(mot, 3, 1)
genre = Mid(mot, 4, 1)
nombre = Mid(mot, 5, 4)
degre = Mid(mot, 6, 1)
End If
If Mid(mot, 1, 1) = "a" Then
If ttype2 = "n" Then cbo2.AddItem
cbo2.Text = "normal (n)"
If ttype2 = "s" Then cbo2.AddItem
cbo2.Text = "possessif (s)"
If ttype2 = "d" Then cbo2.AddItem
cbo2.Text = "démonstratif (d)"
If ttype2 = "q" Then cbo2.AddItem
cbo2.Text = "interrogatif (q)"
If ttype2 = "i" Then cbo2.AddItem
cbo2.Text = "indéfini (i)"
If ttype2 = "t" Then cbo2.AddItem
cbo2.Text = "intensif (t)"
If ttype2 = "c" Then cbo2.AddItem
cbo2.Text = "cardinal (c)"
If ttype2 = "o" Then cbo2.AddItem
cbo2.Text = "ordinal (o)"
("normal (n)")
("possessif (s)")
("démonstratif (d)")
("interrogatif (q)")
("indéfini (i)")
("intensif (t)")
("cardinal (c)")
("ordinal (o)")
frmAssistant - 7
If ttype2 = "m" Then cbo2.AddItem ("nombre (m)")
cbo2.Text = "nombre (m)"
End If
' NOMS PROPRES
If Mid(mot, 1, 2) = "tp" Then
ttype = "nom propre"
'cas = Mid(mot, 2, 1)
'genre = Mid(mot, 3, 1)
'nombre = Mid(mot, 4, 4)
End If
' DEGRE des ADJECTIFS
If Mid(mot, 1, 1) = "a"
If degré = "c" Then
If degré = "s" Then
If degré = "*" Then
End If
Then
degré = "comparatif (c)"
degré = "superlatif (s)"
degré = "tous (*)"
If Mid(mot, 1, 1) = "n" Then
cbo1.Text = ttype
cbo2.Text = cas
cbo3.Text = genre
cbo4.Text = nombre
cbo5.Text = ""
cbo6.Text = ""
ElseIf Mid(mot, 1, 1) = "v" Then
cbo1.Text = ttype
cbo2.Text = Mode
cbo3.Text = temps
cbo4.Text = voix
'a priori pas besoin de faire les personnes
ElseIf Mid(mot, 1, 1) = "a" Then
cbo1.Text = ttype
cbo2.Text = cas
cbo3.Text = genre
cbo4.Text = nombre
cbo5.Text = degré
cbo6.Text = ""
End If
End Sub
Public Sub lstPassages_Click()
If lstPassages.Text <> "" Then
Else
passage = Trim(lstPassages.Text)
premierespace = InStr(1, passage, " ")
deuxpoints = InStr(1, passage, ":")
livre = Mid(passage, 1, premierespace - 1)
chapitre = Mid(passage, premierespace + 1, deuxpoints - 1)
chapitre = Mid(chapitre, 1, InStr(1, chapitre, ":") - 1)
verset = Trim(Mid(passage, deuxpoints + 1, 2))
'MsgBox livre & " " & chapitre & " " & verset
Exit Sub
End If
If livre = "Gen" Then
chercher = "Genèse"
ElseIf livre = "Exo" Then
chercher = "Exode"
ElseIf livre = "Lev" Then
chercher = "Lévitique"
ElseIf livre = "Num" Then
frmAssistant - 8
chercher = "Nombres"
ElseIf livre = "Deu" Then
chercher = "Deutéronome"
ElseIf livre = "Jos" Then
chercher = "Josué"
ElseIf livre = "Jdg" Then
chercher = "Juges"
ElseIf livre = "Rut" Then
chercher = "Ruth"
ElseIf livre = "1Sa" Then
chercher = "1 Samuel"
ElseIf livre = "2Sa" Then
chercher = "2 Samuel"
ElseIf livre = "1Ki" Then
chercher = "1 Rois"
ElseIf livre = "2Ki" Then
chercher = "2 Rois"
ElseIf livre = "1Ch" Then
chercher = "1 Chroniques"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Ezr" Then
chercher = "Esdras"
ElseIf livre = "Neh" Then
chercher = "Néhémie"
ElseIf livre = "Est" Then
chercher = "Esther"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psa" Then
chercher = "Psaumes"
ElseIf livre = "Pro" Then
chercher = "Proverbes"
ElseIf livre = "Ecc" Then
chercher = "Ecclésiaste"
ElseIf livre = "Sol" Then
chercher = "Cantique des cantiques"
ElseIf livre = "Isa" Then
chercher = "Esaïe"
ElseIf livre = "Jer" Then
chercher = "Jérémie"
ElseIf livre = "Lam" Then
chercher = "Lamentations"
ElseIf livre = "Eze" Then
chercher = "Ezéchiel"
ElseIf livre = "Dan" Then
chercher = "Daniel"
ElseIf livre = "Hos" Then
chercher = "Osée"
ElseIf livre = "Joe" Then
chercher = "Joël"
frmAssistant - 9
ElseIf livre = "Amo" Then
chercher = "Amos"
ElseIf livre = "Oba" Then
chercher = "Abdias"
ElseIf livre = "Jon" Then
chercher = "Jonas"
ElseIf livre = "Mic" Then
chercher = "Michée"
ElseIf livre = "Hab" Then
chercher = "Habaquq"
ElseIf livre = "Zep" Then
chercher = "Sophonie"
ElseIf livre = "Hag" Then
chercher = "Aggée"
ElseIf livre = "Nah" Then
chercher = "Nahoum"
ElseIf livre = "Zec" Then
chercher = "Zacharie"
ElseIf livre = "Mal" Then
chercher = "Malachie"
'--------ElseIf livre = "Mat" Then
chercher = "Matthieu"
ElseIf livre = "Mar" Then
chercher = "Marc"
ElseIf livre = "Luk" Then
chercher = "Luc"
ElseIf livre = "Joh" Then
chercher = "Jean"
ElseIf livre = "Act" Then
chercher = "Actes"
ElseIf livre = "Rom" Then
chercher = "Romains"
ElseIf livre = "1Co" Then
chercher = "1 Corinthiens"
ElseIf livre = "2Co" Then
chercher = "2 Corinthiens"
ElseIf livre = "Gal" Then
chercher = "Galates"
ElseIf livre = "Eph" Then
chercher = "Ephésiens"
ElseIf livre = "Phi" Then
chercher = "Philippiens"
ElseIf livre = "Col" Then
chercher = "Colossiens"
ElseIf livre = "1Th" Then
chercher = "1 Thessaloniciens"
ElseIf livre = "2Th" Then
chercher = "2 Thessaloniciens"
ElseIf livre = "1Ti" Then
chercher = "1 Timothée"
frmAssistant - 10
ElseIf livre = "2Ti" Then
chercher = "2 Timothée"
ElseIf livre = "Tit" Then
chercher = "Tite"
ElseIf livre = "Phm" Then
chercher = "Philémon"
ElseIf livre = "Heb" Then
chercher = "Hébreux"
ElseIf livre = "Jam" Then
chercher = "Jacques"
ElseIf livre = "1Pe" Then
chercher = "1 Pierre"
ElseIf livre = "2Pe" Then
chercher = "2 Pierre"
ElseIf livre = "1Jo" Then
chercher = "1 Jean"
ElseIf livre = "2Jo" Then
chercher = "2 Jean"
ElseIf livre = "3Jo" Then
chercher = "3 Jean"
ElseIf livre = "Jud" Then
chercher = "Jude"
ElseIf livre = "Rev" Then
chercher = "Révélation"
End If
frmBible.cboLivre.Text = chercher
frmBible.txtChapitre.Text = chapitre
frmBible.txtverset.Text = verset
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
recherche = frmAssistant.txtRecherche.Text
Open ofile For Input As #lfile
Do
On Error GoTo err:
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, " ")
frmAssistant.Label1.Caption = Mid(ligne, 1, premierespace)
Exit Do
End If
Loop While Not EOF(lfile)
err:
Close
'frmBible.Timer2.Enabled = True
'livre =
'Line1.Visible = True
'Line2.Visible = True
'Line3.Visible = True
End Sub
frmAssistant - 1
VERSION 5.00
Begin VB.Form frmAssistant
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
"
Recherche morphologique ..."
ClientHeight
=
5205
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
4140
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
5205
ScaleWidth
=
4140
ShowInTaskbar
=
0
'False
StartUpPosition =
1 'CenterOwner
Begin VB.ComboBox cbo7
Height
=
315
Left
=
2280
TabIndex
=
20
Top
=
2400
Visible
=
0
'False
Width
=
1575
End
Begin VB.TextBox txtRecherche
Height
=
375
Left
=
120
TabIndex
=
18
Top
=
2400
Visible
=
0
'False
Width
=
1935
End
Begin VB.ListBox lstPassages
Height
=
1815
Left
=
120
TabIndex
=
16
Top
=
3000
Width
=
1935
End
Begin VB.TextBox txtMot
BeginProperty Font
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
120
TabIndex
=
15
Top
=
120
Width
=
2055
End
Begin VB.CommandButton Command2
Caption
=
"Ok"
Default
=
-1 'True
Height
=
375
Left
=
3360
TabIndex
=
14
Top
=
3000
Width
=
495
End
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
3360
TabIndex
=
13
Top
=
4800
Width
=
495
End
Begin VB.TextBox txtcode
Height
=
495
Left
=
2760
frmAssistant - 2
TabIndex
Top
Visible
Width
=
=
=
=
12
120
0
'False
1575
End
Begin VB.ComboBox cbo6
Height
=
315
Left
=
2280
TabIndex
=
5
Top
=
1920
Width
=
1575
End
Begin VB.ComboBox cbo5
Height
=
315
Left
=
2280
TabIndex
=
4
Top
=
1440
Width
=
1575
End
Begin VB.ComboBox cbo4
Height
=
315
Left
=
2280
TabIndex
=
3
Top
=
960
Width
=
1575
End
Begin VB.ComboBox cbo3
Height
=
315
Left
=
120
TabIndex
=
2
Top
=
1920
Width
=
1575
End
Begin VB.ComboBox cbo2
Height
=
315
Left
=
120
TabIndex
=
1
Top
=
1440
Width
=
1575
End
Begin VB.ComboBox cbo1
Height
=
315
Left
=
120
TabIndex
=
0
Top
=
960
Width
=
1575
End
Begin VB.Label Label1
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
615
Left
=
2280
TabIndex
=
19
Top
=
3600
Width
=
1935
End
Begin VB.Label lblOcc
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
8.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
frmAssistant - 3
End
Left
TabIndex
Top
Width
End
Begin VB.Label
BackStyle
Caption
Height
Left
TabIndex
Top
Visible
Width
End
Begin VB.Label
BackStyle
Caption
Height
Left
TabIndex
Top
Visible
Width
End
Begin VB.Label
BackStyle
Caption
Height
Left
TabIndex
Top
Visible
Width
End
Begin VB.Label
BackStyle
Caption
Height
Left
TabIndex
Top
Visible
Width
End
Begin VB.Label
BackStyle
Caption
Height
Left
TabIndex
Top
Visible
Width
End
Begin VB.Label
BackStyle
Caption
Height
Left
TabIndex
Top
Visible
Width
End
=
=
=
=
2280
17
4320
1455
lblcbo6
=
=
=
=
=
=
=
=
0 'Transparent
"Label1"
255
1680
11
2040
0
'False
975
lblcbo5
=
=
=
=
=
=
=
=
0 'Transparent
"Label1"
255
1680
10
1440
0
'False
975
lblcbo4
=
=
=
=
=
=
=
=
0 'Transparent
"Label1"
255
1680
9
960
0
'False
975
lblcbo3
=
=
=
=
=
=
=
=
0 'Transparent
"Cas"
255
-120
8
2040
0
'False
975
lblcbo2
=
=
=
=
=
=
=
=
0 'Transparent
"Cas"
255
-120
7
1440
0
'False
975
lblcbo1
=
=
=
=
=
=
=
=
0 'Transparent
"Type"
255
-120
6
960
0
'False
975
ype
Label1
as
Label1
as
Label1
frmAutomatos - 1
Private Const EM_CHARFROMPOS& = &HD7
Private Type POINTAPI
x As Long
y As Long
End Type
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _
lParam As Any) As Long
Public Function RichWordOver(rch As RichTextBox, x As Single, y As Single) As String
Dim pt As POINTAPI
Dim pos As Integer
Dim start_pos As Integer
Dim end_pos As Integer
Dim ch As String
Dim txt As String
Dim txtlen As Integer
pt.x = x \ Screen.TwipsPerPixelX
pt.y = y \ Screen.TwipsPerPixelY
pos = SendMessage(rch.hwnd, EM_CHARFROMPOS, 0&, pt)
If pos <= 0 Then Exit Function
txt = rch.Text
For start_pos = pos To 1 Step -1
ch = Mid$(rch.Text, start_pos, 1)
If Not ((ch >= "0" And ch <= "9") Or (ch >= "a" And ch <= "z") Or _
(ch >= "A" And ch <= "Z") Or ch = "_") Then Exit For
Next start_pos
start_pos = start_pos + 1
txtlen = Len(txt)
For end_pos = pos To txtlen
ch = Mid$(txt, end_pos, 1)
If Not ((ch >= "0" And ch <= "9") Or (ch >= "a" And ch <= "z") Or _
(ch >= "A" And ch <= "Z") Or ch = "_") Then Exit For
Next end_pos
end_pos = end_pos - 1
If start_pos <= end_pos Then _
RichWordOver = Mid$(txt, start_pos, end_pos - start_pos + 1)
End Function
Private Sub Command1_Click()
automatos = False
frmBible.Show
Unload Me
End Sub
Private Sub Form_Load()
mot = ""
strong = ""
RichTextBox1.Font = frmBible.txtPassage.Font
Label1.Font = frmBible.txtPassage.Font
RichTextBox1.Text = frmBible.txtPassage.Text
RichTextBox1.SelAlignment = frmBible.txtPassage.Alignment
frmAutomatos.Caption = "Verse Parser : " & frmBible.lblchapitre.Caption
'RichTextBox1.Text = "This example will show you how to" & _
'vbCrLf & vbCrLf & "know on which word the mouse hover in Rich Text Box"
End Sub
Private Sub Label1_Change()
mot = Label1.Caption
'lblAnalyse.Caption = ""
lblResultat.Caption = ""
lblStrong.Caption = ""
lblMorpho.Caption = ""
If frmBible.cboVersion.Text = "W/H & Strong" Or _
frmBible.cboVersion.Text = "BHS+" Then
lblanalyse.Caption = mot
End If
End Sub
Private Sub Label4_Click()
frmBible.lblprecedent_Click
RichTextBox1.Text = frmBible.txtPassage.Text
RichTextBox1.SelAlignment = frmBible.txtPassage.Alignment
frmAutomatos.Caption = "Verse Parser : " & frmBible.lblchapitre.Caption
frmAutomatos - 2
End Sub
Private Sub Label5_Click()
frmBible.lblsuivant_Click
RichTextBox1.Text = frmBible.txtPassage.Text
RichTextBox1.SelAlignment = frmBible.txtPassage.Alignment
frmAutomatos.Caption = "Verse Parser : " & frmBible.lblchapitre.Caption
End Sub
Private Sub lblAnalyse_Change()
If lblanalyse.Caption = "" Then Exit Sub
mot = lblanalyse.Caption
'WH/Strong
If frmBible.cboVersion.Text = "W/H & Strong" Then
Call AutomatosWH(mot)
Exit Sub
ElseIf frmBible.cboVersion.Text = "BHS+" Then
frmBible.btnGo_Click
Call AutomatosBHS(mot)
Exit Sub
End If
End Sub
Private Sub RichTextBox1_MouseMove(Button As Integer, Shift As Integer, x _
As Single, y As Single)
Dim txt As String
txt = RichWordOver(RichTextBox1, x, y)
If Label1.Caption <> txt Then _
Label1.Caption = txt
End Sub
frmAutomatos - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmAutomatos
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Verse Parser"
ClientHeight
=
1815
ClientLeft
=
4095
ClientTop
=
6360
ClientWidth
=
7095
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
1815
ScaleWidth
=
7095
ShowInTaskbar
=
0
'False
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
6000
TabIndex
=
2
Top
=
5040
Width
=
495
End
Begin RichTextLib.RichTextBox RichTextBox1
Height
=
1815
Left
=
0
TabIndex
=
1
Top
=
0
Width
=
6615
_ExtentX
=
11668
_ExtentY
=
3201
_Version
=
393217
Enabled
=
-1 'True
ScrollBars
=
2
TextRTF
=
<...>
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
End
Begin VB.Label Label5
BackStyle
=
0 'Transparent
Caption
=
">"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
18
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
6720
TabIndex
=
12
ToolTipText
=
"Verset suivant"
Top
=
480
Width
=
375
End
Begin VB.Label Label4
BackStyle
=
0 'Transparent
Caption
=
"<"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
18
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
frmAutomatos - 2
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
ToolTipText
=
Top
=
Width
=
=
0
'False
375
6720
11
"Verset précédent"
0
375
End
Begin VB.Line Line5
Visible
=
0
'False
X1
=
3480
X2
=
5520
Y1
=
4440
Y2
=
4440
End
Begin VB.Line Line4
X1
=
0
X2
=
1680
Y1
=
0
Y2
=
0
End
Begin VB.Label Label3
BackStyle
=
0 'Transparent
Caption
=
"Morphologie"
Height
=
255
Left
=
3480
TabIndex
=
10
Top
=
4200
Visible
=
0
'False
Width
=
1455
End
Begin VB.Label Label2
BackStyle
=
0 'Transparent
Caption
=
"Strong"
Height
=
255
Left
=
240
TabIndex
=
9
Top
=
4200
Width
=
1455
End
Begin VB.Line Line3
X1
=
240
X2
=
1920
Y1
=
4440
Y2
=
4440
End
Begin VB.Label lblStrong
BackStyle
=
0 'Transparent
Height
=
495
Left
=
240
TabIndex
=
8
Top
=
4560
Width
=
1935
End
Begin VB.Label lblMorpho
BackStyle
=
0 'Transparent
Height
=
855
Left
=
3480
TabIndex
=
7
Top
=
4560
Visible
=
0
'False
Width
=
2415
End
Begin VB.Label lblResultat
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
8.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
1815
frmAutomatos - 3
End
Left
TabIndex
Top
Width
=
=
=
=
3360
6
2280
3015
End
Begin VB.Label lblAnalyse
BackStyle
=
0 'Transparent
Caption
=
"lblAnalyse"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
255
Left
=
2280
TabIndex
=
5
Top
=
3480
Visible
=
0
'False
Width
=
975
End
Begin VB.Line Line2
X1
=
3360
X2
=
5520
Y1
=
2160
Y2
=
2160
End
Begin VB.Label lbl2
BackStyle
=
0 'Transparent
Caption
=
"Définitions possibles"
Height
=
255
Left
=
3360
TabIndex
=
4
Top
=
1920
Width
=
1935
End
Begin VB.Line Line1
X1
=
360
X2
=
2040
Y1
=
2160
Y2
=
2160
End
Begin VB.Label lbl1
BackStyle
=
0 'Transparent
Caption
=
"Mot"
Height
=
255
Left
=
360
TabIndex
=
3
Top
=
1920
Width
=
495
End
Begin VB.Label Label1
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Symbol"
Size
=
14.25
Charset
=
2
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
615
Left
=
360
TabIndex
=
0
Top
=
2280
Width
=
2295
End
<
>
frmBHSLXX - 1
Private Sub btnGo_Click()
' récupération des données propres à la lecture
Dim livre$, chapitre$, verset$, msgerreur$, passage$, fichier$, finverset$
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
' GESTION MAUVAISE SAISIE
If livre = "" Or chapitre = "" Or verset = "" Then
msgerreur = MsgBox("Référence de passage invalide, veuillez vérifier votre saisie !", vbCri
tical)
Exit Sub
End If
' Définition du fichier à ouvrir ET de la forme du verset à chercher
Call BhsLxxDefFichier(livre, chapitre, verset, passage, fichier, finverset)
' j'ai maintenant mon fichier à ouvrir, et mon passage en bonne et due forme
Call LectureBhsLxx(fichier, passage, finverset)
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
cboLivre.AddItem ("Genèse")
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Judith")
cboLivre.AddItem ("Tobie")
cboLivre.AddItem ("1 Maccabées")
cboLivre.AddItem ("2 Maccabées")
cboLivre.AddItem ("3 Maccabées")
cboLivre.AddItem ("4 Maccabées")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Odes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Job")
cboLivre.AddItem ("Sagesse")
cboLivre.AddItem ("Siracides")
cboLivre.AddItem ("Psaumes de Salomon")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Micah")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Nahum")
cboLivre.AddItem ("Habbacuc")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
cboLivre.AddItem ("Isaïe")
cboLivre.AddItem ("Jérémie")
cboLivre.AddItem ("Baruch")
cboLivre.AddItem ("Lamentations")
cboLivre.AddItem ("Epître de Jérémie")
frmBHSLXX - 2
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
End Sub
("Ezékiel")
("Susanna")
("Daniel")
("Bel et Draco")
Private Sub lblLicense_Click()
Dim license
license = App.Path & "\modules\parallel\00.ReadMe.txt"
'txtGauche.LoadFile (license)
Load frmBrowser
frmBrowser.cboAddress.Text = license
frmBrowser.Show
End Sub
Private Sub lblSource_Click()
Dim site$
site = "gopher://ccat.sas.upenn.edu:3333/11/Religious/Biblical/parallel"
Load frmBrowser
frmBrowser.cboAddress.Text = site
frmBrowser.Show
frmBrowser.Caption = "CCAT - Centre pour l'Analyse informatique de textes"
End Sub
frmBHSLXX - 1
VERSION 5.00
Begin VB.Form frmBHSLXX
BackColor
=
&H00FFFFFF&
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
"Parallel Aligned Hebrew-Aramaic and Greek texts of Jewish Scriptures"
ClientHeight
=
5565
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
7155
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
5565
ScaleWidth
=
7155
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.ComboBox cboLivre
Height
=
360
Left
=
480
TabIndex
=
13
Text
=
"Livre"
Top
=
1440
Width
=
2055
End
Begin VB.TextBox txtChapitre
Alignment
=
2 'Center
Height
=
285
Left
=
3000
TabIndex
=
12
Top
=
1440
Width
=
975
End
Begin VB.TextBox txtverset
Alignment
=
2 'Center
Height
=
285
Left
=
4080
TabIndex
=
11
Top
=
1440
Width
=
975
End
Begin VB.CommandButton btnGo
Caption
=
"&Rechercher"
Default
=
-1 'True
Height
=
375
Left
=
5280
TabIndex
=
10
Top
=
1440
Width
=
1455
End
Begin VB.TextBox txtDroite
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
1095
Left
=
3600
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
9
Top
=
2400
Width
=
3135
frmBHSLXX - 2
End
Begin VB.TextBox txtGauche
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
1095
Left
=
240
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
8
Top
=
2400
Width
=
3135
End
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"OK"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
8.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
6480
TabIndex
=
1
Top
=
5040
Width
=
495
End
Begin VB.Label Label2
BackStyle
=
0 'Transparent
Caption
=
"chapitre"
Height
=
255
Left
=
3000
TabIndex
=
15
Top
=
1800
Width
=
975
End
Begin VB.Label Label3
BackStyle
=
0 'Transparent
Caption
=
"verset"
Height
=
255
Left
=
4200
TabIndex
=
14
Top
=
1800
Width
=
975
End
Begin VB.Label lblsuivant
BackStyle
=
0 'Transparent
Caption
=
">"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
18
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
6600
TabIndex
=
7
ToolTipText
=
"Verset suivant"
Top
=
1920
Width
=
375
End
Begin VB.Label lblprecedent
BackStyle
=
0 'Transparent
frmBHSLXX - 3
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
ToolTipText
=
Top
=
Width
=
"<"
=
=
=
=
=
=
=
"MS
18
0
700
0
0
0
Sans Serif"
'False
'False
'False
375
120
6
"Verset précedent"
1920
375
End
Begin VB.Label lblLicense
BackStyle
=
0 'Transparent
Caption
=
"License"
Height
=
255
Left
=
1080
TabIndex
=
5
Top
=
5280
Width
=
855
End
Begin VB.Label lblSource
BackStyle
=
0 'Transparent
Caption
=
"Source"
Height
=
255
Left
=
240
MousePointer
=
2 'Cross
TabIndex
=
4
ToolTipText
=
"Cliquez pour connaître la provenance de ces fichiers"
Top
=
5280
Width
=
735
End
Begin VB.Label Label5
BackStyle
=
0 'Transparent
Caption
=
"Septuaginta, A. Rahlfs (LXX)"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
12
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
Height
=
735
Left
=
3720
TabIndex
=
3
Top
=
3720
Width
=
3135
End
Begin VB.Label Label4
BackStyle
=
0 'Transparent
Caption
=
"Biblica Stugarttensia Texte Consonantique (BHS)"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
12
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
Height
=
855
Left
=
360
TabIndex
=
2
Top
=
3720
Width
=
3255
End
Begin VB.Label Label1
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
frmBHSLXX - 4
End
End
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
"BIBLIA STUGARTTENSIA && SEPTANTE ALIGNEES"
=
=
=
=
=
=
=
"Times New Roman"
15.75
0
700
0
'False
0
'False
0
'False
855
600
0
240
6135
BIBLIA STUGARTTENSIA & SEPTANTE
ALIGNEES
chapitre
<
Biblica Stugarttensia Texte
Consonantique (BHS)
Source License
verset
>
Septuaginta, A. Rahlfs (LXX)
frmBible - 1
'Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
'(ByVal hwndCaller As Long, ByVal pszFile As String, _
'ByVal uCommand As Long, ByVal dwData As Long) As Long
'Dim robby As IAgentCtlCharacterEx
'Const DATAPATH = "robby.acs"
Dim debloque As Boolean
Dim ssaidegr As Boolean
Dim automatos As Boolean
Private WithEvents m_frmSysTray As frmSysTray
Public Sub btnGo_Click()
frmBible.txtPassage.Text = ""
' définitions des variables de cette procédure
Dim fichierseptante$
Dim dictionnaire$, lexique$
Dim version, msg, chercher, fichier, passage, ligne, ligne2, livre
' vidage du tampon
frmBible.lbltampon.Text = ""
' petite gestion de l'alignement du texte
If cboVersion.Text = "BHS" Or cboVersion.Text = "WTM" Then
txtPassage.Alignment = 1
Else
txtPassage.Alignment = 0
End If
'j'enlève les outils du bas
If cboVersion.Text = "W/H & Strong" Then
sortievocale.Visible = False
End If
' affectation des polices de caractères
'Texte Massorétique
lblstrongfr.Visible = False
optstrongfr.Visible = False
If cboVersion.Text = "TM" Then
If cboLivre.Text = "Matthieu" Then
cboLivre.Text = "Genèse"
livre = "Genèse"
End If
If cboVersion.Text = "SG" Then
cboLivre.Text = "Genèse"
cboLivre.Text = "Matthieu"
livre = "Matthieu"
End If
frmBible.txtPassage.Font = "OLBHEB"
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireBHS(livre, chapitre, verset)
frmBible.lblchapitre.Caption = frmBible.cboLivre.Text & " " & frmBible.txtChapitre.Text & ":" &
frmBible.txtverset.Text
txtPassage.ToolTipText = "Double-cliquez sur un mot pour l'analyser ou le définir"
Exit Sub
End If
' Versions anglaises / ajout du menu
If cboVersion.Text = "ASV" Or _
cboVersion.Text = "KJV" Or _
cboVersion.Text = "YLT" Or _
cboVersion.Text = "WEB" Or _
cboVersion.Text = "BBE" Or _
cboVersion.Text = "JPS" Or _
cboVersion.Text = "DR" Or _
cboVersion.Text = "WBST" Then
sortievocale.Visible = False
End If
frmBible - 2
' BHS Vocalisée
If cboVersion.Text = "BHS" Then
frmBible.txtPassage.Font = "Bwhebb"
If cboLivre.Text = "Matthieu" Then
cboLivre.Text = "Genèse"
livre = "Genèse"
End If
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireBHSV(livre, chapitre, verset)
Exit Sub
End If
' NET
If cboVersion.Text = "NET" Or cboVersion.Text = "JPS" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireNET(livre, chapitre, verset)
Exit Sub
End If
' LSG2+
If cboVersion.Text = "LSG & Strong" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireLSGStrong2(livre, chapitre, verset)
Exit Sub
End If
'WH & Strong
If cboVersion.Text = "W/H & Strong" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireWestcottHortParsed(livre, chapitre, verset)
Exit Sub
End If
'BHS+
If cboVersion.Text = "BHS+" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireBHSStrong(livre, chapitre, verset)
Exit Sub
End If
'FILLION
If cboVersion.Text = "FILLION" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
'Call LireFillion(livre, chapitre, verset)
Exit Sub
End If
'Pères apostoliques grec
If cboVersion.Text = "APF-G" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LirePeresGrecs(livre, chapitre, verset)
Exit Sub
End If
'Pères apostoliques par Lightfoot
If cboVersion.Text = "Lightfoot" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LirePeresEn(livre, chapitre, verset)
frmBible - 3
Exit Sub
End If
'Homère, Iliade et Odyssée en grec
If cboVersion.Text = "Homère" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireHomere(livre, chapitre, verset)
Exit Sub
End If
'Pères anté-nicéens ANF en anglais
If cboVersion.Text = "ANF" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireANF(livre, chapitre, verset)
Exit Sub
End If
'Pères apostoliques fr
If cboVersion.Text = "APF-F" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LirePeresFr(livre, chapitre, verset)
Exit Sub
End If
'Pères apostoliques en (Ph. Schaff)
If cboVersion.Text = "APF-E" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LirePeresEn(livre, chapitre, verset)
Exit Sub
End If
'TMN
If cboVersion.Text = "TMN" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireTMN(livre, chapitre, verset)
Exit Sub
End If
' Salkinson-Ginsburg
If cboVersion.Text = "SG" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
'Call LireHNT(livre, chapitre, verset)
frmBible.txtPassage.RightToLeft = True
frmBible.txtPassage.Alignment = vbRightJustify
Exit Sub
End If
If cboVersion.Text = "MRT" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireMRT(livre, chapitre, verset)
Exit Sub
End If
If cboVersion.Text = "OST" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireOST(livre, chapitre, verset)
Exit Sub
End If
If cboVersion.Text = "Tischendorf+" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
frmBible - 4
verset = txtverset.Text
Call LireTIS(livre, chapitre, verset)
Exit Sub
End If
If cboVersion.Text = "WTM" Then
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireWTM(livre, chapitre, verset, mot)
Exit Sub
End If
' NA27
If cboVersion.Text = "NA27" Then
If cboLivre.Text = "Genèse" Then cboLivre.Text = "Matthieu"
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireNA27(livre, chapitre, verset)
txtPassage.Font = "Bwgrkn"
txtPassage.FontSize = 14
Exit Sub
End If
' WH+
If cboVersion.Text = "WH+" Then
If cboLivre.Text = "Genèse" Then cboLivre.Text = "Matthieu"
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireWHPlus(livre, chapitre, verset)
txtPassage.Font = "Bwgrkn"
txtPassage.FontSize = 14
Exit Sub
End If
' gestion des oublis
If cboVersion.Text = "Version" Then
MsgBox "Vous devez sélectionner une version de la Bible", vbInformation, "Bible Parser"
Exit Sub
ElseIf txtChapitre.Text = "" Then
MsgBox "Vous n'avez pas saisi de chapitre", vbInformation, "Bible Parser"
Exit Sub
ElseIf txtverset.Text = "" Then
MsgBox "Vous n'avez pas saisi de verset", vbInformation, "Bible Parser"
ElseIf cboLivre.Text = "" Then
MsgBox "Vous n'avez pas saisi de livre", vbInformation, "Bible Parser"
Exit Sub
End If
'affectation des variables
version = Trim(cboVersion.Text)
chapitre = Trim(txtChapitre.Text)
verset = Trim(txtverset.Text)
livre = Trim(cboLivre.Text)
' définition du fichier livre à ouvrir pour la septante
'If cboVersion.Text = "LXX" Then
'sortievocale.Visible = False
'Call DefFichierSeptante(livre, fichierseptante)
'End If
' Définition du fichier à ouvrir
If cboVersion.Text = "LXX" Then
frmBible.txtPassage.Font = "Bwgrkn"
frmBible.txtPassage.FontSize = 14
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblchapitre.Visible = True
txtPassage.ToolTipText = "Double-cliquez sur un mot pour l'analyser ou le définir"
If cboLivre.Text = "Matthieu" Then
frmBible - 5
cboLivre.Text = "Genèse"
livre = "Genèse"
End If
'chkthayer.Value = False
'chkstrong.Value = True
'fichier = "\modules\Septante\" & fichierseptante
'sortievocale.Visible = False
'MnuSortieVocale.Enabled = False
Call LireLXX(livre, chapitre, verset)
Exit Sub
' Stephanus
ElseIf cboVersion.Text = "Stephanus" Then
If cboLivre.Text = "Genèse" Then cboLivre.Text = "Matthieu"
frmBible.chkstrong.Visible = False
frmBible.lblStrong.Visible = False
frmBible.chkthayer.Visible = False
frmBible.lblthayer.Visible = False
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
Call LireStephanos(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "Scrivener" Then
If cboLivre.Text = "Genèse" Then cboLivre.Text = "Matthieu"
frmBible.chkstrong.Visible = False
frmBible.lblStrong.Visible = False
frmBible.chkthayer.Visible = False
frmBible.lblthayer.Visible = False
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
Call LireScrivener(livre, chapitre, verset)
Exit Sub
'NA26
ElseIf cboVersion.Text = "NA26+" Then
If cboLivre.Text = "Genèse" Then
cboLivre.Text = "Matthieu"
livre = "Matthieu"
End If
'txtPassage.ToolTipText = "Double-cliquez sur un mot pour l'analyser ou le définir"
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireNA26(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "LSG" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
Call LireLSG(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "NEG+" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
Call LireNEG(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "LSG+" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
frmBible - 6
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
Call LireLSGStrong(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "JER" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
Call LireJerusalem(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "BFC" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
Call LireBFC(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "Darby" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
Call LireDarby(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "NBS" Then
MnuSortieVocale.Enabled = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
sortievocale.Visible = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
chkstrong.Value = True
lblchapitre.Caption = livre & " " & chapitre & ":" & verset
Call VersetNBS(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "TOB" Then
MnuSortieVocale.Enabled = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
sortievocale.Visible = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkthayer.Value = False
frmBible - 7
chkstrong.Value = True
lblchapitre.Caption = livre & " " & chapitre & ":" & verset
Call LireTOB(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "DIAGLOTT" Then
lblstrongfr.Visible = False
optstrongfr.Visible = False
'MnuSortieVocale.Enabled = False
'sortievocale.Visible = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
chkthayer.Value = False
chkstrong.Value = True
lblchapitre.Caption = livre & " " & chapitre & ":" & verset
Call Diaglott(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "NT Annoté" Then
lblstrongfr.Visible = False
optstrongfr.Visible = False
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
chkthayer.Value = False
chkstrong.Value = True
lblchapitre.Caption = livre & " " & chapitre & ":" & verset
Call LireNTDF(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "Vulgate" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
chkthayer.Value = False
chkstrong.Value = True
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
Call LireVulgate(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "CRP" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
lblstrongfr.Visible = False
optstrongfr.Visible = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
chkthayer.Value = False
chkstrong.Value = True
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
Call LireCRP(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "W/H & Strong" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
chkstrong.Visible = False
chkthayer.Visible = False
lblStrong.Visible = False
lblthayer.Visible = False
chkthayer.Value = False
chkstrong.Value = True
'txtPassage.ToolTipText = "Double cliquez sur un numéro pour voir sa définition Strong / Thayer
"
fichier = "\modules\WHpars\"
frmBible.optstrongfr.Visible = False
frmBible - 8
frmBible.lblstrongfr.Visible = False
ElseIf cboVersion.Text = "ASV" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireASV(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "KJV" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireKJV(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "YLT" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireYLT(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "WEB" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireWEB(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "Flavius Josèphe" Or cboVersion.Text = "Flavius Josèphe - En" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireFJ(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "Flavius Josèphe - Fr" Then
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\modules\JOS\jof.pdf")
frmPDF.Caption = "Oeuvres complètes de Flavius Josèphe"
If cboLivre.Text = "Antiquités judaïques" Then
frmPDF.pdfmain.setCurrentPage (603)
ElseIf cboLivre.Text = "Guerre des Juifs" Then
frmPDF.pdfmain.setCurrentPage (22)
ElseIf cboLivre.Text = "Contre Apion" Then
frmPDF.pdfmain.setCurrentPage (1318)
End If
frmPDF.Show
Exit Sub
ElseIf cboVersion.Text = "BBE" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireBBE(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "DR" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireDR(livre, chapitre, verset)
Exit Sub
ElseIf cboVersion.Text = "WBST" Then
sortievocale.Visible = False
MnuSortieVocale.Enabled = False
Call LireWebster(livre, chapitre, verset)
Exit Sub
End If
' selon la version choisie, la nomenclature des versets recherchés est différente
If version = "NT grec ancien" Then
Call CreerPassage(version, livre, chapitre, verset, chercher)
ElseIf version = "NT UBS" Then
Call CreerPassagesgreek(version, livre, chapitre, verset, chercher)
ElseIf version = "Vulgate" Then
Call CreerPassageVulgate(version, livre, chapitre, verset, chercher)
ElseIf version = "W/H & Strong" Then
Call CreerPassageWHpars(version, livre, chapitre, verset, chercher, fichier, chap)
Call CorrigerWH(texte)
ElseIf version = "LXX" Then
Call LireSeptante(livre, chapitre, verset, fichier, chercher)
Dim enlevererr$, nveautxt$
msg = Trim(StrReverse(frmBible.txtPassage.Text))
enleverr = InStr(1, msg, " ")
nveautxt = Mid(msg, enleverr + 1, Len(msg))
frmBible - 9
frmBible.txtPassage.Text = StrReverse(nveautxt)
Exit Sub
End If
If cboVersion.Text = "W/H & Strong" Then
Exit Sub
End If
'affichage des références du Treasaury of Scripture Knowledge
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
'If chkTSK.Value = 1 Then
'Call LireTSK(livre, chapitre, verset)
'End If
' lecture de la version choisie
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
Dim toti$
If Len(fichier) < 30 Then
toti = fichier
ofile = App.Path & toti
Else
ofile = fichier
End If
lfile = FreeFile
If fichier <> "" Then
Open ofile For Input As #lfile
Do
'lecture
Input #lfile, ligne
If Mid(ligne, 1, Len(chercher)) = chercher And _
IsNumeric(Mid(ligne, Len(chercher) + 1, 1)) = False Then ' pour que le verset reche
rché soit exact
'affectation du verset du fichier à la variable
passage = ligne
End If
Loop Until EOF(lfile)
Close #lfile
End If
'affecter le verset trouvé au textbox
If passage <> "" Then
txtPassage.Text = Mid(passage, Len(chercher) + 1, Len(passage))
Else
' s'il n'y a pas de verset correspondant, le signaler
txtPassage.Font = "Times New Roman"
txtPassage.Text = "Pas de verset"
End If
'affecter le verset choisi au label au-dessus
lblchapitre.Caption = cboLivre.Text & " " & txtChapitre & " : " & txtverset.Text
lblprecedent.Visible = True
lblsuivant.Visible = True
' affichage des outils d'analyse
If cboVersion.Text = "NA26+" Then
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
ElseIf cboVersion.Text = "Vulgate" Then
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
End If
frmBible - 10
erreur:
Exit Sub
End Sub
Public Sub btnGo_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then btnGo_Click
End Sub
Public Sub BtnGraphic1_Click()
'Load frmTSK
'frmTSK. Show 1
End Sub
Public Sub btnQuitter_Click()
End
End Sub
Public Sub cboLivre_GotFocus()
If cboVersion.Text = "LXX" Or cboVersion.Text = "BHS / LXX" Then
cboLivre.Clear
cboLivre.AddItem ("Genèse")
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Judith")
cboLivre.AddItem ("Tobie")
cboLivre.AddItem ("1 Maccabées")
cboLivre.AddItem ("2 Maccabées")
cboLivre.AddItem ("3 Maccabées")
cboLivre.AddItem ("4 Maccabées")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Odes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Job")
cboLivre.AddItem ("Sagesse")
cboLivre.AddItem ("Siracides")
cboLivre.AddItem ("Psaumes de Salomon")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Micah")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Nahum")
cboLivre.AddItem ("Habbacuc")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
cboLivre.AddItem ("Isaïe")
cboLivre.AddItem ("Jérémie")
cboLivre.AddItem ("Baruch")
cboLivre.AddItem ("Lamentations")
cboLivre.AddItem ("Epître de Jérémie")
cboLivre.AddItem ("Ezékiel")
cboLivre.AddItem ("Susanna")
cboLivre.AddItem ("Daniel")
cboLivre.AddItem ("Bel et Draco")
sortievocale.Visible = False
frmBible - 11
ElseIf cboVersion.Text = "Homère" Then
cboLivre.Clear
cboLivre.AddItem ("Iliade")
cboLivre.AddItem ("Odyssée")
ElseIf cboVersion.Text = "Flavius Josèphe" Or cboVersion.Text = "Flavius Josèphe - En" Or cboVersio
n.Text = "Flavius Josèphe - Fr" Then
cboLivre.Clear
cboLivre.AddItem ("Antiquités judaïques")
cboLivre.AddItem ("Guerre des Juifs")
cboLivre.AddItem ("Vie de FJ")
cboLivre.AddItem ("Contre Apion")
ElseIf cboVersion.Text = "APF-G" Or cboVersion.Text = "APF-F" Or cboVersion.Text = "APF-E" Or cboVe
rsion.Text = "Lightfoot" Then
cboLivre.Clear
cboLivre.AddItem ("1ère de Clément")
cboLivre.AddItem ("2ème de Clément")
cboLivre.AddItem ("Epître de Barnabé")
cboLivre.AddItem ("Ignace - 1ère Ephésiens")
cboLivre.AddItem ("Ignace - 2ème Ephésiens")
cboLivre.AddItem ("Ignace - aux Magnésiens")
cboLivre.AddItem ("Ignace - aux Tralliens")
cboLivre.AddItem ("Ignace - aux Romains")
cboLivre.AddItem ("Ignace - aux Philadelphiens")
cboLivre.AddItem ("Ignace - aux Smyrniotes")
cboLivre.AddItem ("Ignace - à Polycarpe")
cboLivre.AddItem ("Ignace - aux Philippiens")
cboLivre.AddItem ("Martyr de Polycarpe")
cboLivre.AddItem ("La Didachè")
cboLivre.AddItem ("Hermas - Vision 1")
cboLivre.AddItem ("Hermas - Vision 2")
cboLivre.AddItem ("Hermas - Vision 3")
cboLivre.AddItem ("Hermas - Vision 4")
cboLivre.AddItem ("Hermas - Vision 5")
cboLivre.AddItem ("Hermas - Précepte 1") 'HMA
cboLivre.AddItem ("Hermas - Précepte 2") 'HMB
cboLivre.AddItem ("Hermas - Précepte 3") 'HMC
cboLivre.AddItem ("Hermas - Précepte 4") 'HMD
cboLivre.AddItem ("Hermas - Précepte 5") 'HME
cboLivre.AddItem ("Hermas - Précepte 6") 'HMF
cboLivre.AddItem ("Hermas - Précepte 7") 'HMG
cboLivre.AddItem ("Hermas - Précepte 8") 'HMH
cboLivre.AddItem ("Hermas - Précepte 9") 'HMI
cboLivre.AddItem ("Hermas - Précepte 10") 'HMJ
cboLivre.AddItem ("Hermas - Précepte 11") 'HMK
cboLivre.AddItem ("Hermas - Précepte 12") 'HML
cboLivre.AddItem ("Hermas - Similitudes 1") 'HSA
cboLivre.AddItem ("Hermas - Similitudes 2") 'HSB
cboLivre.AddItem ("Hermas - Similitudes 3") 'HSC
cboLivre.AddItem ("Hermas - Similitudes 4") 'HSD
cboLivre.AddItem ("Hermas - Similitudes 5") 'HSE
cboLivre.AddItem ("Hermas - Similitudes 6") 'HSF
cboLivre.AddItem ("Hermas - Similitudes 7") 'HSG
cboLivre.AddItem ("Hermas - Similitudes 8") 'HSH
cboLivre.AddItem ("Hermas - Similitudes 9") 'HSI
cboLivre.AddItem ("Hermas - Similitudes 10") 'HSJ
ElseIf cboVersion.Text = "ANF" Then
cboLivre.Clear
cboLivre.AddItem ("Justin - Apologie")
cboLivre.AddItem ("Justin - Dialogue avec Tryphon")
cboLivre.AddItem ("Justin - Discours avec les Grecs")
cboLivre.AddItem ("Justin - Adresse aux Grecs")
cboLivre.AddItem ("Justin - Sur le gouvernement de Dieu")
cboLivre.AddItem ("Justin - Fragments sur la Résurrection")
cboLivre.AddItem ("Irénée - Contre les Hérésies Livre 1")
cboLivre.AddItem ("Irénée - Contre les Hérésies Livre 2")
cboLivre.AddItem ("Irénée - Contre les Hérésies Livre 3")
cboLivre.AddItem ("Irénée - Contre les Hérésies Livre 4")
cboLivre.AddItem ("Irénée - Contre les Hérésies Livre 5")
cboLivre.AddItem ("Tatien - Adresse aux Grecs")
cboLivre.AddItem ("Théophile d'Antioche à Autolycus")
cboLivre.AddItem ("Athénagore - Défense des Chrétiens") 'PCA
cboLivre.AddItem ("Athénagore - Sur la Résurrections des morts") 'ARD
cboLivre.AddItem ("Clément d'Alexandrie - Exhoration aux cieux") 'CEH
cboLivre.AddItem ("Clément d'Alexandrie - Pédagogue Livre 1") 'CI1
cboLivre.AddItem ("Clément d'Alexandrie - Pédagogue Livre 2") 'CI2
frmBible - 12
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
("Clément d'Alexandrie - Pédagogue Livre 3") 'CI3
("Clément d'Alexandrie - Stromates Livre 1") 'CS1
("Clément d'Alexandrie - Stromates Livre 2") 'CS2
("Clément d'Alexandrie - Stromates Livre 3") 'CS3
("Clément d'Alexandrie - Stromates Livre 4") 'CS4
("Clément d'Alexandrie - Stromates Livre 5") 'CS5
("Clément d'Alexandrie - Stromates Livre 6") 'CS6
("Clément d'Alexandrie - Stromates Livre 7") 'CS7
("Clément d'Alexandrie - Stromates Livre 8") 'CS8
("Tertullien - Apologie") 'TAP, TAp
("Tertullien - Sur l'idolâtrie") 'TID
("Tertullien - Sur les spectacles") 'TSh TSH
("Tertullien - Sur le chapelet") 'TCH
("Tertullien - A Scapula") 'TTS
("Tertullien - Ad Nationes") 'TAD
("Tertullien - Réponse aux Juifs") 'TAJ
("Tertullien - Le témoignage de l'âme") 'TST
("Tertullien - Prescription contre les hérétiques") 'TPH
("Tertullien - Contre Marcion Livre 1") 'TM1
("Tertullien - Contre Marcion Livre 2") 'TM2
("Tertullien - Contre Marcion Livre 3") 'TM3
("Tertullien - Contre Marcion Livre 4") 'TM4
("Tertullien - Contre Marcion Livre 5") 'TM5
("Tertullien - Contre Hermogène") 'TAH
("Tertullien - Contre les Valentiniens") 'TAV
("Tertullien - Sur la chair du Christ") 'TFC
("Tertullien - Sur la résurrection de la chair") 'TRF
("Tertullien - Contre Praxeas") 'TPR
("Tertullien - Scorpiace") 'TSC
("Tertullien - Contre toutes les hérésies") 'AAH
("Tertullien - Sur la repentance") 'TOR
("Tertullien - Sur le baptême") 'TBa
("Tertullien - Sur la prière") 'TOP
("Tertullien - Ad martyras") 'TAM
("Tertullien - Martyr de Perpétue et Félécie") 'TPF
("Tertullien - Sur la patience") 'TPA
("Tertullien - Sur le Pallium") 'TPl
("Tertullien - Sur les ornements des femmes") 'TAW
("Tertullien - Sur le voile des vierges") 'TVV
("Tertullien - A sa femme") 'THW
("Tertullien - Exhortation à la chasteté") 'TEC
("Tertullien - Sur la monogamie") 'TOM
("Tertullien - Sur la modestie") 'TMD
("Tertullien - Sur les fêtes") 'TOF
("Tertullien - De fuga in persecutione") 'TFP
("Munucius Felix - L'Octavius") 'MFO
("Munucius Felix - Instructions de Commodianus") 'MFC
("Origène - Prologue") 'OPP
("Origène - De Principiis Livre 1") 'OP1
("Origène - De Principiis Livre 2") 'OP2
("Origène - De Principiis Livre 3") 'OP3
("Origène - De Principiis Livre 4") 'OP4
("Origène - Lettres") 'OLt
("Origène - Contre Celse") 'OAC
("Hippolyte - Réfutation de toutes les hérésies") 'HRH
("Anonyme - Canon de Muratori") 'TMC
'LPC,Pontius the Deacon Life and Passion of Cyprian,LPC,LPC
'CEp,Cyprian Epistles of Cyprian,CEp,CEP
'CTr,Cyprian Treatises of Cyprian,CTr,CTR
'CEM,Cyprian Exhortation to Martyrdom,CEM,CEM
'CAJ,Cyprian Three Books of Testimonies Against the Jews,CAJ,CAJ
'SCC,Seventh Council of Carthage re: Baptism of Heretics,SCC,SCC
'TMC,The Muratorian Canon,TMC,TMC
'NTT,Novatian Treatise re: the Trinity,NTT,NTT
'NJM,Novation On the Jewish Meats,NJM,NJM
'AAN,Anonymous Treatise Against Novatian,AAN,AAN
'ATB,Anonymous Treatise on Re-Baptism,ATB,ATB
'TDF,Gregory Thaumaturgus Declaration of Faith,TDF,TDF
'TME,Gregory Thaumaturgus Metaphrase of Ecclesiastes,TME,TME
'TCE,Gregory Thaumaturgus Canonical Epistle,TCE,TCE
'TPO,Gregory Thaumaturgus Panegyric to Origen,TPO,TPO
ElseIf cboVersion.Text = "FILLION" Then
cboLivre.Clear
cboLivre.AddItem ("Genèse")
frmBible - 13
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Judith")
cboLivre.AddItem ("Tobie")
cboLivre.AddItem ("1 Maccabées")
cboLivre.AddItem ("2 Maccabées")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Job")
cboLivre.AddItem ("Sagesse")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Michée")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Nahum")
cboLivre.AddItem ("Habbacuc")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
cboLivre.AddItem ("Isaïe")
cboLivre.AddItem ("Jérémie")
cboLivre.AddItem ("Baruch")
cboLivre.AddItem ("Lamentations")
cboLivre.AddItem ("Ezékiel")
cboLivre.AddItem ("Daniel")
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Pierre")
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
sortievocale.Visible = False
ElseIf cboVersion.Text = "ASV" Or _
cboVersion.Text = "KJV" Or _
frmBible - 14
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboVersion.Text
cboLivre.Clear
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
=
=
=
=
=
=
=
=
=
=
=
=
=
=
"YLT" Or _
"WEB" Or _
"BBE" Or _
"JPS" Or _
"DR" Or _
"WBST" Or _
"NEG+" Or _
"LSG+" Or _
"LSG & Strong" Or _
"TM" Or _
"BHS+" Or _
"TMN" Or _
"JPS" Or _
"NET" Then
("Genèse")
("Exode")
("Lévitique")
("Nombres")
("Deutéronome")
("Josué")
("Juges")
("Ruth")
("1 Samuel")
("2 Samuel")
("1 Rois")
("2 Rois")
("1 Chroniques")
("2 Chroniques")
("Esdras")
("Néhémie")
("Esther")
("Job")
("Psaumes")
("Proverbes")
("Ecclésiaste")
("Cantique des cantiques")
("Esaïe")
("Jérémie")
("Lamentations")
("Ezéchiel")
("Daniel")
("Osée")
("Joël")
("Amos")
("Abdias")
("Jonas")
("Michée")
("Nahoum")
("Habaquq")
("Sophonie")
("Aggée")
("Zacharie")
("Malachie")
("Matthieu")
("Marc")
("Luc")
("Jean")
("Actes")
("Romains")
("1 Corinthiens")
("2 Corinthiens")
("Galates")
("Ephésiens")
("Philippiens")
("Colossiens")
("1 Thessaloniciens")
("2 Thessaloniciens")
("1 Timothée")
("2 Timothée")
("Tite")
("Philémon")
("Hébreux")
("Jacques")
("1 Pierre")
frmBible - 15
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
sortievocale.Visible = False
ElseIf cboVersion.Text = "BHS" Or cboVersion.Text = "TM" Then
txtPassage.RightToLeft = True
sortievocale.Visible = False
'
cboLivre.Clear
cboLivre.AddItem ("Genèse")
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Job")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Esaïe")
cboLivre.AddItem ("Jérémie")
cboLivre.AddItem ("Lamentations")
cboLivre.AddItem ("Ezéchiel")
cboLivre.AddItem ("Daniel")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Michée")
cboLivre.AddItem ("Nahoum")
cboLivre.AddItem ("Habaquq")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
ElseIf cboVersion.Text = "NT Annoté" Then
cboLivre.Clear
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
sortievocale.Visible = False
ElseIf cboVersion.Text = "NA27" Or cboVersion.Text = "WH+" Or cboVersion.Text = "SG" Or cboVersion.
Text = "Tischendorf+" Or cboVersion.Text = "DIAGLOTT" Then
cboLivre.Clear
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
frmBible - 16
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Pierre")
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
sortievocale.Visible = False
ElseIf cboVersion.Text = "The Emphatic Diaglott" Then
cboLivre.Clear
cboLivre.AddItem ("Matthew")
cboLivre.AddItem ("Mark")
cboLivre.AddItem ("Luke")
cboLivre.AddItem ("John")
cboLivre.AddItem ("Acts")
cboLivre.AddItem ("Romans")
cboLivre.AddItem ("1 Corinthians")
cboLivre.AddItem ("2 Corinthians")
cboLivre.AddItem ("Galatians")
cboLivre.AddItem ("Ephesians")
cboLivre.AddItem ("Philippians")
cboLivre.AddItem ("Colossians")
cboLivre.AddItem ("1 Thessalonians")
cboLivre.AddItem ("2 Thessalonians")
cboLivre.AddItem ("1 Timothy")
cboLivre.AddItem ("2 Timothy")
cboLivre.AddItem ("Titus")
cboLivre.AddItem ("Philemon")
cboLivre.AddItem ("Hebrews")
cboLivre.AddItem ("James")
cboLivre.AddItem ("1 Peter")
cboLivre.AddItem ("2 Peter")
cboLivre.AddItem ("1 John")
cboLivre.AddItem ("2 John")
cboLivre.AddItem ("3 John")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Revelation")
sortievocale.Visible = False
ElseIf cboVersion.Text = "NA26+" Or cboVersion.Text = "Stephanus" Or cboVersion.Text = "Scrivener"
Then
cboLivre.Clear
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Pierre")
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
frmBible - 17
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
sortievocale.Visible = False
ElseIf cboVersion.Text = "W/H & Strong" Then
cboLivre.Clear
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Pierre")
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
'
sortievocale.Visible = False
ElseIf cboVersion.Text = "Vulgate" Then
cboLivre.Clear
cboLivre.AddItem ("Genèse")
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Job")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Esaïe")
cboLivre.AddItem ("Jérémie")
cboLivre.AddItem ("Lamentations")
cboLivre.AddItem ("Ezéchiel")
cboLivre.AddItem ("Daniel")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Michée")
cboLivre.AddItem ("Nahoum")
cboLivre.AddItem ("Habaquq")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
frmBible - 18
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
("Malachie")
("Matthieu")
("Marc")
("Luc")
("Jean")
("Actes")
("Romains")
("1 Corinthiens")
("2 Corinthiens")
("Galates")
("Ephésiens")
("Philippiens")
("Colossiens")
("1 Thessaloniciens")
("2 Thessaloniciens")
("1 Timothée")
("2 Timothée")
("Tite")
("Philémon")
("Hébreux")
("Jacques")
("1 Pierre")
("2 Pierre")
("1 Jean")
("2 Jean")
("3 Jean")
("Jude")
("Révélation")
sortievocale.Visible = False
ElseIf cboVersion.Text = "LSG" Or _
cboVersion.Text = "NBS" Or _
cboVersion.Text = "TOB" Or _
cboVersion.Text = "JER" Or _
cboVersion.Text = "Darby" Or _
cboVersion.Text = "BFC" Or _
cboVersion.Text = "NEG+" Or _
cboVersion.Text = "MRT" Or _
cboVersion.Text = "OST" Or _
cboVersion.Text = "CRP" Then
cboLivre.Clear
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
("Genèse")
("Exode")
("Lévitique")
("Nombres")
("Deutéronome")
("Josué")
("Juges")
("Ruth")
("1 Samuel")
("2 Samuel")
("1 Rois")
("2 Rois")
("1 Chroniques")
("2 Chroniques")
("Esdras")
("Néhémie")
("Esther")
("Job")
("Psaumes")
("Proverbes")
("Ecclésiaste")
("Cantique des cantiques")
("Esaïe")
("Jérémie")
("Lamentations")
("Ezéchiel")
("Daniel")
("Osée")
("Joël")
("Amos")
("Abdias")
("Jonas")
("Michée")
("Nahoum")
frmBible - 19
cboLivre.AddItem ("Habaquq")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Pierre")
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
sortievocale.Visible = False
End If
End Sub
Public Sub cboVersion_Change()
If txtverset.Text <> "" Then btnGo_Click
If cboVersion.Text = "LXX" Then
cboLivre.Clear
cboLivre.AddItem ("Genèse")
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Judith")
'cboLivre.AddItem ("Tobie")
cboLivre.AddItem ("1 Maccabées")
cboLivre.AddItem ("2 Maccabées")
'cboLivre.AddItem ("3 Maccabées")
'cboLivre.AddItem ("4 Maccabées")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Odes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Job")
'cboLivre.AddItem ("Sagesse")
'cboLivre.AddItem ("Siracides")
frmBible - 20
'cboLivre.AddItem ("Psaumes de Salomon")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Micah")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Nahum")
cboLivre.AddItem ("Habbacuc")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
cboLivre.AddItem ("Isaïe")
cboLivre.AddItem ("Jérémie")
'cboLivre.AddItem ("Baruch")
cboLivre.AddItem ("Lamentations")
'cboLivre.AddItem ("Epître de Jérémie")
cboLivre.AddItem ("Ezékiel")
'cboLivre.AddItem ("Susanna")
cboLivre.AddItem ("Daniel")
'cboLivre.AddItem ("Bel et Draco")
ElseIf cboVersion.Text = "W/H & Strong" Then
txtPassage.FontSize = "14"
cboLivre.Clear
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
cboLivre.AddItem ("Jacques")
cboLivre.AddItem ("1 Pierre")
cboLivre.AddItem ("2 Pierre")
cboLivre.AddItem ("1 Jean")
cboLivre.AddItem ("2 Jean")
cboLivre.AddItem ("3 Jean")
cboLivre.AddItem ("Jude")
cboLivre.AddItem ("Révélation")
ElseIf cboVersion.Text = "Vulgate" Then
txtPassage.FontSize = "12"
cboLivre.Clear
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
frmBible - 21
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
("1 Timothée")
("2 Timothée")
("Tite")
("Philémon")
("Hébreux")
("Jacques")
("1 Pierre")
("2 Pierre")
("1 Jean")
("2 Jean")
("3 Jean")
("Jude")
("Révélation")
ElseIf cboVersion.Text = "LSG" Then
cboLivre.Clear
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
cboLivre.AddItem ("Genèse")
cboLivre.AddItem ("Exode")
cboLivre.AddItem ("Lévitique")
cboLivre.AddItem ("Nombres")
cboLivre.AddItem ("Deutéronome")
cboLivre.AddItem ("Josué")
cboLivre.AddItem ("Juges")
cboLivre.AddItem ("Ruth")
cboLivre.AddItem ("1 Samuel")
cboLivre.AddItem ("2 Samuel")
cboLivre.AddItem ("1 Rois")
cboLivre.AddItem ("2 Rois")
cboLivre.AddItem ("1 Chroniques")
cboLivre.AddItem ("2 Chroniques")
cboLivre.AddItem ("Esdras")
cboLivre.AddItem ("Néhémie")
cboLivre.AddItem ("Esther")
cboLivre.AddItem ("Job")
cboLivre.AddItem ("Psaumes")
cboLivre.AddItem ("Proverbes")
cboLivre.AddItem ("Ecclésiaste")
cboLivre.AddItem ("Cantique des cantiques")
cboLivre.AddItem ("Esaïe")
cboLivre.AddItem ("Jérémie")
cboLivre.AddItem ("Lamentations")
cboLivre.AddItem ("Ezéchiel")
cboLivre.AddItem ("Daniel")
cboLivre.AddItem ("Osée")
cboLivre.AddItem ("Joël")
cboLivre.AddItem ("Amos")
cboLivre.AddItem ("Abdias")
cboLivre.AddItem ("Jonas")
cboLivre.AddItem ("Michée")
cboLivre.AddItem ("Nahoum")
cboLivre.AddItem ("Habaquq")
cboLivre.AddItem ("Sophonie")
cboLivre.AddItem ("Aggée")
cboLivre.AddItem ("Zacharie")
cboLivre.AddItem ("Malachie")
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
cboLivre.AddItem ("1 Corinthiens")
cboLivre.AddItem ("2 Corinthiens")
cboLivre.AddItem ("Galates")
cboLivre.AddItem ("Ephésiens")
cboLivre.AddItem ("Philippiens")
cboLivre.AddItem ("Colossiens")
cboLivre.AddItem ("1 Thessaloniciens")
cboLivre.AddItem ("2 Thessaloniciens")
cboLivre.AddItem ("1 Timothée")
cboLivre.AddItem ("2 Timothée")
cboLivre.AddItem ("Tite")
cboLivre.AddItem ("Philémon")
cboLivre.AddItem ("Hébreux")
frmBible - 22
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
End If
End Sub
("Jacques")
("1 Pierre")
("2 Pierre")
("1 Jean")
("2 Jean")
("3 Jean")
("Jude")
("Révélation")
Public Sub cboVersion_LostFocus()
If cboVersion.Text <> "DIAGLOTT" Then
frmBible.Caption = "Menu Général - " & cboVersion.Text
Else
frmBible.Caption = "Menu Général - The Emphatic Diaglott, Benjamin Wilson [1942]"
End If
End Sub
Public Sub Command1_Click()
Unload Me
End
End Sub
Public Sub Command2_Click()
Load frmBHSLXX
frmBHSLXX.Show
End Sub
Public Sub fctLexique_Click()
Load frmGF
frmGF.Show
End Sub
Public Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then btnGo_Click
End Sub
Private Sub m_frmSysTray_SysTrayDoubleClick(ByVal eButton As MouseButtonConstants)
'double clic dans la barre de tache
Me.Show
Me.ZOrder
End Sub
Private Sub m_frmSysTray_SysTrayMouseDown(ByVal eButton As MouseButtonConstants)
' clic droit souris
If (eButton = vbRightButton) Then
m_frmSysTray.ShowMenu
End If
End Sub
Private Sub m_frmSysTray_MenuClick(ByVal lIndex As Long, ByVal sKey As String)
Select Case sKey
Case "open"
Me.Show
Me.ZOrder
If Me.WindowState = 1 Then Me.WindowState = 0
Case "close"
Unload Me
End
Case "about"
frmBible.mnuBP_Click
Case "site"
frmBrowser.cboAddress.Text = "http://www.areopage.net"
End Select
End Sub
Public Sub Form_Load()
Dim ofile%
Dim fichier$, mot$
automatos = False
'fichier = App.Path & "\tools\bp.ini"
'ofile = FreeFile
'Open fichier For Input As #ofile
'Input #ofile, mot
'If mot = "NBS" Then
frmBible - 23
'
debloque = True
'
Else
'
debloque = flase
'End If
'---------------------'Mise en icône dans la barre des tâches (Merci à vbaccelerator.com !)
If (chkSysTray.Value = Checked) Then
Set m_frmSysTray = New frmSysTray
With m_frmSysTray
.AddMenuItem "&Ouvrir Bible Parser", "open", True
.AddMenuItem "-"
.AddMenuItem "&Site de l'auteur", "site"
.AddMenuItem "&A propos...", "about"
.AddMenuItem "-"
.AddMenuItem "&Quitter", "close"
.ToolTip = "Bible Parser 2006"
End With
m_frmSysTray.IconHandle = LoadPicture(App.Path & "\tools\book02.ico")
Else
Unload m_frmSysTray
Set m_frmSysTray = Nothing
End If
'fin de la mise en barre de tâche
Label4.Caption = "version " & App.Major & "." & App.Minor & "." & App.Revision
lblprecedent.Visible = False
lblsuivant.Visible = False
txtPassage.Font = "Grenet"
'frmBible.txtPassage.RightToLeft = True
'-----------------------------------------------------------------------------cboVersion.AddItem ("BHS+")
cboVersion.AddItem ("BHS")
cboVersion.AddItem ("TM")
'cboVersion.AddItem ("SG")
cboVersion.AddItem ("--")
cboVersion.AddItem ("LXX")
cboVersion.AddItem ("NA26+")
cboVersion.AddItem ("NA27")
cboVersion.AddItem ("WH+")
cboVersion.AddItem ("Tischendorf+")
cboVersion.AddItem ("W/H & Strong")
cboVersion.AddItem ("Stephanus")
cboVersion.AddItem ("Scrivener")
cboVersion.AddItem ("--")
cboVersion.AddItem ("APF-G")
cboVersion.AddItem ("APF-F")
cboVersion.AddItem ("APF-E")
cboVersion.AddItem ("Lightfoot")
cboVersion.AddItem ("ANF")
cboVersion.AddItem ("--")
cboVersion.AddItem ("Vulgate")
cboVersion.AddItem ("--")
cboVersion.AddItem ("LSG")
'cboVersion.AddItem ("LSG+")
cboVersion.AddItem ("LSG & Strong")
cboVersion.AddItem ("TMN")
cboVersion.AddItem ("OST")
cboVersion.AddItem ("CRP")
cboVersion.AddItem ("Darby")
cboVersion.AddItem ("MRT")
'cboVersion.AddItem ("Chouraqui (à faire)")
cboVersion.AddItem ("--")
cboVersion.AddItem ("DIAGLOTT")
cboVersion.AddItem ("ASV")
cboVersion.AddItem ("KJV")
cboVersion.AddItem ("YLT")
cboVersion.AddItem ("WEB")
cboVersion.AddItem ("JPS")
cboVersion.AddItem ("BBE")
cboVersion.AddItem ("DR")
cboVersion.AddItem ("WBST")
cboVersion.AddItem ("--")
cboVersion.AddItem ("Flavius Josèphe")
frmBible - 24
cboVersion.AddItem ("Flavius Josèphe - En")
cboVersion.AddItem ("Flavius Josèphe - Fr")
'cboVersion.AddItem ("Homère")
mnuGingrich.Enabled = False
mnuTWOT.Enabled = False
mnuTDNT.Enabled = False
mnuRosetta.Enabled = False
'mnuAuvray.Enabled = False
'mnuAbel.Enabled = False
cboVersion.Text = "NA27"
cboLivre.Text = "Matthieu"
txtChapitre.Text = "1"
txtverset.Text = "1"
btnGo_Click
frmBible.lblprecedent.Visible = True
frmBible.lblsuivant.Visible = True
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
mnuZetoG.Checked = False
'frmBible.PopupMenu mnuRecherche
'Microsoft Agent robby
'Agent.Characters.Load "robby", DATAPATH
'Set robby = Agent.Characters("robby")
'robby.LanguageID = &H40C
'Dim c
'c = robby.MoveTo(640, 200)
'robby.Show
'robby.Play ("GetAttention")
'robby.Think ("Bonjour, Je suis Robby. Je vous lirai les passages que vous souhaitez. Pour
cela, cliquez moi, ou pressez F2")
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
Unload m_frmSysTray
Set m_frmSysTray = Nothing
End Sub
Public Sub Form_Resize()
If Me.WindowState = 2 Then Me.WindowState = 0
'If Me.WindowState = 1 Then Me.Hide
On Error GoTo suite
frmBible.Height = 5955
frmBible.Width = 7260
suite:
End Sub
Public Sub Label5_Click()
frmBible.txtPassage.FontSize = frmBible.txtPassage.FontSize + 2
End Sub
Public Sub chkSysTray_Click()
If (chkSysTray.Value = Checked) Then
Set m_frmSysTray = New frmSysTray
With m_frmSysTray
.AddMenuItem "&Open SysTray Sample", "open", True
.AddMenuItem "-"
.AddMenuItem "&vbAccelerator on the Web", "vbAccelerator"
.AddMenuItem "&About...", "About"
.AddMenuItem "-"
.AddMenuItem "&Close", "close"
.ToolTip = "SysTray Sample!"
End With
m_frmSysTray.IconHandle = LoadPicture(App.Path & "\tools\book02.ico")
Else
Unload m_frmSysTray
Set m_frmSysTray = Nothing
End If
End Sub
Public Sub Label6_Click()
frmBible.txtPassage.FontSize = frmBible.txtPassage.FontSize - 2
End Sub
frmBible - 25
Public Sub lblprecedent_Click()
txtverset.Text = Val(txtverset.Text) - 1
btnGo_Click
End Sub
Public Sub lblsuivant_Click()
txtverset.Text = Val(txtverset.Text) + 1
btnGo_Click
End Sub
Public Sub mnuAcad_Click()
frmBrowser.cboAddress.Text = "http://www.lib.uchicago.edu/efts/ARTFL/projects/dicos/ACADEMIE/CINQUI
EME/search.form.fr.html"
End Sub
Public Sub mnuAcadFr_Click()
Dim mot$
mot = InputBox("Indiquez le mot que vous recherchez" & vbCrLf _
& "Thésor de la langue française - Jean Nicot, 1606" & vbCrLf _
& "Dictionnaire critique de la langue française - Jean-François Féraud, 1787-1788" & vbCrLf _
& "Dictionaire de l'Académie Française, 1e, 4e, 5e, 6e et 8e éditions")
If mot <> "" Then
Load frmBrowser
frmBrowser.cboAddress.Text = "http://colet.uchicago.edu/cgi-bin/dico1look.pl?strippedhw=" & mot & "
&headword=&docyear=ALL&dicoid=ALL&articletype=1"
Else
mot = MsgBox("Vous n'avez pas saisi de mot à définir !", vbExclamation, "Erreur")
Exit Sub
End If
End Sub
Public Sub mnuAddEnglish_Click()
mnuAddEnglish.Checked = True
mnuRemoveEnglish.Checked = False
cboVersion.Clear
cboVersion.AddItem ("BHS")
cboVersion.AddItem ("LXX")
cboVersion.AddItem ("NA26+")
cboVersion.AddItem ("W/H & Strong")
cboVersion.AddItem ("Stephanus")
cboVersion.AddItem ("Scrivener")
cboVersion.AddItem ("Vulgate")
cboVersion.AddItem ("LSG")
cboVersion.AddItem ("Darby")
cboVersion.AddItem ("NBS")
cboVersion.AddItem ("ASV")
cboVersion.AddItem ("KJV")
cboVersion.AddItem ("YLT")
cboVersion.AddItem ("WEB")
cboVersion.AddItem ("BBE")
cboVersion.AddItem ("DR")
cboVersion.AddItem ("WBST")
cboLivre.Text = "Genèse"
txtChapitre.Text = "1"
txtverset.Text = "1"
cboVersion.Text = "ASV"
btnGo_Click
End Sub
Public Sub mnuAnalyseGrec_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/cgi-bin/morphindex?lang=greek"
'
End Sub
Public Sub mnuAnalyseLatin_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/cgi-bin/morphindex?lang=latin"
End Sub
Public Sub mnuBaker_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Dictionaries/BakersEvangelicalDictionary/"
End Sub
frmBible - 26
Public Sub mnuA_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuAbel_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\abel\abel.pdf")
frmPDF.Caption = "Abel, Grammaire de grec biblique"
frmPDF.Show
End Sub
Public Sub mnuAG_Click()
Load frmGrammaire
ssaidegr = False
frmGrammaire.Show
End Sub
Public Sub mnuAlpha_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (2)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuAntiquites_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\grk\AGrecques.pdf")
frmPDF.Caption = "P. Paris/G. Roques, Lexique des Antiquités grecques et latines (1909)"
frmPDF.Show
'AGrecques.pdf
End Sub
Private Sub mnuApparatCritique_Click()
livre = cboLivre.Text
chapitre = txtChapitre.Text
verset = txtverset.Text
If livre = "Matthieu" Then
chercher = "47"
ElseIf livre = "Marc" Then
chercher = "48"
ElseIf livre = "Luc" Then
chercher = "49"
ElseIf livre = "Jean" Then
chercher = "50"
ElseIf livre = "Actes" Then
chercher = "51"
ElseIf livre = "Romains" Then
chercher = "52"
ElseIf livre = "1 Corinthiens" Then
chercher = "53"
ElseIf livre = "2 Corinthiens" Then
chercher = "54"
ElseIf livre = "Galates" Then
chercher = "55"
ElseIf livre = "Ephésiens" Then
chercher = "56"
ElseIf livre = "Philippiens" Then
chercher = "57"
ElseIf livre = "Colossiens" Then
chercher = "58"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "59"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "60"
ElseIf livre = "1 Timothée" Then
chercher = "61"
ElseIf livre = "2 Timothée" Then
chercher = "62"
frmBible - 27
ElseIf livre = "Tite" Then
chercher = "63"
ElseIf livre = "Philémon" Then
chercher = "64"
ElseIf livre = "Hébreux" Then
chercher = "65"
ElseIf livre = "Jacques" Then
chercher = "66"
ElseIf livre = "1 Pierre" Then
chercher = "67"
ElseIf livre = "2 Pierre" Then
chercher = "68"
ElseIf livre = "1 Jean" Then
chercher = "69"
ElseIf livre = "2 Jean" Then
chercher = "70"
ElseIf livre = "3 Jean" Then
chercher = "71"
ElseIf livre = "Jude" Then
chercher = "72"
ElseIf livre = "Révélation" Then
chercher = "73"
'http://www.laparola.net/greco/index.php?rif1=49&rif2=4%3A15
End If
frmBrowser.cboAddress.Text = "http://www.laparola.net/greco/index.php?rif1=" & chercher & "&rif2="
& chapitre & "%3A" & verset
'http://bible.ovc.edu/tc/lay13act.htm#ac20_28b
End Sub
Private Sub mnuApparatus_Click()
Dim page As Integer
Dim livre As String
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\Apparat.pdf")
frmPDF.Caption = "A Student's Guide to New Testament Textual Variants"
frmPDF.pdfmain.setCurrentPage (0)
frmPDF.Show
End Sub
Public Sub mnuATSBD_Click()
Load frmDictionnaires
frmDictionnaires.cboEncyclo.Text = "ATSBD"
frmDictionnaires.Show
End Sub
Private Sub mnuAutomatos_Click()
automatos = True
Dim msg$
If cboVersion.Text = "W/H & Strong" Or cboVersion = "BHS+" Or cboVersion = "TM" Then
Load frmAutomatos
frmAutomatos.Show
'frmBible.Hide
Else
msg = MsgBox("Verse Parser n'est disponible pour que le texte grec Westcott/Hort & Strong et hé
breu BHS+ !", vbInformation)
End If
End Sub
Public Sub mnuAuvray_Click()
'frmBible.pdfmain.LoadFile (App.Path & "\ref\auv\auvray.pdf")
'frmBible.pdfmain.setCurrentPage (1)
frmPDF.pdfmain.LoadFile (App.Path & "\ref\auv\auvray.pdf")
frmPDF.Show
End Sub
Public Sub mnuBDBA_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\boxus\boxus.pdf")
frmPDF.Caption = "Anne-Marie Boxus, Précis de grammaire grecque"
frmPDF.Show
frmBible - 28
End Sub
Private Sub mnuAyin_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1133)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuBaillyTout_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuBeta_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (146)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuBeth_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (146)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuBHSLXX_Click()
Load frmBHSLXX
frmBHSLXX.Show
End Sub
Public Sub mnuBoxus_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\boxus\boxus.pdf")
frmPDF.Caption = "Anne-Marie Boxus, Précis de grammaire grecque"
frmPDF.Show
End Sub
Public Sub mnuBP_Click()
MsgBox "Bible Parser v." & App.Major & "." & App.Minor & "." & App.Revision & ", par Didier Fontain
e" & vbCrLf & vbCrLf & "(c) 2003 - 2006", vbInformation, "A propos..."
End Sub
Public Sub mnuParse_Click()
Load frmParse
frmParse.Show
End Sub
Public Sub mnuBPT_Click()
'frmBrowser.cboAddress.Text = "http://www.unboundbible.org/index.cfm?lang=french"
End Sub
Public Sub mnuBST_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/"
End Sub
Private Sub mnuBurnouf_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\grk\Burnouf.pdf")
frmPDF.Caption = "Burnouf - Méthode pour étudier la langue grecque"
frmPDF.Show
End Sub
frmBible - 29
Public Sub mnuBurton_Click()
frmBrowser.cboAddress.Text = "http://www.dabar.org/BurtonMoodsTenses/Main-Burton.html"
'
End Sub
Public Sub mnuCBC_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Encyclopedias/CondensedBiblicalCyclopedia/
"
End Sub
Public Sub mnuCBC2_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.optCBC.Value = True
End Sub
Public Sub mnuCE_Click()
frmBrowser.cboAddress.Text = "http://www.newadvent.org/cathen/"
End Sub
Public Sub mnuDarby_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/DarbysSynopsisofNewTestament/
"
End Sub
Public Sub mnuDavid_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/TreasuryofDavid/"
End Sub
Public Sub mnuBurton2_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\burton\burton.pdf")
frmPDF.pdfmain.setCurrentPage (6)
frmPDF.Caption = "Burton - Moods and Tenses of New Testament Greek"
frmPDF.Show
End Sub
Private Sub mnuCAF_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\Dicogr\LMG.pdf")
frmPDF.Caption = "P. Crouzet, P. Andraud, A. Font - Dictionnaire grec-français [Méthode grecque, 19
27]"
frmPDF.Show
End Sub
Private Sub mnuCatenaRC_Click()
livre = frmBible.cboLivre.Text
chapitre = frmBible.txtChapitre.Text
Call eCatena(livre, chapitre)
End Sub
Public Sub mnuCellerier_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\cel\cellerier.pdf")
frmPDF.Caption = "Cellerier - Elements de grammaire hébraïque"
frmPDF.Show
End Sub
Public Sub mnuConybeare_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\cony\conybeare.pdf")
frmPDF.Caption = "Conybeare - A Grammar of Septuagint Greek"
frmPDF.Show
End Sub
Public Sub mnuDalet_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (284)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmBible - 30
frmPDF.Show
End Sub
Private Sub mnuDavis_Click()
frmBrowser.cboAddress.Text = "http://www.earlychristianwritings.com/davis/"
End Sub
Public Sub mnuDelta_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (179)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuDicEaston_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.optEaston.Value = True
frmDictionnaires.cboEncyclo.Text = "Easton"
End Sub
Public Sub mnuDicoLat_Click()
Load frmDicoLatFr
frmDicoLatFr.Show
End Sub
Private Sub mnuDicoLatC_Click()
mot = Trim(txtPassage.SelText)
Load frmDicoLatFr
frmDicoLatFr.Text1.Text = mot
frmDicoLatFr.btnGo_Click
frmDicoLatFr.Show
End Sub
Private Sub mnuDicoST_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\ST\ST.pdf")
frmPDF.Caption = "Sander et Trenel - Dictionnaire hébreu-français"
frmPDF.Show
End Sub
Private Sub mnuDictionnairesC_Click()
mot = frmBible.txtPassage.SelText
Load frmDictionnaires
frmDictionnaires.txtRecherche = mot
frmDictionnaires.optEaston.Value = True
frmDictionnaires.btnRechercher_Click
frmDictionnaires.Show
End Sub
Public Sub mnuDictSmith_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.optSmith.Value = True
frmDictionnaires.cboEncyclo.Text = "Smith"
End Sub
Public Sub mnuEastond_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Dictionaries/EastonBibleDictionary/"
End Sub
Public Sub mnuDzeta_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (398)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnueCatena_Click()
frmBrowser.cboAddress.Text = "http://www.earlychristianwritings.com/e-catena/"
frmBible - 31
End Sub
Private Sub mnuEB1911_Click()
frmBrowser.cboAddress.Text = "http://www.1911encyclopedia.org/"
'
End Sub
Private Sub mnuEBCB_Click()
frmBrowser.cboAddress.Text = "http://www.cwru.edu/UL/preserve/Etana/encyl_biblica_a-d/encyl_biblica
_a-d.html"
End Sub
Public Sub mnuEpsilonn_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (239)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuEta_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (398)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuEulalie_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\grk\Eulalie.pdf")
frmPDF.Caption = "S. Reinach - Eulalie, le grec sans larmes"
frmPDF.Show
End Sub
Public Sub mnuEusebe_Click()
frmBrowser.cboAddress.Text = "http://remacle.org/bloodwolf/historiens/eusebe/index.htm"
'
End Sub
Public Sub mnuFisher_Click()
frmBrowser.cboAddress.Text = "http://www-users.cs.york.ac.uk/~fisher/gnt/chapters.html"
End Sub
Public Sub mnuFrenchOnly_Click()
cboLivre.Text = "Genèse"
txtChapitre.Text = "1"
txtverset.Text = "1"
cboVersion.Clear
cboVersion.AddItem ("LSG")
cboVersion.AddItem ("Darby")
cboVersion.AddItem ("NBS")
cboVersion.Text = "NBS"
btnGo_Click
End Sub
Public Sub mnuFJ_Click()
frmBrowser.cboAddress.Text = "http://remacle.org/bloodwolf/historiens/Flajose/intro.htm"
'
End Sub
Public Sub mnuGeneva_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/GenevaStudyBible/"
End Sub
Public Sub mnuGill_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/GillsExpositionoftheBible/"
End Sub
frmBible - 32
Public Sub mnuGospel_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/TheFourfoldGospel/"
End Sub
Public Sub mnuFormeExacte_Click()
Dim mot$
mot = Trim(frmBible.txtPassage.SelText)
Load frmZetoGraphe
If cboVersion.Text = "NA27" Then
frmZetoGraphe.cboVersion.Text = "NA27"
ElseIf cboVersion.Text = "LXX" Then
frmZetoGraphe.cboVersion.Text = "LXX"
ElseIf cboVersion.Text = "APF-G" Then
frmZetoGraphe.cboVersion.Text = "APF-G"
End If
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.Show
'RechercheLemmatiqueNA27(mot)
End Sub
Public Sub mnuGamma_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (163)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuGesenius_Click()
'Load frmReferences
'frmReferences. Show 1
'frmReferences.Image1.Picture = LoadPicture(App.Path & "\ref\ges\ges_014_0001.jpg")
'frmReferences.cboRef.Text = "Gesenius's Hebrew Grammar"
'frmReferences.txtPage.Text = "14"
'frmReferences.txtRefPage.Text = "ges_014_0001.jpg"
'frmReferences.txtNombrePage.Text = "582"
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\ges\gesenius.pdf")
frmPDF.Caption = "Gesenius's Hebrew Grammar"
frmPDF.Show
'pdfmain.setCurrentPage 0
End Sub
Private Sub mnuGeseniusLexicon_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\ges\GeseniusLexicon.pdf")
frmPDF.Caption = "Gesenius - Lexicon manuale Hebraicum et Chaldaicum in Veteris Testamentis Lib
ros"
frmPDF.Show
End Sub
Private Sub mnuGesHC_Click()
mot = frmBible.txtPassage.SelText
Call LireStrongC(mot)
If Mid(mot, 1, 1) <> "0" Then
mot = "0" & mot
End If
Load frmBrowser
frmBrowser.cboAddress.Text = "http://www.blueletterbible.org/cgi-bin/words.pl?Strong=" & mot & "&pa
ge=1&flag_full=1"
frmBrowser.Show
End Sub
Public Sub mnuGG_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\gg\GG.pdf")
frmPDF.Caption = "Wallace / Mounce Greek Grammar [Compilation]"
frmPDF.Show
End Sub
Private Sub mnuGildersleeve_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04
frmBible - 33
.0074"
End Sub
Public Sub mnuGim_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (230)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Private Sub mnuGingrich_Click()
Dim adresse$
adresse = App.Path & "\ref\a&g\main.htm"
frmBrowser.cboAddress.Text = adresse
frmBrowser.Show
End Sub
Public Sub mnuGoodwinG_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\goodw\GoodwinG.pdf")
frmPDF.Caption = "Goodwin - Greek Grammar"
frmPDF.Show
End Sub
Public Sub mnuGoodwinS_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\goodw\GoodwinS.pdf")
frmPDF.Caption = "Goodwin - Syntax of the Moods and Tenses of the Greek Verb"
frmPDF.Show
End Sub
Public Sub mnugrechebreu_Click()
Load frmGrecHebreu
frmGrecHebreu.Show
End Sub
Public Sub mnuGreek_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Lexicons/Greek/"
End Sub
Public Sub mnuGreekOnly_Click()
cboVersion.Clear
cboVersion.AddItem ("LXX")
cboVersion.AddItem ("NA26+")
cboVersion.AddItem ("W/H & Strong")
cboVersion.AddItem ("Stephanus")
cboVersion.AddItem ("Scrivener")
cboVersion.Text = "NA26+"
cboVersion.Text = "NA27"
cboLivre.Text = "Matthieu"
txtChapitre.Text = "1"
txtverset.Text = "1"
btnGo_Click
End Sub
Public Sub mnuGrekkbible_Click()
frmBrowser.cboAddress.Text = "http://www.greekbible.com/"
End Sub
Public Sub mnuHebrewOnly_Click()
cboLivre.Text = "Genèse"
txtChapitre.Text = "1"
txtverset.Text = "1"
cboVersion.Clear
cboVersion.AddItem ("BHS")
cboVersion.Text = "BHS"
btnGo_Click
End Sub
frmBible - 34
Public Sub mnuHe_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (319)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Private Sub mnuHebrewChaldee_Click()
Dim adresse$
adresse = "http://books.google.fr/books?ie=UTF-8&id=dxCBQLh9-9kC&pg=PP3&printsec=2&lpg=PP3"
frmBrowser.cboAddress.Text = adresse
frmBrowser.Show
End Sub
Public Sub mnuHeth_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (392)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuHitch_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.cboEncyclo.Text = "Hitchcock"
End Sub
Private Sub mnuHolman_Click()
frmBrowser.cboAddress.Text = "http://www.studylight.org/dic/hbd/"
'
End Sub
Public Sub mnuIBE_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.optEncyclopaedia.Value = True
frmDictionnaires.cboEncyclo.Text = "ISBE"
End Sub
Public Sub mnuJER_Click()
frmBrowser.cboAddress.Text = "http://www.tradere.com/biblio/bdj/index.htm"
End Sub
Public Sub mnuJFB_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/JamiesonFaussetBrown/"
End Sub
Public Sub mnuJVI_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Dictionaries/JVIProphecyDictionary/"
End Sub
Public Sub mnuKJVDic_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.optKJVD.Value = True
End Sub
Public Sub mnuKof_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (639)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuIota_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (429)
frmBible - 35
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuJastrow_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\Dicoheb\Jastrow.pdf")
frmPDF.Caption = "Marcus Jastrow - A Dictionary of the Targumim, the Talmud Babli and Yerushalm
i and the Midrashic Literature"
frmPDF.Show
End Sub
Private Sub mnuJE_Click()
frmBrowser.cboAddress.Text = "http://www.jewishencyclopedia.com/index.jsp"
End Sub
Private Sub mnuJO_Click()
mot = Trim(frmBible.txtPassage.SelText)
frmBrowser.cboAddress.Text = "http://collatinus.fltr.ucl.ac.be/jcoll.php?forme=m:" & mot
frmBrowser.Caption = "Analyse Collatinus - Jeanneau"
' *** autres possibilités
' dictionnaire latinogallicum : http://colet.uchicago.edu/cgi-bin/search2e?headword=" & Mot & "&wor
d=" & Mot & "&CONJUNCT=PHRASE&DISTANCE=3&PROXY=or+fewer&OUTPUT=conc&SYSTEM_DIR=%2Fprojects%2Fartflb
%2Fdatabases%2Fartfl%2Fdicos%2Festienne%2Ffulltext%2FIMAGE%2F
End Sub
Private Sub mnuJRCox_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04
.0052"
End Sub
Public Sub mnuKappa_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (445)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuKhi_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (949)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuLambda_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (523)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuLamed_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (710)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuLemme_Click()
Dim mot$
mot = frmBible.txtPassage.SelText
If cboVersion.Text = "NA27" Then
RechercheLemmatiqueNA27 (mot)
ElseIf cboVersion.Text = "LXX" Then
frmBible - 36
RechercheLemmatiqueLXX (mot)
End If
End Sub
Public Sub mnuLexHG_Click()
Load frmHebreuGrec
frmHebreuGrec.Show
End Sub
Private Sub mnuLexiConc_Click()
mot = frmBible.txtPassage.SelText
Load frmBrowser
frmBrowser.cboAddress.Text = "http://cf.blueletterbible.org/search/lexiconc.cfm?ss=" & mot & "&sear
chtype=any"
frmBrowser.Show
End Sub
Public Sub mnuLexiqueHebFr_Click()
Load frmDicoHebreu
frmDicoHebreu.Timer1.Enabled = False
frmDicoHebreu.Show
End Sub
Public Sub mnuLexiqueNT_Click()
Load frmGF
frmGF.Show
End Sub
Public Sub mnuLSG_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/cgi-bin/resolveform"
End Sub
Public Sub mnuMH_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/MatthewHenryComplete/"
End Sub
Public Sub mnuMonde_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/PeoplesNewTestament/"
End Sub
Public Sub mnuMotsGrecs_Click()
Dim numstrong$, msg$
msg = InputBox("Entrez le numéro")
Load frmBrowser
frmBrowser.Show
frmBrowser.cboAddress = "http://www.blueletterbible.org/cgi-bin/words.pl?Strong=" & msg & "&page=1&
flag_full=1"
End Sub
Public Sub mnuNave_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Concordances/NavesTopicalBible/"
End Sub
Public Sub mnuNTP_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.
01.0155"
End Sub
Public Sub mnuOlive_Click()
frmBrowser.cboAddress.Text = "http://www.olivetree.com/cgi-bin/EnglishBible.htm"
End Sub
Public Sub mnuOT_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Lexicons/Hebrew/"
End Sub
Private Sub mnuLG_Click()
frmBible - 37
mot = Trim(frmBible.txtPassage.SelText)
frmBrowser.cboAddress.Text = "http://colet.uchicago.edu/cgi-bin/Estienne.sh?WORD=" & mot
frmBrowser.Caption = "Robert Estienne - Dictionarium Latinogallicum"
End Sub
Private Sub mnuLouwNida_Click()
Dim adresse$
adresse = "http://www.laparola.net/greco/louwnida.php"
frmBrowser.cboAddress.Text = adresse
frmBrowser.Show
End Sub
Private Sub mnuLS_Click()
mot = frmBible.txtPassage.SelText
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04
.0059:entry=" & mot
'
End Sub
Private Sub mnuMem_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (762)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuMu_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (544)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuNu_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (584)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuNun_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (996)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuNuttall_Click()
Load frmDictionnaires
frmDictionnaires.cboEncyclo.Text = "Nuttall"
frmDictionnaires.Show
End Sub
Public Sub mnuOLBheb_Click()
'Load frmPDF
'frmPDF.pdfmain.LoadFile (App.Path & "\ref\OLB.pdf")
'frmPDF.Caption = "Online Bible Hebrew-English Lexicon [Enhanced Strong]"
'frmPDF.Show
End Sub
Public Sub mnuOmega_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (977)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
frmBible - 38
End Sub
Public Sub mnuOmicronn_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (600)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuPé_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1265)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Private Sub mnuPerseusVulgate_Click()
mot = Trim(frmBible.txtPassage.SelText)
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/hopper/morph.jsp?l=" & mot & "&la=la"
End Sub
Public Sub mnuPhi_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (922)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuPi_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (642)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuPsi_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (972)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuQof_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1378)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuQuit_Click()
Unload m_frmSysTray
Set m_frmSysTray = Nothing
End
End Sub
Public Sub mnuRemoveEnglish_Click()
mnuAddEnglish.Checked = False
mnuRemoveEnglish.Checked = True
cboVersion.Clear
cboVersion.AddItem ("BHS")
cboVersion.AddItem ("LXX")
frmBible - 39
cboVersion.AddItem ("NA26+")
cboVersion.AddItem ("W/H & Strong")
cboVersion.AddItem ("Stephanus")
cboVersion.AddItem ("Scrivener")
cboVersion.AddItem ("Vulgate")
cboVersion.AddItem ("LSG")
cboVersion.AddItem ("Darby")
cboVersion.AddItem ("NBS")
cboLivre.Text = "Genèse"
txtChapitre.Text = "1"
txtverset.Text = "1"
cboVersion.Text = "BHS"
End Sub
Public Sub mnuRJ_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Dictionaries/KingJamesDictionary/"
End Sub
Private Sub mnuRech_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1436)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuRecherche_Click()
'Dim i
'i = toto
'msg toto
End Sub
Private Sub mnuRechercheMorphoC_Click()
Dim mot$, vientde$, code$
mot = Trim(txtPassage.SelText)
Call MorphContextuelle(mot, code, vientde)
Unload frmAnalyseMorphologique
Load frmAssistant
frmAssistant.txtMot.Text = mot
frmAssistant.txtcode.Text = code
frmAssistant.txtRecherche.Text = vientde
'frmAssistant.Command2_Click
recherche = vientde & " (" & code & ")"
nveaucode = code
Call RechercheMorphologique(recherche, nveaucode)
frmAssistant.lstPassages.Text = frmAssistant.lstPassages.List(0)
frmAssistant.lstPassages_Click
frmAssistant.Show
End Sub
Public Sub mnuRho_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (773)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuRosetta_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\Dicoheb\ROS.pdf")
frmPDF.pdfmain.setCurrentPage (1)
frmPDF.Caption = "The Rosetta Stone Hebrew Lexicon"
frmPDF.Show
End Sub
'MsgBox clique
'End Sub
Public Sub mnuRWP_Click()
frmBible - 40
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/RobertsonsWordPictures/"
'
End Sub
Public Sub mnuRWP2_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/RobertsonsWordPictures/"
End Sub
Public Sub mnuScofield_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/ScofieldReferenceNotes/"
End Sub
Public Sub mnuSDd_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Dictionaries/SmithsBibleDictionary/"
End Sub
Private Sub mnuSamek_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1092)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Private Sub mnuSE_Click()
frmBrowser.cboAddress.Text = "http://www.ccel.org/s/schaff/encyc/encyc13/htm/TOC.htm"
'New Schaff-Herzog Encyclopedia of Religious Knowledge
End Sub
Public Sub mnuSigma_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (780)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuSin_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1506)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuSmithGG_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\smith\smith.pdf")
frmPDF.Caption = "Smith - Greek Grammar"
frmPDF.Show
End Sub
Public Sub MnuSortieVocale_Click()
' ACCENT français ou anglais ?
'If frmBible.cboVersion.Text = "LSG" Or _
'frmBible.cboVersion.Text = "NBS" Or _
'frmBible.cboVersion.Text = "Darby" Then
'robby.LanguageID = &H40C
'ElseIf frmBible.cboVersion.Text = "ASV" Or _
'frmBible.cboVersion.Text = "KJV" Or _
'frmBible.cboVersion.Text = "YLT" Or _
'frmBible.cboVersion.Text = "WEB" Or _
'frmBible.cboVersion.Text = "BBE" Or _
'frmBible.cboVersion.Text = "DR" Or _
'frmBible.cboVersion.Text = "WBST" Then
'robby.LanguageID = &H809
'ElseIf frmBible.cboVersion.Text = "Vulgate" Then
' robby.Think ("Désolé, je ne parle par latin !")
'
Exit Sub
'Else
' robby.Think ("Désolé, je ne parle pas grec !")
frmBible - 41
'
Exit Sub
'End If
' prononciation & gestion erreur
'If frmBible.txtPassage.Text <> "" Then
'robby.Play ("Explain")
'robby.Speak frmBible.txtPassage.Text
'Else
'robby.Play ("Sad")
'robby.Think ("Il n'y a rien à prononcer !")
'End If
End Sub
Public Sub mnuStrong_Click()
chkstrong.Value = True
End Sub
Public Sub mnuThayer_Click()
chkthayer.Value = False
End Sub
Public Sub mnuTLF_Click()
frmBrowser.cboAddress.Text = "http://www.lib.uchicago.edu/efts/ARTFL/projects/dicos/TLF-NICOT/searc
h.form.html"
End Sub
Public Sub mnuTOB_Click()
frmBrowser.cboAddress.Text = "http://www.tradere.com/biblio/tob/index.htm"
End Sub
Public Sub mnuTorrey_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Concordances/TorreysTopicalTextbook/"
End Sub
Public Sub mnuTSK_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Concordances/TreasuryofScriptureKnowledge/
"
End Sub
Public Sub mnuUnbound_Click()
'frmBrowser.cboAddress.Text = "http://www.unboundbible.org/greek_search/index.cfm?lang=french"
End Sub
Private Sub mnuSouter_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\Dicogr\Souter.pdf")
frmPDF.Caption = "A. Souter - A Pocket Lexicon to the Greek New Testament"
frmPDF.Show
End Sub
Private Sub mnuStrongD_Click()
mot = frmBible.txtPassage.SelText
Call LireStrongNEG(mot)
End Sub
Public Sub mnuTau_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (852)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuTaw_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmBible - 42
frmPDF.pdfmain.setCurrentPage (1656)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Private Sub mnuTDNT_Click()
Dim adresse$
adresse = App.Path & "\ref\kittel\main.htm"
frmBrowser.cboAddress.Text = adresse
frmBrowser.Show
End Sub
Private Sub mnuThayerC_Click()
mot = frmBible.txtPassage.SelText
Call LireStrongC(mot)
If Mid(mot, 1, 1) = "0" Then
mot = Mid(mot, 2, Len(mot))
End If
Load frmBrowser
frmBrowser.cboAddress.Text = "http://www.blueletterbible.org/cgi-bin/words.pl?Strong=" & mot & "&pa
ge=1&flag_full=1"
'http://www.blueletterbible.org/cgi-bin/words.pl?Strong=4228&page=1&flag_full=1
frmBrowser.Show
End Sub
Public Sub mnuThet_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (512)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuTheta_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (411)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Private Sub mnuTMN_Click()
frmBrowser.cboAddress.Text = "http://www.areopage.net/traducnt.htm#versions"
End Sub
Private Sub mnuToto_Click()
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04
.0052"
End Sub
Private Sub mnuTsadé_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (1326)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Private Sub mnuTWOT_Click()
Dim adresse$
adresse = App.Path & "\ref\twot\main.htm"
frmBrowser.cboAddress.Text = adresse
frmBrowser.Show
End Sub
Private Sub mnuUnlock_Click()
Dim pw$
Dim fichier$
Dim ofile%, msg$
frmBible - 43
ofile = FreeFile
fichier = App.Path & "\tools\bp.ini"
pw = InputBox("Saisissez le mot de passe (respecter la casse)." & vbCrLf & "Nota: pour
ot de passe, contact: [email protected] [objet : PW-BP]." & vbCrLf & "En envoyant un
ou avec un message sympa!) avec cet objet, vous certifiez posséder les versions papier
s suivants : TWOT, TDNT, NEG, NBS, JER, TOB, BFC, NET, Abel, Auvray, et considérez les
résent logiciel comme vos copies de sauvegarde personnelles (reproduction et diffusion
", "Débloquer les Bibles...")
If pw = "nbs" Then
debloque = True
Open fichier For Output As #ofile
Print #ofile, "NBS"
Close
msg = MsgBox("Débloquage effectué !", vbInformation)
mnuGingrich.Enabled = True
mnuTWOT.Enabled = True
mnuTDNT.Enabled = True
mnuRosetta.Enabled = True
mnuAuvray.Enabled = True
mnuAbel.Enabled = True
cboVersion.Clear
cboVersion.AddItem ("BHS")
'cboVersion.AddItem ("WTM")
cboVersion.AddItem ("TM")
cboVersion.AddItem ("SG")
cboVersion.AddItem ("--")
cboVersion.AddItem ("LXX")
cboVersion.AddItem ("NA26+")
cboVersion.AddItem ("NA27")
cboVersion.AddItem ("WH+")
cboVersion.AddItem ("W/H & Strong")
cboVersion.AddItem ("Stephanus")
cboVersion.AddItem ("Scrivener")
cboVersion.AddItem ("--")
cboVersion.AddItem ("APF-G")
cboVersion.AddItem ("APF-F")
cboVersion.AddItem ("--")
cboVersion.AddItem ("Vulgate")
cboVersion.AddItem ("--")
cboVersion.AddItem ("TMN")
cboVersion.AddItem ("LSG")
cboVersion.AddItem ("FILLION")
cboVersion.AddItem ("JER")
cboVersion.AddItem ("NEG+")
cboVersion.AddItem ("LSG+")
cboVersion.AddItem ("CRP")
cboVersion.AddItem ("Darby")
cboVersion.AddItem ("NBS")
cboVersion.AddItem ("TOB")
cboVersion.AddItem ("BFC")
cboVersion.AddItem ("MRT")
'cboVersion.AddItem ("Chouraqui (à faire)")
cboVersion.AddItem ("OST")
cboVersion.AddItem ("--")
cboVersion.AddItem ("NET")
cboVersion.AddItem ("DIAGLOTT")
cboVersion.AddItem ("ASV")
cboVersion.AddItem ("KJV")
cboVersion.AddItem ("YLT")
cboVersion.AddItem ("WEB")
cboVersion.AddItem ("BBE")
cboVersion.AddItem ("JPS")
End If
cboVersion.AddItem ("DR")
cboVersion.AddItem ("WBST")
End Sub
Public Sub mnuUpsilonn_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (892)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
obtenir le m
mail blanc (
des document
modules du p
interdites).
frmBible - 44
Private Sub mnuVincentNT_Click()
frmBrowser.cboAddress.Text = "http://www.godrules.net/library/vincent/vincent.htm"
End Sub
Public Sub mnuVine_Click()
frmBrowser.cboAddress.Text = "http://www.antioch.com.sg/bible/vines/"
End Sub
Public Sub mnuVocMacchi_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\Dicoheb\vocheb.pdf")
frmPDF.Caption = "Macchi - Vocabulaire d'hébreu biblique [termes apparaissant plus de 70 fois]"
frmPDF.Show
End Sub
Private Sub mnuVoltaire_Click()
frmBrowser.cboAddress.Text = "http://www.fh-augsburg.de/%7Eharsch/gallica/Chronologie/18siecle/Volt
aire/vol_dp00.html"
End Sub
Private Sub mnuVulZG_Click()
mot = Trim(txtPassage.SelText)
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "Vulgate"
frmZetoGraphe.btnRechercher_Click
End Sub
Private Sub mnuWace_Click()
Load frmDictionnaires
frmDictionnaires.Show
frmDictionnaires.cboEncyclo.Text = "Wace"
End Sub
Public Sub mnuWaw_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (353)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuwb_Click()
frmBrowser.cboAddress.Text = "http://www.areopage.net/bp.html"
End Sub
Public Sub mnuWesley_Click()
frmBrowser.cboAddress.Text = "http://bible.crosswalk.com/Commentaries/WesleysExplanatoryNotes/"
End Sub
Public Sub mnuWordSearch_Click()
Dim msg
msg = InputBox("Saisissez un mot (Nave's Topical, Torrey's Topical, Vine's Dictionary, Easton's Dic
tionary, Subject Guide, Hitchcock's Dictionary)", "Blue Letter Bible")
If msg <> "" Then
Load frmBrowser
frmBrowser.cboAddress.Text = "http://www.blueletterbible.org/cgi-bin/detailed_words.pl?word=" &
msg
frmBrowser.Show
End If
End Sub
Public Sub mnuWebster_Click()
Load frmDictionnaires
frmDictionnaires.cboEncyclo.Text = "Webster"
frmDictionnaires.Show
End Sub
Public Sub mnuWilson_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\wilson\wilson.pdf")
frmBible - 45
frmPDF.Caption = "Wilson -Analytical Hebrew and Chaldee Lexicon (Paradigms)"
frmPDF.Show
End Sub
Private Sub mnuWiner_Click()
frmBrowser.cboAddress.Text = "http://books.google.com/books?ie=UTF-8&hl=fr&id=872gnvIsAiMC&pg=PP7&p
rintsec=2&lpg=PP7"
End Sub
Public Sub mnuXi_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bailly\Bailly.pdf")
frmPDF.pdfmain.setCurrentPage (597)
frmPDF.Caption = "Anatole Bailly - Abrégé du Dictionnaire grec-français [984p.]"
frmPDF.Show
End Sub
Public Sub mnuYod_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (531)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuZa_Click()
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\bdb.pdf")
frmPDF.pdfmain.setCurrentPage (359)
frmPDF.Caption = "The Abridged Brown-Driver-Briggs"
frmPDF.Show
End Sub
Public Sub mnuZetoG_Click()
Load frmZetoGraphe
frmZetoGraphe.Show
mnuZetoG.Checked = True
'zetographedirect = True
End Sub
Private Sub mnuZGC_Click()
mot = frmBible.txtPassage.SelText
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = cboVersion.Text
frmZetoGraphe.Show
End Sub
Public Sub sortievocale_Click()
MnuSortieVocale_Click
End Sub
Public Sub Timer1_Timer()
If cboVersion.Text = "W/H & Strong" Then
chkthayer.Visible = False
lblthayer.Visible = False
chkstrong.Visible = False
lblStrong.Visible = False
frmBible.optstrongfr.Visible = False
frmBible.lblstrongfr.Visible = False
End If
cboVersion.AddItem ("NT grec ancien")
cboVersion.AddItem ("W/H & Strong")
cboVersion.AddItem ("LXX")
cboVersion.AddItem ("Vulgate")
cboVersion.AddItem ("LSG")
cboLivre.AddItem ("Matthieu")
cboLivre.AddItem ("Marc")
cboLivre.AddItem ("Luc")
cboLivre.AddItem ("Jean")
cboLivre.AddItem ("Actes")
cboLivre.AddItem ("Romains")
frmBible - 46
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
cboLivre.AddItem
("1 Corinthiens")
("2 Corinthiens")
("Galates")
("Ephésiens")
("Philippiens")
("Colossiens")
("1 Thessaloniciens")
("2 Thessaloniciens")
("1 Timothée")
("2 Timothée")
("Tite")
("Philémon")
("Hébreux")
("Jacques")
("1 Pierre")
("2 Pierre")
("1 Jean")
("2 Jean")
("3 Jean")
("Jude")
("Révélation")
End Sub
Public Sub Timer2_Timer()
i = 1
If i < 2 Then btnGo_Click
i = i + 1
End Sub
Public Sub txtChapitre_Change()
btnGo_Click
End Sub
Public Sub txtChapitre_KeyPress(KeyAscii As Integer)
If KeyAscii = 8 Then Exit Sub
If KeyAscii < 47 Or KeyAscii > 57 Then
KeyAscii = 0
Beep
End If
End Sub
Public Sub txtChapitre_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then btnGo_Click
End Sub
Public Sub txtPassage_DblClick()
'déclarations
Dim mot$, livre$, valinstr%, motr$, mott$
mot = Trim(frmBible.txtPassage.SelText)
If Right(mot, 1) = "." Then mot = Mid(mot,
If Right(mot, 1) = "," Then mot = Mid(mot,
If Right(mot, 1) = ";" Then mot = Mid(mot,
If Right(mot, 1) = ":" Then mot = Mid(mot,
1,
1,
1,
1,
Len(mot)
Len(mot)
Len(mot)
Len(mot)
-
1)
1)
1)
1)
'les versions autres que NA26+ utilisent la fonte Bwgrkn
If cboVersion.Text <> "NA26+" Then
mot = Replace(mot, "<", "")
mot = Replace(mot, ">", "")
mot = Replace(mot, "(", "")
mot = Replace(mot, ")", "")
End If
livre = frmBible.cboLivre.Text
If Right(mot, 1) = "." Or Right(mot, 1) = "," Or Right(mot, 1) = ";" Or Right(mot, 1) = ":" Or
Right(mot, 1) = "?" Or Right(mot, 1) = "!" Then
mot = Mid(mot, 1, Len(mot) - 1)
End If
If cboVersion.Text = "LSG" Then
Load frmZetoGraphe
frmBible - 47
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "LSG"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "Darby" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "Darby"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "APF-G" Then
Call RechercheMorphAPFG(mot)
Exit Sub
End If
If cboVersion.Text = "TOB" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "TOB"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "BFC" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "BFC"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "LSG & Strong" Then
mot = Trim(txtPassage.SelText)
btnGo_Click
Call LireStrongLSG2(mot)
Exit Sub
End If
If cboVersion.Text = "JER" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "JER"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "Flavius Josèphe" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "Flavius Josèphe"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "BHS" Then
chapitre = txtChapitre.Text
verset = txtverset.Text
Call LireWTM(livre, chapitre, verset, mot)
'Load frmZetoGraphe
'frmZetoGraphe.txtRecherche.Text = mot
'frmZetoGraphe.cboVersion.Text = "BHS"
'frmZetoGraphe.Show
'Exit Sub
End If
If cboVersion.Text = "WH+" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "WH+"
frmZetoGraphe.Show
Exit Sub
frmBible - 48
End If
If cboVersion.Text = "Tischendorf+" Then
Load frmZetoGraphe
frmZetoGraphe.txtRecherche.Text = mot
frmZetoGraphe.cboVersion.Text = "Tischendorf+"
frmZetoGraphe.Show
Exit Sub
End If
If cboVersion.Text = "NA27" Then
Call MorphNA27Plus(mot)
Exit Sub
End If
If cboVersion.Text = "LXX" Then
Call MorphLXX(mot)
Exit Sub
End If
If cboVersion.Text = "BHS+" Then
mot = Trim(txtPassage.SelText)
frmBible.btnGo_Click
Call StrongBHSPlus(mot)
Exit Sub
End If
If cboVersion.Text = "BHS" Or _
cboVersion.Text = "NBS" Or _
cboVersion.Text = "BFC" Or _
cboVersion.Text = "Stephanus" Or _
cboVersion.Text = "MRT" Or _
cboVersion.Text = "CRP" Or _
cboVersion.Text = "OST" Or _
cboVersion.Text = "SG" Or _
cboVersion.Text = "Scrivener" Then
Exit Sub
End If
'VULGATE
If cboVersion.Text = "Vulgate" Then
'
Load frmBrowser
'
frmBrowser.cboAddress.Text = "http://collatinus.fltr.ucl.ac.be/jcoll.php?forme=m:" & mot
'
frmBrowser.WindowState = 0
'
frmBrowser.Show
Load frmDicoLatFr
frmDicoLatFr.Show
frmDicoLatFr.Text1.Text = mot
frmDicoLatFr.btnGo_Click
Exit Sub
End If
'j'appelle la fonction désignée
Call DoubleCliqueMP(mot, livre)
End Sub
Public Sub txtPassage_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
btnGo_Click
ElseIf KeyCode = vbKeyEscape Then
End
Unload Me
End If
End Sub
Public Sub txtPassage_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
frmBible - 49
mot = frmBible.txtPassage.SelText
If Button = vbRightButton And cboVersion.Text = "NA27" Then
txtPassage.Enabled = False
txtPassage.Enabled = True
If InStr(1, mot, " ") <> 0 Then
mnuLemme.Enabled = False
PopupMenu mnuRecherche, vbPopupMenuLeftAlign
Else
mnuLemme.Enabled = True
PopupMenu mnuRecherche, vbPopupMenuLeftAlign
End If
ElseIf Button = vbRightButton And cboVersion.Text = "LXX" Then
mnuCatenaRC.Visible = False
mnuApparatus.Visible = False
mnuApparatCritique.Visible = False
txtPassage.Enabled = False
txtPassage.Enabled = True
If InStr(1, mot, " ") <> 0 Then
mnuLemme.Enabled = False
PopupMenu mnuRecherche, vbPopupMenuLeftAlign
Else
mnuLemme.Enabled = True
PopupMenu mnuRecherche, vbPopupMenuLeftAlign
End If
ElseIf Button = vbRightButton And cboVersion.Text = "NET" Or _
frmBible.cboVersion.Text = "ASV" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "KJV" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "YLT" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "WEB" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "BBE" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "JPS" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "DR" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "NET" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "DIAGLOTT" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "ANF" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "APF-G" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "APF-E" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "Lightfoot" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "Flavius Josèphe - En" And Button = vbRightButton Or _
frmBible.cboVersion.Text = "WBST" And Button = vbRightButton Then
txtPassage.Enabled = False
txtPassage.Enabled = True
If InStr(1, mot, " ") <> 0 Then mot = Trim(mot)
PopupMenu mnuDicoC, vbPopupMenuLeftAlign
ElseIf Button = vbRightButton And cboVersion.Text = "Vulgate" Then
txtPassage.Enabled = False
txtPassage.Enabled = True
PopupMenu mnuVulgate, vbPopupMenuLeftAlign
ElseIf Button = vbRightButton And cboVersion.Text = "APF-G" Then
mnuCatenaRC.Visible = False
mnuApparatus.Visible = False
txtPassage.Enabled = False
txtPassage.Enabled = True
mnuRechercheMorphoC.Visible = False
mnuLemme.Visible = False
mnuApparatCritique.Visible = False
If InStr(1, mot, " ") <> 0 Then mot = Trim(mot)
PopupMenu mnuRecherche, vbPopupMenuLeftAlign
ElseIf Button = vbRightButton And cboVersion.Text = "LSG+" Then
txtPassage.Enabled = False
txtPassage.Enabled = True
frmBible - 50
End If
PopupMenu mnuLexiquesC, vbPopupMenuLeftAlign
End Sub
Public Sub txtverset_Change()
btnGo_Click
End Sub
Public Sub txtverset_KeyPress(KeyAscii As Integer)
If KeyAscii = 8 Then Exit Sub
If KeyAscii < 47 Or KeyAscii > 57 Then
KeyAscii = 0
Beep
End If
End Sub
Public Sub txtverset_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
btnGo_Click
ElseIf KeyCode = vbKeyEscape Then
End
Unload Me
End If
End Sub
frmBible - 1
VERSION 5.00
Begin VB.Form frmBible
BackColor
=
&H00FFFFFF&
Caption
=
"Bible Parser 2006"
ClientHeight
=
5145
ClientLeft
=
4485
ClientTop
=
3630
ClientWidth
=
7140
Icon
=
(Icon)
LinkTopic
=
"Form1"
MousePointer
=
1 'Arrow
Picture
=
(Bitmap)
ScaleHeight
=
5145
ScaleWidth
=
7140
StartUpPosition =
2 'CenterScreen
Begin VB.TextBox txtPassage
Height
=
1815
Left
=
360
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
32
Top
=
2640
Width
=
6135
End
Begin VB.CheckBox chkSysTray
Caption
=
"chkSysTray"
Height
=
375
Left
=
120
TabIndex
=
31
Top
=
600
Value
=
1 'Checked
Visible
=
0
'False
Width
=
1335
End
Begin VB.Timer Timer2
Left
=
0
Top
=
4080
End
Begin VB.CommandButton btnQuitter
Cancel
=
-1 'True
Caption
=
"&Fermer"
Height
=
375
Left
=
6240
TabIndex
=
27
Top
=
4560
Width
=
855
End
Begin VB.CommandButton btnFermer
Height
=
255
Left
=
0
TabIndex
=
24
Top
=
4800
Visible
=
0
'False
Width
=
255
End
Begin VB.PictureBox sortievocale
BackColor
=
&H00FFFFFF&
BorderStyle
=
0 'None
Height
=
255
Left
=
6480
MouseIcon
=
(Icon)
MousePointer
=
4 'Icon
Picture
=
(Bitmap)
ScaleHeight
=
255
ScaleWidth
=
255
TabIndex
=
23
ToolTipText
=
"Lire le passage"
Top
=
1800
Visible
=
0
'False
Width
=
255
End
Begin VB.OptionButton optstrongfr
BackColor
=
&H00C0E0FF&
Height
=
255
Left
=
4440
TabIndex
=
21
frmBible - 2
Top
Visible
Width
=
=
=
4800
0
'False
255
End
Begin VB.Timer Timer1
Left
=
6720
Top
=
3960
End
Begin VB.Frame framOutils
BackColor
=
&H00C0E0FF&
BorderStyle
=
0 'None
Height
=
375
Left
=
360
TabIndex
=
19
Top
=
4680
Visible
=
0
'False
Width
=
1575
Begin VB.CheckBox chkConcordance
Caption
=
"Cliquez ici pour activer l'option Concordance au double-click"
Enabled
=
0
'False
Height
=
255
Left
=
120
TabIndex
=
28
Top
=
120
Width
=
255
End
Begin VB.Label lblConcordance
BackStyle
=
0 'Transparent
Caption
=
"&Concordance"
Enabled
=
0
'False
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
8.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
ForeColor
=
&H00000000&
Height
=
255
Left
=
360
TabIndex
=
20
ToolTipText
=
"Dictionnaire et analyseur de Bible Parser, rapide et concis."
Top
=
120
Visible
=
0
'False
Width
=
1215
End
End
Begin VB.OptionButton chkthayer
BackColor
=
&H00C0E0FF&
Caption
=
"Option2"
Height
=
255
Left
=
3840
TabIndex
=
6
Top
=
2160
Visible
=
0
'False
Width
=
255
End
Begin VB.OptionButton chkstrong
BackColor
=
&H00C0E0FF&
Caption
=
"Option1"
Height
=
255
Left
=
2880
TabIndex
=
5
Top
=
2160
Value
=
-1 'True
Visible
=
0
'False
Width
=
255
End
Begin VB.TextBox lbltampon
Height
=
375
Left
=
120
TabIndex
=
16
Top
=
120
Visible
=
0
'False
frmBible - 3
Width
=
975
End
Begin VB.PictureBox Picture1
Height
=
1335
Left
=
5160
Picture
=
(Bitmap)
ScaleHeight
=
1275
ScaleWidth
=
1635
TabIndex
=
15
Top
=
120
Width
=
1695
End
Begin VB.CommandButton Command1
Caption
=
"&Ok"
DisabledPicture =
(Icon)
Height
=
495
Left
=
6600
Picture
=
(Icon)
TabIndex
=
13
Top
=
3240
Visible
=
0
'False
Width
=
735
End
Begin VB.ComboBox cboVersion
Height
=
315
Left
=
240
TabIndex
=
0
Text
=
"Version"
Top
=
1080
Width
=
2295
End
Begin VB.CommandButton btnGo
Caption
=
"&Rechercher"
Default
=
-1 'True
Height
=
375
Left
=
5160
TabIndex
=
4
Top
=
1680
Width
=
1215
End
Begin VB.TextBox txtverset
Alignment
=
2 'Center
Height
=
285
Left
=
3960
TabIndex
=
3
Top
=
1560
Width
=
975
End
Begin VB.TextBox txtChapitre
Alignment
=
2 'Center
Height
=
285
Left
=
2880
TabIndex
=
2
Top
=
1560
Width
=
975
End
Begin VB.ComboBox cboLivre
Height
=
315
Left
=
240
TabIndex
=
1
Text
=
"Livre"
Top
=
1560
Width
=
2295
End
Begin VB.Label Label6
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"-"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
12
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
frmBible - 4
EndProperty
Height
Left
TabIndex
ToolTipText
Top
Width
=
=
=
=
=
=
255
6480
30
"Réduire
3000
255
le texte d'une taille"
End
Begin VB.Label Label5
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"+"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
12
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
255
Left
=
6480
TabIndex
=
29
ToolTipText
=
"Agrandir le texte d'une taille"
Top
=
2760
Width
=
255
End
Begin VB.Label Label10
BackStyle
=
0 'Transparent
Height
=
615
Left
=
6360
TabIndex
=
26
ToolTipText
=
"Quitter Bible Parser"
Top
=
4560
Width
=
735
End
Begin VB.Label Label9
BackStyle
=
0 'Transparent
Height
=
615
Left
=
6600
TabIndex
=
25
ToolTipText
=
"Robertson's Word Pictures in the New Testament"
Top
=
2640
Width
=
495
End
Begin VB.Label lblstrongfr
BackStyle
=
0 'Transparent
Caption
=
"Strong fr (Internet)"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
8.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
Height
=
255
Left
=
4680
TabIndex
=
22
Top
=
4800
Visible
=
0
'False
Width
=
1455
End
Begin VB.Label lblthayer
BackStyle
=
0 'Transparent
Caption
=
"Thayer"
Height
=
255
Left
=
4080
TabIndex
=
18
ToolTipText
=
"Thayer's Greek Lexicon with Strongs"
Top
=
2160
Visible
=
0
'False
Width
=
615
End
frmBible - 5
Begin VB.Label lblstrong
BackStyle
=
0 'Transparent
Caption
=
"Strong"
Height
=
255
Left
=
3120
TabIndex
=
17
ToolTipText
=
"Stong's Exhaustive Concordance"
Top
=
2160
Visible
=
0
'False
Width
=
615
End
Begin VB.Label Label4
BackStyle
=
0 'Transparent
Height
=
375
Left
=
2640
TabIndex
=
14
Top
=
600
Width
=
1335
End
Begin VB.Label lblsuivant
BackStyle
=
0 'Transparent
Caption
=
">"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
18
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
6240
TabIndex
=
12
ToolTipText
=
"Verset suivant"
Top
=
2280
Width
=
375
End
Begin VB.Label lblprecedent
BackStyle
=
0 'Transparent
Caption
=
"<"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
18
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
360
TabIndex
=
11
ToolTipText
=
"Verset précedent"
Top
=
2280
Width
=
375
End
Begin VB.Label lblchapitre
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Palatino Linotype"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
240
TabIndex
=
10
Top
=
2400
Width
=
6135
End
Begin VB.Label Label3
frmBible - 6
BackStyle
Caption
Height
Left
TabIndex
Top
Width
=
=
=
=
=
=
=
0 'Transparent
"verset"
255
3960
9
1920
975
End
Begin VB.Label Label2
BackStyle
=
0 'Transparent
Caption
=
"chapitre"
Height
=
255
Left
=
2880
TabIndex
=
8
Top
=
1920
Width
=
975
End
Begin VB.Label Label1
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"Bible Parser 2006"
BeginProperty Font
Name
=
"Georgia"
Size
=
20.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
1320
TabIndex
=
7
Top
=
120
Width
=
3615
End
Begin VB.Menu mnuFichier
Caption
=
"Fichier"
Begin VB.Menu mnuAutomatos
Caption
=
"Ouvrir Verse Parser"
Shortcut
=
{F7}
End
Begin VB.Menu mnuUnlock
Caption
=
"Débloquer modules..."
Visible
=
0
'False
End
Begin VB.Menu mnuZetoG
Caption
=
"Concordance"
Checked
=
-1 'True
Shortcut
=
^Z
End
Begin VB.Menu MnuSortieVocale
Caption
=
"Sortie vocale"
Shortcut
=
{F2}
Visible
=
0
'False
End
Begin VB.Menu mnuQuit
Caption
=
"Quitter"
Shortcut
=
^{F4}
End
Begin VB.Menu mnuBHSLXX
Caption
=
"BHSLXX"
Visible
=
0
'False
End
End
Begin VB.Menu mnuLexique
Caption
=
"Dictionnaires"
Begin VB.Menu mnuBailly
Caption
=
"Abrégé du Dictionnaire Grec - Français A. Bailly"
Begin VB.Menu mnuBaillyTout
Caption
=
"Bailly [tout]"
End
Begin VB.Menu mnuAlpha
Caption
=
"Alpha"
End
Begin VB.Menu mnuBeta
frmBible - 7
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
=
"Bêta"
mnuGamma
=
"Gamma"
mnuDelta
=
"Delta"
mnuEpsilonn
=
"Epsilonn"
mnuDzeta
=
"Dzêta"
mnuEta
=
"Eta"
mnuTheta
=
"Thêta"
mnuIota
=
"Iota"
mnuKappa
=
"Kappa"
mnuLambda
=
"Lambda"
mnuMu
=
mnuNu
=
mnuXi
=
"Mu"
"Nu"
"Xi"
mnuOmicronn
=
"Omicronn"
mnuPi
=
mnuRho
=
"Pi"
"Rhô"
mnuSigma
=
"Sigma"
mnuTau
=
"Tau"
mnuUpsilonn
=
"Upsilonn"
mnuPhi
=
"Phi"
mnuKhi
=
"Khi"
mnuPsi
=
"Psi"
mnuOmega
=
"Omêga"
End
Begin VB.Menu mnuCAF
Caption
=
"Crouzet/Andraud/Font - Dictionnaire grec-français"
End
Begin VB.Menu mnuSouter
Caption
=
"Souter - A Pocket Lexicon to the Greek New Testament"
End
Begin VB.Menu mnuLouwNida
frmBible - 8
Caption
=
"Louw-Nida Greek-English Lexicon of the NT Based on Semantic Domains*"
End
Begin VB.Menu mnuGingrich
Caption
=
"Gingrich/Danker - Greek-English Lexicon NT And Other Literature"
Visible
=
0
'False
End
Begin VB.Menu mnuTDNT
Caption
=
"Kittel/Friedrich - Theological Dictionary of the New Testament"
Visible
=
0
'False
End
Begin VB.Menu mnuAntiquites
Caption
=
"Paris/Roques - Lexique des Antiquités grecques et latines"
End
Begin VB.Menu mnuTiretDico
Caption
=
"-"
End
Begin VB.Menu mnuDicoST
Caption
=
"Dictionnaire hébreu-français Sander-Trenel"
End
Begin VB.Menu mnuJastrow
Caption
=
"Jastrow - Dictionary of the Targumim"
End
Begin VB.Menu mnuHebrewChaldee
Caption
=
"Gesenius' Hebrew-Chaldee Lexicon to the Old Testament*"
End
Begin VB.Menu mnuGeseniusLexicon
Caption
=
"Gesenius - Lexicon Manuale Hebraicum [heb/lat]"
End
Begin VB.Menu mnuTWOT
Caption
=
"Theological Wordbook of the Old Testament"
Visible
=
0
'False
End
Begin VB.Menu mnuABDB
Caption
=
"Abridged Brown-Driver-Briggs"
Begin VB.Menu mnuBDBT
Caption
=
"BDB [tout]"
End
Begin VB.Menu mnuA
Caption
=
"Aleph"
End
Begin VB.Menu mnuBeth
Caption
=
"Beth"
End
Begin VB.Menu mnuGim
Caption
=
"Gimel"
End
Begin VB.Menu mnuDalet
Caption
=
"Daleth"
End
Begin VB.Menu mnuHE
Caption
=
"Hé"
End
Begin VB.Menu mnuWaw
Caption
=
"Wav"
End
Begin VB.Menu mnuZa
Caption
=
"Zayin"
End
Begin VB.Menu mnuHeth
Caption
=
"Heth"
End
Begin VB.Menu mnuThet
Caption
=
"Thet"
End
Begin VB.Menu mnuYod
Caption
=
"Yod"
End
Begin VB.Menu mnuKaf
Caption
=
"Kaf"
End
Begin VB.Menu mnuLamed
Caption
=
"Lamed"
End
Begin VB.Menu mnuMem
Caption
=
"Mem"
End
frmBible - 9
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
End
Begin VB.Menu
Caption
Visible
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
Shortcut
End
Begin VB.Menu
Caption
Shortcut
End
Begin VB.Menu
Caption
Shortcut
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
mnuNun
=
"Nun"
mnuSamek
=
"Samek"
mnuAyin
=
mnuPé
"Ayin"
=
"Pé"
mnuTsadé
=
"Tsadé"
mnuQof
=
"Qof"
mnuRech
=
"Rech"
mnuSin
=
"Sin/Schin"
mnuTaw
=
"Taw"
mnuRosetta
=
"The Rosetta Stone Hebrew Lexicon"
=
0
'False
mnuTiretDicoBP
=
"-"
mnuLexiqueHebFr
=
"Bible Parser - Dictionnaire hébreu / français"
=
^H
mnuLexiqueNT
=
"Bible Parser - Dictionnaire grec / français"
=
^G
mnuDicoLat
=
"Bible Parser - Dictionnaire latin / français"
=
^L
mnuB4
=
"-"
mnugrechebreu
=
"Lexique grec/hébreu"
mnuLexHG
=
"Lexique hébreu/grec"
End
Begin VB.Menu mnuDictionnaires
Caption
=
"Références"
Begin VB.Menu mnuDicEaston
Caption
=
"Easton"
Shortcut
=
^E
End
Begin VB.Menu mnuDictSmith
Caption
=
"Smith"
Shortcut
=
^V
End
Begin VB.Menu mnuIBE
Caption
=
"ISBE"
Shortcut
=
^I
End
Begin VB.Menu mnuATSBD
Caption
=
"ATSBD"
Shortcut
=
^A
End
Begin VB.Menu mnuNuttall
frmBible - 10
Caption
Shortcut
=
=
"Nuttall"
^N
End
Begin VB.Menu mnuWebster
Caption
=
"Webster"
Shortcut
=
^W
End
Begin VB.Menu mnuHitch
Caption
=
"Hitchkcok"
Shortcut
=
^J
End
Begin VB.Menu mnuWace
Caption
=
"Wace"
Shortcut
=
^{F1}
End
Begin VB.Menu mnuSepXcvb
Caption
=
"-"
End
Begin VB.Menu mnuVine
Caption
=
"Vine's Expository Dictionary*"
End
Begin VB.Menu mnuVincentNT
Caption
=
"Vincent NT Word Studies*"
End
Begin VB.Menu mnuHolman
Caption
=
"Holman Bible Dictionary*"
End
Begin VB.Menu mnuRWP
Caption
=
"Robertson's Word Pictures*"
End
Begin VB.Menu mnuRefEncy
Caption
=
"Références encyclopédiques"
Begin VB.Menu mnuEB1911
Caption
=
"Encyclopedia Britannica 1911*"
End
Begin VB.Menu mnuCE
Caption
=
"The Catholic Encyclopedia*"
End
Begin VB.Menu mnuJE
Caption
=
"The Jewish Encyclopedia*"
End
Begin VB.Menu mnuSE
Caption
=
"New Schaff-Herzog Encyclopedia of Religious Knowledge*"
End
Begin VB.Menu mnuEBCB
Caption
=
"Encyclopedia Biblica [Cheyne/Black]*"
End
Begin VB.Menu mnuVoltaire
Caption
=
"Dictionnaire philosophique portatif [Voltaire]*"
End
End
Begin VB.Menu mnuAutres
Caption
=
"Autres versions bibliques"
Begin VB.Menu mnuTMN
Caption
=
"TMN, FILLION, JER, TOB, SEM, NET, etc."
End
End
End
Begin VB.Menu mnuGrammaires
Caption
=
"Grammaires"
Begin VB.Menu mnuAG
Caption
=
"Aide grammaticale"
End
Begin VB.Menu mnuHebreu
Caption
=
"-"
End
Begin VB.Menu mnuAuvray
Caption
=
"Auvray - Initiation à l'hébreu biblique"
End
Begin VB.Menu mnuGesenius
Caption
=
"Gesenius - Hebrew Grammar"
End
Begin VB.Menu mnuCellerier
Caption
=
"Cellerier - Elemens de grammaire hébraïque"
End
Begin VB.Menu mnuWilson
frmBible - 11
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
Begin VB.Menu
Caption
End
=
"Wilson - Analytical Heb. & Ch. Lexicon Paradigms"
mnuVocMacchi
=
"Macchi - Vocabulaire d'hébreu biblique"
mnuGrec
=
"-"
mnuBoxus
=
"Boxus - Précis de grammaire grecque"
mnuAbel
=
"Abel - Grammaire du grec biblique"
mnuBurnouf
=
"Burnouf - Grammaire grecque"
mnuGG
=
"Wallace / Mounce Compilation"
mnuSmithGG
=
"Smith - Greek Grammar"
mnuGoodwinG
=
"Goodwin - Greek Grammar"
mnuGoodwinS
=
"Goodwin - Syntax Moods/Tenses Greek Verb"
mnuBurton2
=
"Burton - Moods/Tenses of New Testament Greek"
mnuConybeare
=
"Conybeare - A Grammar of Septuagint Greek"
mnuEulalie
=
"Reinach - Eulalie, le grec sans larmes"
mnuWiner
=
"G.B.Winer - A Grammar of the New Testament Diction*"
mnuGildersleeve
=
"B.L.Gildersleeve - Syntax of Classical Greek*"
mnuJRCox
=
"J. R-Cox- Overview of Greek Syntax*"
mnuDavis
=
"W.H.Davis - Beginner's Grammar of the Greek New Testament *"
End
Begin VB.Menu mnuAbout
Caption
=
"?"
Begin VB.Menu mnuwb
Caption
=
"Mise à jour Bible Parser..."
End
Begin VB.Menu mnuSeptt
Caption
=
"-"
End
Begin VB.Menu mnuBP
Caption
=
"A propos de Bible Parser"
Shortcut
=
{F1}
End
Begin VB.Menu mnuRecherche
Caption
=
"Recherche"
Visible
=
0
'False
Begin VB.Menu mnuFormeExacte
Caption
=
"Recherche forme exacte"
End
Begin VB.Menu mnuLemme
Caption
=
"Recherche toutes les formes"
End
Begin VB.Menu mnuRechercheMorphoC
Caption
=
"Recherche morphologique"
End
Begin VB.Menu mnuApparatCritique
frmBible - 12
End
Caption
=
"Greek New Testament Textual Apparatus*"
End
Begin VB.Menu mnuApparatus
Caption
=
"Apparat critique : Terry/Marlowe/Willker"
Visible
=
0
'False
End
Begin VB.Menu mnuCatenaRC
Caption
=
"e-Catena : allusions à ce verset chez les Pères*"
End
End
End
Begin VB.Menu mnuLexiquesC
Caption
=
"LexiquesContextuels"
Visible
=
0
'False
Begin VB.Menu mnuStrongD
Caption
=
"Strong - Greek and Hebrew Dictionaries"
End
Begin VB.Menu mnuThayerC
Caption
=
"Thayer - Greek/English Lexicon of the NT*"
End
Begin VB.Menu mnuGesHC
Caption
=
"Gesenius - Hebrew and Chaldee Lexicon...*"
End
End
Begin VB.Menu mnuDicoC
Caption
=
"DictionnairesC"
Visible
=
0
'False
Begin VB.Menu mnuZGC
Caption
=
"ZetoGraphê"
End
Begin VB.Menu mnuDictionnairesC
Caption
=
"Dictionnaires"
End
Begin VB.Menu mnuLexiConc
Caption
=
"English to Hebrew/Greek*"
End
End
Begin VB.Menu mnuVulgate
Caption
=
"Vulgate"
Visible
=
0
'False
Begin VB.Menu mnuVulZG
Caption
=
"ZetôGraphê"
End
Begin VB.Menu mnuDicoLatC
Caption
=
"Dictionnaire latin/français"
End
Begin VB.Menu mnuJO
Caption
=
"Jeanneau/Ouvrard : morphologie + dictionnaire*"
End
Begin VB.Menu mnuPerseusVulgate
Caption
=
"Perseus : analyse morphologique*"
End
Begin VB.Menu mnuLS
Caption
=
"Lewis/Short : Latin/English Dictionary*"
End
Begin VB.Menu mnuLG
Caption
=
"R. Estienne - Dictionarium Latinogallicum*"
End
End
Bible Parser 2006
chapitre
Strong
<
verset
Thayer
>
+
-
Concordance
Strong fr (Internet)
frmBrowser - 1
Option Explicit
Public StartingAddress As String
Dim mbDontNavigateNow As Boolean
Private Sub cboAddress_Change()
If mbDontNavigateNow Then Exit Sub
timTimer.Enabled = True
brwWebBrowser.Navigate cboAddress.Text
End Sub
Private Sub Form_Load()
On Error Resume Next
Me.Show
tbToolBar.Refresh
Form_Resize
cboAddress.Move 50, lblAddress.Top + lblAddress.Height + 15
If Len(StartingAddress) > 0 Then
cboAddress.Text = StartingAddress
cboAddress.AddItem cboAddress.Text
' Essaie d'aller vers l'adresse de départ.
timTimer.Enabled = True
brwWebBrowser.Navigate StartingAddress
End If
End Sub
Private Sub brwWebBrowser_DownloadComplete()
On Error Resume Next
Me.Caption = brwWebBrowser.LocationName
End Sub
Private Sub brwWebBrowser_NavigateComplete(ByVal URL As String)
Dim i As Integer
Dim bFound As Boolean
Me.Caption = brwWebBrowser.LocationName
For i = 0 To cboAddress.ListCount - 1
If cboAddress.List(i) = brwWebBrowser.LocationURL Then
bFound = True
Exit For
End If
Next i
mbDontNavigateNow = True
If bFound Then
cboAddress.RemoveItem i
End If
cboAddress.AddItem brwWebBrowser.LocationURL, 0
cboAddress.ListIndex = 0
mbDontNavigateNow = False
End Sub
Private Sub cboAddress_Click()
If mbDontNavigateNow Then Exit Sub
timTimer.Enabled = True
brwWebBrowser.Navigate cboAddress.Text
End Sub
Private Sub cboAddress_KeyPress(KeyAscii As Integer)
On Error Resume Next
If KeyAscii = vbKeyReturn Then
cboAddress_Click
End If
End Sub
Private Sub Form_Resize()
On Error Resume Next
cboAddress.Width = Me.ScaleWidth - 100
brwWebBrowser.Width = Me.ScaleWidth - 100
brwWebBrowser.Height = Me.ScaleHeight - (picAddress.Top + picAddress.Height) - 100
End Sub
frmBrowser - 2
Private Sub timTimer_Timer()
If brwWebBrowser.Busy = False Then
timTimer.Enabled = False
Me.Caption = brwWebBrowser.LocationName
Else
Me.Caption = "Traitement en cours..."
End If
End Sub
Private Sub tbToolBar_ButtonClick(ByVal Button As Button)
On Error Resume Next
timTimer.Enabled = True
Select Case Button.Key
Case "Back"
brwWebBrowser.GoBack
Case "Forward"
brwWebBrowser.GoForward
Case "Refresh"
brwWebBrowser.Refresh
Case "Home"
brwWebBrowser.GoHome
Case "Search"
brwWebBrowser.GoSearch
Case "Stop"
timTimer.Enabled = False
brwWebBrowser.Stop
Me.Caption = brwWebBrowser.LocationName
End Select
End Sub
frmBrowser - 1
VERSION 5.00
Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0"; "SHDOCVW.dll"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "comctl32.ocx"
Begin VB.Form frmBrowser
ClientHeight
=
5205
ClientLeft
=
8265
ClientTop
=
1710
ClientWidth
=
5790
LinkTopic
=
"Form1"
LockControls
=
-1 'True
ScaleHeight
=
5205
ScaleWidth
=
5790
ShowInTaskbar
=
0
'False
WindowState
=
2 'Maximized
Begin ComctlLib.Toolbar tbToolBar
Align
=
1 'Align Top
Height
=
540
Left
=
0
TabIndex
=
3
Top
=
0
Width
=
5790
_ExtentX
=
10213
_ExtentY
=
953
ButtonWidth
=
820
ButtonHeight
=
794
Appearance
=
1
ImageList
=
"imlIcons"
_Version
=
327682
BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7}
NumButtons
=
6
BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key
=
"Back"
Object.ToolTipText
=
"Précédent"
Object.Tag
=
""
ImageIndex
=
1
EndProperty
BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key
=
"Forward"
Object.ToolTipText
=
"Suivant"
Object.Tag
=
""
ImageIndex
=
2
EndProperty
BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key
=
"Stop"
Object.ToolTipText
=
"Arrêter"
Object.Tag
=
""
ImageIndex
=
3
EndProperty
BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key
=
"Refresh"
Object.ToolTipText
=
"Actualiser"
Object.Tag
=
""
ImageIndex
=
4
EndProperty
BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key
=
"Home"
Object.ToolTipText
=
"Démarrage"
Object.Tag
=
""
ImageIndex
=
5
EndProperty
BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key
=
"Search"
Object.ToolTipText
=
"Rechercher"
Object.Tag
=
""
ImageIndex
=
6
EndProperty
EndProperty
End
Begin SHDocVwCtl.WebBrowser brwWebBrowser
Height
=
3734
Left
=
50
TabIndex
=
0
Top
=
1215
Width
=
5393
ExtentX
=
9525
ExtentY
=
6588
frmBrowser - 2
ViewMode
=
1
Offline
=
0
Silent
=
0
RegisterAsBrowser=
0
RegisterAsDropTarget=
0
AutoArrange
=
-1 'True
NoClientEdge
=
-1 'True
AlignLeft
=
0
'False
NoWebView
=
0
'False
HideFileNames
=
0
'False
SingleClick
=
0
'False
SingleSelection =
0
'False
NoFolders
=
0
'False
Transparent
=
0
'False
ViewID
=
"{0057D0E0-3573-11CF-AE69-08002B2E1262}"
Location
=
""
End
Begin VB.Timer timTimer
Enabled
=
0
'False
Interval
=
5
Left
=
6180
Top
=
1500
End
Begin VB.PictureBox picAddress
Align
=
1 'Align Top
BorderStyle
=
0 'None
Height
=
675
Left
=
0
ScaleHeight
=
675
ScaleWidth
=
5790
TabIndex
=
4
TabStop
=
0
'False
Top
=
540
Width
=
5790
Begin VB.ComboBox cboAddress
Height
=
315
Left
=
30
TabIndex
=
2
Top
=
330
Width
=
5415
End
Begin VB.Label lblAddress
Caption
=
"&Adresse:"
Height
=
255
Left
=
45
TabIndex
=
1
Tag
=
"&Address:"
Top
=
60
Width
=
3075
End
End
Begin ComctlLib.ImageList imlIcons
Left
=
2670
Top
=
2325
_ExtentX
=
1005
_ExtentY
=
1005
BackColor
=
-2147483643
ImageWidth
=
24
ImageHeight
=
24
MaskColor
=
12632256
_Version
=
327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages
=
6
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture
=
{Binary}
Key
=
""
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture
=
{Binary}
Key
=
""
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture
=
{Binary}
Key
=
""
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
frmBrowser - 3
End
End
Picture
=
{Binary}
Key
=
""
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture
=
{Binary}
Key
=
""
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture
=
{Binary}
Key
=
""
EndProperty
EndProperty
Adresse:
frmDicoHebreu - 1
'Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
'(ByVal hwndCaller As Long, ByVal pszFile As String, _
'ByVal uCommand As Long, ByVal dwData As Long) As Long
'Dim robby As IAgentCtlCharacterEx
'Const DATAPATH = "robby.acs"
Private Sub btnAjouter_Click()
' au cas où
Close
Dim lexique$, lfile, hebreu$, prononciation$, francais$, notes$
lexique = App.Path & "\tools\lexiqueheb.dic"
lfile = FreeFile
'définitions des variables
hebreu = txtHebreu.Text
prononciation = txtPrononciation.Text
francais = txtFrancais.Text
notes = txtNotes.Text
' attention VB ne gère pas les virgules & les guilleemnts
francais = Replace(francais, ",", "~", 1, , vbTextCompare)
notes = Replace(notes, ",", "~", 1, , vbTextCompare)
notes = Replace(notes, Chr$(51), "'", 1)
' ouverture du lexique pour écriture
Open lexique For Append As #lfile
Write #lfile, hebreu & "1/" & prononciation & "2/" & francais & "3/" & notes
Close
btnEffacer_Click
End Sub
Private Sub btnEscape_Click()
Unload Me
End Sub
Private Sub btnEffacer_Click()
txtHebreu.Text = ""
txtPrononciation.Text = ""
txtFrancais.Text = ""
txtNotes.Text = ""
Timer1.Enabled = False
End Sub
Private Sub btnFermer_Click()
'robby.Hide 0
Unload Me
End Sub
Private Sub btnGo_Click()
Dim hebreu$, prononciation$, francais$, notes$, recherche$, mot$
'définitions des variables
hebreu = txtHebreu.Text
prononciation = txtPrononciation.Text
francais = txtFrancais.Text
notes = txtNotes.Text
' gestion erreurs
If txtHebreu.Text = "" And _
txtFrancais.Text = "" Then
lfile = MsgBox("Vous n'avez pas saisi votre recherche !", vbExclamation, "Rechercher un mot")
Exit Sub
End If
' Par défaut la recherche est EXACTE
'détermination du mot-clé à chercher dans le lexique
' je cherche un mot HEBREU
If txtFrancais.Text = "" Then 'And _
'txtPrononciation.Text = "" And _
'txtNotes.Text = "" Then
frmDicoHebreu - 2
recherche = txtHebreu.Text
Call HebreuFrancais(recherche)
Exit Sub
' je cherche un mot FRANCAIS
ElseIf txtHebreu.Text = "" Then 'And _
'txtPrononciation.Text = "" And _
'txtNotes.Text = "" Then
recherche = txtFrancais.Text
Call FrancaisHebreu(recherche)
Exit Sub
' C'est du français que je cherche !
End If
End Sub
Private Sub btnGo2_Click()
End Sub
Private Sub BtnGraphic1_Click()
txtHebreu.Text = ""
txtPrononciation.Text = ""
txtFrancais.Text = ""
txtNotes.Text = ""
Timer1.Enabled = False
End Sub
Private Sub btnRechercher_Click()
btnGo_Click
End Sub
Private Sub Command1_Click()
Dim mothebreu$
mothebreu = txtHebreu.Text
mothebreu = StrReverse(mothebreu)
If Left(mothebreu, 1) = "m" Then
mothebreu = "M" & Mid(mothebreu, 2, Len(mothebreu))
ElseIf Left(mothebreu, 1) = "k" Then
mothebreu = "n" & Mid(mothebreu, 2, Len(mothebreu))
ElseIf Left(mothebreu, 1) = "k" Then
mothebreu = "N" & Mid(mothebreu, 2, Len(mothebreu))
ElseIf Left(mothebreu, 1) = "p" Then
mothebreu = "P" & Mid(mothebreu, 2, Len(mothebreu))
ElseIf Left(mothebreu, 1) = "u" Then
mothebreu = "U" & Mid(mothebreu, 2, Len(mothebreu))
End If
txtHebreu.Text = mothebreu
End Sub
Private Sub Form_Load()
Command1.Visible = False
btnAjouter.Visible = False
mnuConsultation.Checked = True
'Microsoft Agent robby
'Agent.Characters.Load "robby", DATAPATH
'Set robby = Agent.Characters("robby")
'robby.LanguageID = &H40C
'Dim c
'c = robby.MoveTo(640, 200)
'robby.Show
'robby.Play ("GetAttention")
'robby.Think ("Bonjour, Je suis Robby. Je vous lirai les passages que vous souhaitez. Pour
cela, cliquez moi, ou pressez F2")
End Sub
Private Sub Image2_Click()
Dim erreur
'If txtPrononciation.Text <> "" Then
frmDicoHebreu - 3
'robby.Speak (txtPrononciation.Text & ", qui signifie : " & txtFrancais.Text)
'Else
'erreur = MsgBox("Il n'y a rien à prononcer !", vbExclamation, "Erreur")
'End If
End Sub
Private Sub Label5_Click()
Dim erreur
'If txtPrononciation.Text <> "" Then
'Prononce.Speak (txtPrononciation.Text)
'Else
'erreur = MsgBox("Il n'y a rien à prononcer !", vbExclamation)
'End If
End Sub
Private Sub mnuAide2_Click()
Dim msg$
msg = MsgBox("Abbréviations :" & vbCrLf & "- S + numéro = Numéro strong" & vbCrLf & "- EP : Etude P
erspicaces des Ecritures (2 vol.)" & vbCrLf & "- BDB : Brown-Driver-Briggs Hebrew and Chaldee Lexic
on, Hendrikson Publishers, 7e éd." & vbCrLf & "- DHAB: Dictionnaire d'Hébreu et d'Araméen Bibliques
, Ph. Reymond, éd. CERF/SBF, 2002", vbInformation)
End Sub
Private Sub mnuConsultation_Click()
btnAjouter.Visible = False
Command1.Visible = True
mnuConsultation.Checked = True
mnuEdition.Checked = False
Timer1.Enabled = False
End Sub
Private Sub mnuEdition_Click()
Dim msg
msg = InputBox("Vous allez modifier le lexique de Bible Parser." & vbCrLf & vbCrLf & "Veuillez sasi
sir le mot de passe !", "Mode Edition")
If msg = "debarim" Then
btnAjouter.Visible = True
btnAjouter.Enabled = True
Command1.Visible = True
mnuConsultation.Checked = False
mnuEdition.Checked = True
mnuVisible_Click
mnuStrRev_Click
Timer1.Enabled = False
End If
End Sub
Private Sub mnuInvisible_Click()
mnuVisible.Checked = False
mnuInvisible.Checked = True
txtPrononciation.Visible = False
Label5.Visible = False
End Sub
Private Sub mnuQuit_Click()
Unload Me
End Sub
Private Sub mnuStrRev_Click()
Command1.Visible = True
Command1_Click
End Sub
Private Sub mnuVisible_Click()
mnuVisible.Checked = True
mnuInvisible.Checked = False
txtPrononciation.Visible = True
End Sub
frmDicoHebreu - 4
Private Sub Timer1_Timer()
If mnuEdition.Checked = False Then btnGo_Click
End Sub
Private Sub Timer2_Timer()
If txtHebreu.Text = "" Then
Timer1.Enabled = False
End If
End Sub
Private Sub txtFrancais_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then btnGo_Click
End Sub
Private Sub txtHebreu_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then btnGo_Click
If KeyCode = 27 Then Unload Me
End Sub
Private Sub txtNotes_Change()
Timer1.Enabled = False
End Sub
frmDicoHebreu - 1
VERSION 5.00
Begin VB.Form frmDicoHebreu
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Dictionnaire hébreu / français"
ClientHeight
=
3765
ClientLeft
=
45
ClientTop
=
540
ClientWidth
=
6525
ForeColor
=
&H00000000&
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
3765
ScaleWidth
=
6525
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.CommandButton btnAjouter
Caption
=
"&Ajouter"
Height
=
375
Left
=
5040
TabIndex
=
16
Top
=
2160
Width
=
1455
End
Begin VB.CommandButton btnRechercher
Caption
=
"Rechercher"
Height
=
375
Left
=
5040
TabIndex
=
15
Top
=
1680
Width
=
1455
End
Begin VB.CommandButton btnEffacer
Caption
=
"&Effacer"
Height
=
375
Left
=
5280
TabIndex
=
14
Top
=
960
Width
=
1095
End
Begin VB.CommandButton btnFermer
Caption
=
"&Fermer"
Height
=
375
Left
=
5520
TabIndex
=
13
Top
=
3360
Width
=
855
End
Begin VB.Timer Timer2
Interval
=
20
Left
=
720
Top
=
3120
End
Begin VB.CheckBox chkCase
Height
=
195
Left
=
5040
TabIndex
=
11
Top
=
1440
Value
=
1 'Checked
Width
=
195
End
Begin VB.Timer Timer1
Interval
=
250
Left
=
5520
Top
=
2640
End
Begin VB.CommandButton btnGo
Caption
=
"btnGo"
Height
=
195
Left
=
480
TabIndex
=
10
Top
=
120
Visible
=
0
'False
Width
=
1335
frmDicoHebreu - 2
End
Begin VB.CommandButton Command1
Caption
=
"<>"
Height
=
255
Left
=
2040
TabIndex
=
9
ToolTipText
=
"Cliquez ici pour inverser votre mot hébreu"
Top
=
1440
Visible
=
0
'False
Width
=
735
End
Begin VB.TextBox txtPrononciation
Height
=
405
Left
=
0
MouseIcon
=
(Icon)
TabIndex
=
2
ToolTipText
=
"Cliquez ici pour écouter la prononciation de ce mot"
Top
=
1680
Visible
=
0
'False
Width
=
1815
End
Begin VB.TextBox txtFrancais
Height
=
495
Left
=
3000
TabIndex
=
1
Top
=
960
Width
=
2055
End
Begin VB.TextBox txtHebreu
BeginProperty Font
Name
=
"OLBHEB"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
720
TabIndex
=
0
Top
=
960
Width
=
2055
End
Begin VB.TextBox txtNotes
Height
=
975
Left
=
1320
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
3
Top
=
2640
Width
=
3615
End
Begin VB.Image Image2
Height
=
480
Left
=
120
MousePointer
=
2 'Cross
Picture
=
(Icon)
ToolTipText
=
"Prononcer le mot hébreu"
Top
=
960
Visible
=
0
'False
Width
=
480
End
Begin VB.Label Label6
BackStyle
=
0 'Transparent
Caption
=
"Repecter la casse"
BeginProperty Font
Name
=
"Times New Roman"
Size
=
8.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
ForeColor
=
&H00FFFFFF&
frmDicoHebreu - 3
Height
Left
TabIndex
Top
Width
=
=
=
=
=
End
Begin VB.Label Label5
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
ToolTipText
=
Top
=
Visible
=
Width
=
End
Begin VB.Label Label4
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label3
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
ToolTipText
=
Top
=
Width
=
End
Begin VB.Label Label2
Alignment
=
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
255
5280
12
1440
1215
0 'Transparent
"Prononciation"
=
=
=
=
=
=
=
"Times New Roman"
9.75
0
400
0
'False
-1 'True
0
'False
&H00FFFFFF&
255
0
8
"Cliquez ici pour écouter la prononciation de ce mot"
2160
0
'False
1215
0 'Transparent
"Français"
=
=
=
=
=
=
=
"MS Sans Serif"
8.25
0
700
0
'False
0
'False
0
'False
&H00FFFFFF&
255
3480
7
1440
975
0 'Transparent
"Hébreu"
=
=
=
=
=
=
=
"MS Sans Serif"
8.25
0
700
0
'False
0
'False
0
'False
&H00FFFFFF&
255
1320
6
"Cliquez ici pour écouter la prononciation de ce mot"
1440
975
2 'Center
0 'Transparent
"Notes"
=
=
=
=
=
"MS Sans Serif"
12
0
700
0
'False
frmDicoHebreu - 4
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Width
=
=
=
0
0
'False
'False
&H00FFFFFF&
375
1200
5
2280
3615
End
Begin VB.Label Label1
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"Mrbd"
BeginProperty Font
Name
=
"OLBHEB"
Size
=
24
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
ForeColor
=
&H00FFFFFF&
Height
=
495
Left
=
0
TabIndex
=
4
ToolTipText
=
"DEBARIM : LES PAROLES, LES MOTS, LES CHOSES"
Top
=
120
Width
=
6495
End
Begin VB.Menu mnuFichier
Caption
=
"Fichier"
Begin VB.Menu mnuQuit
Caption
=
"Quitter"
Shortcut
=
^{F4}
End
End
Begin VB.Menu mnuMode
Caption
=
"Mode"
Begin VB.Menu mnuConsultation
Caption
=
"Consultation"
Checked
=
-1 'True
Shortcut
=
^C
End
Begin VB.Menu mnuB1
Caption
=
"-"
End
Begin VB.Menu mnuEdition
Caption
=
"Edition"
Shortcut
=
^E
End
End
Begin VB.Menu mnuOptions
Caption
=
"Options"
Begin VB.Menu mnuStrRev
Caption
=
"Inverse hébreu"
Shortcut
=
{DEL}
End
Begin VB.Menu mnuB2
Caption
=
"-"
End
Begin VB.Menu mnuTrans
Caption
=
"Translitération"
Begin VB.Menu mnuVisible
Caption
=
"Visible"
End
Begin VB.Menu mnuInvisible
Caption
=
"Invisible"
Checked
=
-1 'True
End
End
End
Begin VB.Menu mnuAide
Caption
=
"?"
Begin VB.Menu mnuAide2
frmDicoHebreu - 5
End
Caption
Shortcut
=
=
"Aide"
{F1}
End
End
Begin VB.Menu mnuTimerOui
Caption
=
"TimerOui"
Visible
=
0
'False
End
Begin VB.Menu mnuTimerNon
Caption
=
"TimerNon"
Visible
=
0
'False
End
Prononciation
Mrbd
Hébreu
Français
Notes
Repecter la casse
frmDicoLatFr - 1
Public Sub btnGo_Click()
Dim mot$
mot = Text1.Text
Text2.Text = ""
If Option1.Value = 1 Then
Call FrancaisLatin(mot)
Else
Call LatinFrancais(mot)
End If
Text2.Visible = True
txtWords.Visible = True
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Text1_Click()
Text1.Text = ""
txtWords.Text = ""
Text2.Visible = False
txtWords.Visible = False
List1.Visible = False
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then btnGo_Click
If KeyAscii = 27 Then Command1_Click
End Sub
frmDicoLatFr - 1
VERSION 5.00
Begin VB.Form frmDicoLatFr
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Latin / Français & Anglais + analyse morphologique"
ClientHeight
=
3405
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
5145
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
3405
ScaleWidth
=
5145
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.ListBox List1
Height
=
645
Left
=
120
TabIndex
=
6
Top
=
2520
Width
=
4455
End
Begin VB.TextBox txtWords
Height
=
1575
Left
=
2280
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
5
Top
=
840
Visible
=
0
'False
Width
=
2775
End
Begin VB.CheckBox Option1
BackColor
=
&H00C0E0FF&
Caption
=
"ou français/latin"
Height
=
255
Left
=
120
TabIndex
=
4
Top
=
480
Width
=
1575
End
Begin VB.CommandButton btnGo
Caption
=
"Go"
Height
=
375
Left
=
1920
TabIndex
=
3
Top
=
120
Width
=
375
End
Begin VB.TextBox Text2
Height
=
1575
Left
=
120
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
2
Top
=
840
Visible
=
0
'False
Width
=
2175
End
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
4680
TabIndex
=
1
Top
=
2520
Width
=
375
End
Begin VB.TextBox Text1
Height
=
375
Left
=
120
TabIndex
=
0
Top
=
120
Width
=
1575
End
frmDicoLatFr - 2
End
frmDictionnaires - 1
Private Sub btnQuitter_Click()
Unload Me
End Sub
Public Sub btnRechercher_Click()
Dim mot$
msg = Replace(frmDictionnaires.txtRecherche.Text, ",", "", 1)
If frmDictionnaires.txtRecherche.Text = "" Then Exit Sub
'If cboEncyclo.Text = "KJD" Then
'
mot = txtRecherche.Text
'
Call LireKJVD(mot)
'
Exit Sub
'End If
'If cboEncyclo.Text = "CBC" Then
'
mot = txtRecherche.Text
'
Call LireCBC(mot)
'
Exit Sub
'End If
frmParse2.Text1.Text = ""
' définition des variables
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
Dim chercher$, reference$
Dim dico$
mot = frmDictionnaires.txtRecherche.Text
lfile = FreeFile
' conditions pour les différents fichiers
If cboEncyclo.Text = "Easton" Then
mot = LCase(mot)
dico = "easton.txt"
ElseIf cboEncyclo.Text = "Smith" Then
dico = "smith.txt"
ElseIf cboEncyclo.Text = "ISBE" Then
dico = "isbe.txt"
ElseIf cboEncyclo.Text = "Hitchcock" Then
dico = "hitch.txt"
ElseIf cboEncyclo.Text = "ATSBD" Then
RechercherATSBD (mot)
Exit Sub
ElseIf cboEncyclo.Text = "Webster" Then
RechercherWebster (mot)
Exit Sub
ElseIf cboEncyclo.Text = "Nuttall" Then
RechercherNuttall (mot)
Exit Sub
ElseIf cboEncyclo.Text = "Wace" Then
RechercherWace (mot)
Exit Sub
End If
' affectation du fichier à ouvrir
ofile = App.Path & "\modules\dictionnaires\" & dico
If dico = "isbe.txt" Then
mot = UCase(mot)
End If
If cboEncyclo.Text = "Easton" Or cboEncyclo.Text = "Smith" Then
premierelettre = UCase(Left(mot, 1))
mot = premierelettre & Mid(mot, 2, Len(mot))
End If
reference = "\" & mot & "\"
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(reference)) = reference Then ' pour que le mot recherché soit exact
'affectation du verset du fichier à la variable
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Do
Line Input #lfile, ligne
frmDictionnaires - 2
Loop
If Left(ligne, 2) = "$$" Then
GoTo apres:
Else
frmParse2.Text1.Text = frmParse2.Text1.Text & " " & ligne
End If
End If
Loop While Not EOF(lfile)
apres:
'MsgBox frmParse2.Text1.Text
'mot = frmParse2.Text1.Text
Close #lfile
frmDictionnaires.txtResultat = UCase(mot) & " :" & vbCrLf & Mid(frmParse2.Text1.Text, Len(mot) + 4,
Len(frmParse2.Text1.Text))
End Sub
Private Sub Form_Load()
cboEncyclo.AddItem ("Easton")
cboEncyclo.AddItem ("Smith")
cboEncyclo.AddItem ("ISBE")
cboEncyclo.AddItem ("ATSBD")
cboEncyclo.AddItem ("Wace")
cboEncyclo.AddItem ("Webster")
cboEncyclo.AddItem ("Nuttall")
cboEncyclo.AddItem ("Hitchcock")
cboEncyclo.Text = "Easton"
End Sub
Private Sub txtrecherche_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then btnRechercher_Click
End Sub
Private Sub txtresultat_DblClick()
txtRecherche.Text = txtResultat.SelText
txtRecherche.Text = Trim(txtRecherche.Text)
txtRecherche.Text = Replace(txtRecherche.Text,
txtRecherche.Text = Replace(txtRecherche.Text,
txtRecherche.Text = Replace(txtRecherche.Text,
txtRecherche.Text = Replace(txtRecherche.Text,
txtRecherche.Text = Replace(txtRecherche.Text,
txtRecherche.Text = Replace(txtRecherche.Text,
btnRechercher_Click
End Sub
",",
".",
"!",
":",
"(",
")",
"")
"")
"")
"")
"")
"")
frmDictionnaires - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmDictionnaires
BackColor
=
&H00FFFFFF&
BorderStyle
=
4 'Fixed ToolWindow
ClientHeight
=
4380
ClientLeft
=
7455
ClientTop
=
2445
ClientWidth
=
4200
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
4380
ScaleWidth
=
4200
Begin RichTextLib.RichTextBox txtresultat
Height
=
2415
Left
=
120
TabIndex
=
13
Top
=
1440
Width
=
3855
_ExtentX
=
6800
_ExtentY
=
4260
_Version
=
393217
Enabled
=
-1 'True
ScrollBars
=
2
TextRTF
=
<...>
End
Begin VB.ComboBox cboEncyclo
Height
=
315
Left
=
1920
TabIndex
=
11
Top
=
840
Width
=
1575
End
Begin VB.CommandButton btnQuitter
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
3600
TabIndex
=
10
Top
=
3960
Width
=
495
End
Begin VB.OptionButton optCBC
BackColor
=
&H00C0E0FF&
Caption
=
"Option1"
ForeColor
=
&H00000000&
Height
=
255
Left
=
4080
TabIndex
=
8
Top
=
4800
Visible
=
0
'False
Width
=
255
End
Begin VB.OptionButton optKJVD
BackColor
=
&H00C0E0FF&
Caption
=
"Option1"
ForeColor
=
&H00000000&
Height
=
255
Left
=
4080
TabIndex
=
6
Top
=
4440
Visible
=
0
'False
Width
=
255
End
Begin VB.CommandButton btnrechercher
Caption
=
"Go"
Default
=
-1 'True
Height
=
375
Left
=
3600
TabIndex
=
1
Top
=
840
Width
=
495
End
frmDictionnaires - 2
Begin VB.TextBox txtrecherche
Height
=
405
Left
=
120
TabIndex
=
0
ToolTipText
=
"Tapez votre recherche en anglais"
Top
=
840
Width
=
1695
End
Begin VB.OptionButton optEncyclopaedia
BackColor
=
&H00C0E0FF&
Caption
=
"&International Bible Standard Encyclopaedia"
Height
=
255
Left
=
4080
TabIndex
=
5
Top
=
4080
Visible
=
0
'False
Width
=
3375
End
Begin VB.OptionButton optSmith
BackColor
=
&H00C0E0FF&
Caption
=
"Dictionnaire biblique de &Smith"
Height
=
255
Left
=
4080
TabIndex
=
4
Top
=
3720
Visible
=
0
'False
Width
=
2415
End
Begin VB.OptionButton optHitch
BackColor
=
&H00C0E0FF&
Caption
=
"Dictionnaire de &Hitchcock"
Height
=
255
Left
=
4080
TabIndex
=
3
Top
=
3360
Visible
=
0
'False
Width
=
2535
End
Begin VB.OptionButton optEaston
BackColor
=
&H00C0E0FF&
Caption
=
"Dictionnaire de &Easton"
Height
=
255
Left
=
4080
TabIndex
=
2
Top
=
3000
Visible
=
0
'False
Width
=
1935
End
Begin VB.Label Label2
BackStyle
=
0 'Transparent
Caption
=
"Références"
BeginProperty Font
Name
=
"Georgia"
Size
=
15.75
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
Height
=
615
Left
=
1080
TabIndex
=
12
Top
=
120
Width
=
3255
End
Begin VB.Label lblCBC
BackColor
=
&H00C0E0FF&
Caption
=
"Encyclopédie biblique condensée"
ForeColor
=
&H00000000&
Height
=
255
Left
=
4320
TabIndex
=
9
Top
=
4800
Visible
=
0
'False
Width
=
2535
frmDictionnaires - 3
End
End
Begin VB.Label Label1
BackColor
=
Caption
=
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Visible
=
Width
=
End
&H00C0E0FF&
"Dictionnaire de la Bible King James"
&H00000000&
255
4320
7
4440
0
'False
2535
Références
frmGF - 1
Private Sub Agent1_Bookmark(ByVal BookmarkID As Long)
Dim msg
If BookmarkID = 100 Then
msg = MsgBox("Voulez-vous visiter ce site ?", vbYesNo, "Consulter le dictionnaire Liddell Scott")
If msg = vbYes Then
Load frmBrowser
frmBrowser.Show
frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/cgi-bin/resolveform"
End If
End If
End Sub
Private Sub Command1_Click()
If optgrec.Value = True Then
Text1.Font = "Grenet"
Label1.Font = "Papyrus"
ElseIf optfra.Value = True Then
Text1.Font = "Papyrus"
Label1.Font = "Grenet"
End If
Dim definition$, motr$, mott$, msg$
msg = "Vous devez saisir un mot à définir ! | Vous n'avez pas saisi de mot à définir... | Que voule
z-vous définir ? | Il vous faut indiquer un mot à définir."
If Text1.Text = "" Then
MsgBox msg
Exit Sub
End If
If optgrec.Value = True Then '--------- appel de fonction pour le grec ( Gr > Fr )
motr = Text1.Text
Call DefinirGrec(motr, mott)
If mott = "Pas de définition disponible" Then
mott = "???"
End If
Label1.Caption = mott
Label1.ToolTipText = "Résultat pour " & motr
ElseIf optfra.Value = True Then ' ----- appel de fonction pour le français ( Fr > Gr )
motr = Text1.Text
Call DefinirFrancais(motr, mott)
If mott = "Pas de définition disponible" Then
mott = "***"
End If
Label1.Caption = mott
Label1.ToolTipText = "Résultat pour " & motr
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
If optgrec.Value = True Then
Text1.Font = "Grenet"
Label1.Font = "Papyrus"
Else
Text1.Font = "Papyrus"
Label1.Font = "Grenet"
End If
End Sub
Private Sub Label2_Click()
Text1.Text = ""
frmGF - 2
Label1.Caption = ""
End Sub
Private Sub optfra_Click()
Text1.Text = ""
Label1.Caption = ""
Text1.Font = "Papyrus"
Label1.Font = "Papyrus"
End Sub
Private Sub optgrec_Click()
Text1.Text = ""
Label1.Caption = ""
Text1.Font = "Papyrus"
Label1.Font = "Papyrus"
End Sub
Private Sub Picture1_Click()
Unload Me
End Sub
Private Sub Text1_GotFocus()
Text1.Text = ""
End Sub
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
Command1_Click
'Lance la recherche
ElseIf KeyCode = vbKeyEscape Then
Unload Me
End If
End Sub
frmGF - 1
VERSION 5.00
Begin VB.Form frmGF
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Dictionnaire grec/français"
ClientHeight
=
2190
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
5115
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
2190
ScaleWidth
=
5115
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.CommandButton Command2
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
4560
TabIndex
=
6
Top
=
1680
Width
=
375
End
Begin VB.CommandButton Command1
Caption
=
"&Définir"
Default
=
-1 'True
BeginProperty Font
Name
=
"Times New Roman"
Size
=
8.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
2400
TabIndex
=
5
Top
=
0
Width
=
735
End
Begin VB.TextBox Text1
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
13.5
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
0
TabIndex
=
0
Top
=
0
Width
=
2295
End
Begin VB.OptionButton optfra
BackColor
=
&H00FFFFFF&
Caption
=
"&Français"
Height
=
255
Left
=
840
TabIndex
=
2
Top
=
480
Width
=
1455
End
Begin VB.OptionButton optgrec
BackColor
=
&H00FFFFFF&
Caption
=
"Grec"
Height
=
255
Left
=
0
TabIndex
=
1
Top
=
480
frmGF - 2
End
Value
Width
=
=
End
Begin VB.Label Label2
Alignment
=
BackStyle
=
Caption
=
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label1
BackStyle
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
-1 'True
855
2 'Center
0 'Transparent
"Effacer"
&H000000FF&
255
2040
4
480
1335
0
=
=
=
=
=
=
=
'Transparent
"Grenet"
14.25
0
400
0
'False
0
'False
0
'False
615
240
3
1320
3495
Effacer
frmGrammaire - 1
Private Sub btnFermer_Click()
If frmAnalyseMorphologique.lblanalyse <> "" Then
Unload Me
'Me.Hide
frmAnalyseMorphologique.Show
Else
Unload Me
End If
End Sub
Private Sub btnGo_Click()
Dim ofile, lfile, ligne, texte
lstGrammaires.Text = ""
If chkExact.Value = 0 Then
ofile = App.Path & "\tools\temp.txt"
lfile = FreeFile
texte = Replace(txtAnalyse.Text, " ", vbCrLf)
texte = Replace(texte, "1", "")
texte = Replace(texte, "2", "")
texte = Replace(texte, "3", "")
texte = Replace(texte, "personne", "")
texte = Replace(texte, "ème", "")
texte = Replace(texte, "ère", "")
texte = Replace(texte, "(", "")
texte = Replace(texte, ")", "")
List1.Clear
Else
Open ofile For Output As #lfile
Print #lfile, texte
Close
lfile = FreeFile
texte = ""
Open ofile For Input As #lfile
Do
Input #lfile, texte
If texte <> "" Then
List1.AddItem (texte)
End If
Loop While Not EOF(lfile)
Close
List1.Text = List1.List(1)
'Call GrammaireAbel(recherche)
'If recherche <> "" Then lstGrammaires.AddItem ("Abel, Grammaire du grec biblique")
'Call GrammaireBoxus(recherche)
'If recherche <> "" Then lstGrammaires.AddItem ("Boxus, Grammaire grecque")
'Call GrammaireWallace(recherche)
'If recherche <> "" Then lstGrammaires.AddItem ("Wallace/Mounce, Greek Grammar Compilation")
'List1_Click
'RECHERCHE COMPOSEE, genre: aoriste moyen
List1.Clear
List1.AddItem (txtAnalyse.Text)
'List1.Text = recherche
'Call GrammaireAbel(recherche)
'If recherche <> "" Then lstGrammaires.AddItem ("Abel, Grammaire du Grec biblique")
'Call GrammaireBoxus(recherche)
'If recherche <> "" Then lstGrammaires.AddItem ("Boxus, Grammaire grecque")
'Call GrammaireWallace(recherche)
'If recherche <> "" Then lstGrammaires.AddItem ("Wallace/Mounce, Greek Grammar Compilation")
End If
End Sub
Private Sub lblAbel_Click()
Dim msg$, debloque As Boolean
Dim fichier$
Dim ofile%
frmGrammaire - 2
ofile = FreeFile
fichier = App.Path & "\tools\bp.ini"
Open fichier For Input As #ofile
Input #ofile, mot
If lblAbel.Caption = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\abel\abel.pdf")
frmPDF.pdfmain.setCurrentPage (Val(lblAbel.Caption))
frmPDF.Caption = "Abel, Grammaire de grec biblique"
frmPDF.Show
End Sub
Private Sub lblBurton_Click()
If lblBurton.Caption = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\burton\burton.pdf")
frmPDF.pdfmain.setCurrentPage (Val(lblBurton.Caption))
frmPDF.Caption = "Burton - Moods and Tenses of New Testament Greek"
frmPDF.Show
End Sub
Private Sub lblConybeare_Click()
If lblConybeare.Caption = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\cony\conybeare.pdf")
frmPDF.pdfmain.setCurrentPage (Val(lblConybeare.Caption))
frmPDF.Caption = "Conybeare - A Grammar of Septuagint Greek"
frmPDF.Show
End Sub
Private Sub lblGoodwin_Click()
If lblGoodwin.Caption = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\goodw\GoodwinG.pdf")
frmPDF.pdfmain.setCurrentPage (Val(lblGoodwin.Caption))
frmPDF.Caption = "Goodwin - Greek Grammar"
frmPDF.Show
End Sub
Private Sub lblSmith_Click()
If lblSmith.Caption = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\smith\smith.pdf")
frmPDF.pdfmain.setCurrentPage (Val(lblSmith.Caption))
frmPDF.Caption = "Smith - Greek Grammar"
frmPDF.Show
End Sub
Private Sub lblWallace_Click()
If lblWallace.Caption = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\gg\GG.pdf")
frmPDF.pdfmain.setCurrentPage (Val(lblWallace.Caption))
frmPDF.Caption = "Wallace / Mounce Greek Grammar [Compilation]"
frmPDF.Show
End Sub
Private Sub List1_Click()
Dim abel, boxus, conybeare, burnouf, wallace, burton, smith, goodwing, goodwins, gildersleeve, cox
As Boolean
mot = List1.Text
abel = False
boxus = False
burnouf = False
conybeare = False
wallace = False
smyth = False
frmGrammaire - 3
goodwing = False
goodwins = False
cox = False
gildersleeve = False
burton = False
conybeare = False
Dim abel1
lstGrammaires.Clear
recherche = mot
Call GrammaireAbel(recherche)
If recherche <> "" Then abel = True
recherche = mot
Call GrammaireBoxus(recherche)
If recherche <> "" Then boxus = True
recherche = mot
Call GrammaireWallace(recherche)
If recherche <> "" Then wallace = True
recherche = mot
Call GrammaireSmyth(recherche)
If recherche <> "" Then smyth = True
recherche = mot
Call GrammaireBurnouf(recherche)
If recherche <> "" Then burnouf = True
recherche = mot
Call GrammaireCox(recherche)
If recherche <> "" Then cox = True
recherche = mot
Call GrammaireGildersleeve(recherche)
If recherche <> "" Then gildersleeve = True
recherche = mot
Call GrammaireBurton(recherche)
If recherche <> "" Then burton = True
recherche = mot
Call GrammaireConybeare(recherche)
If recherche <> "" Then conybeare = True
'idem pour toutes les grammaires
If abel = True Then lstGrammaires.AddItem "Abel, Grammaire du grec biblique"
If boxus = True Then lstGrammaires.AddItem "Boxus, Grammaire grecque"
If wallace = True Then lstGrammaires.AddItem "Wallace/Mounce, Greek Grammar Compilation"
If smyth = True Then lstGrammaires.AddItem "Smyth - Greek Grammar for Colleges"
If burnouf = True Then lstGrammaires.AddItem "Burnouf - Méthode pour étudier la langue grecque"
If cox = True Then lstGrammaires.AddItem "Jeffrey A. Rydberg-Cox, Overview of Greek Syntax"
If gildersleeve = True Then lstGrammaires.AddItem "Basil Lanneau Gildersleeve, Syntax of Classical
Greek"
If burton = True Then lstGrammaires.AddItem "Burton - Moods and Tenses of New Testament Greek"
If conybeare = True Then lstGrammaires.AddItem "Conybeare - Grammar of Septuagint Greek"
End Sub
Private Sub lstGrammaires_Click()
'GREC
recherche = List1.Text
'recherche = lstGrammaires.List(lstGrammaires.ListIndex)
If lstGrammaires.Text = "Abel, Grammaire du grec biblique" Then
Call GrammaireAbel(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\abel\abel.pdf")
frmPDF.Caption = "Abel, Grammaire du grec biblique"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
frmGrammaire - 4
ElseIf lstGrammaires.Text = "Boxus, Grammaire grecque" Then
Call GrammaireBoxus(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\boxus\Boxus.pdf")
frmPDF.Caption = "Boxus, Grammaire grecque"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
ElseIf lstGrammaires.Text = "Wallace/Mounce, Greek Grammar Compilation" Then
Call GrammaireWallace(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\GG\gg.pdf")
frmPDF.Caption = "Wallace/Mounce, Greek Grammar Compilation"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
ElseIf lstGrammaires.Text = "Smyth - Greek Grammar for Colleges" Then
Call GrammaireSmyth(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\smith\smith.pdf")
frmPDF.Caption = "Smyth - Greek Grammar for Colleges"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
ElseIf lstGrammaires.Text = "Burnouf - Méthode pour étudier la langue grecque" Then
Call GrammaireBurnouf(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\grk\Burnouf.pdf")
frmPDF.Caption = "Burnouf - Méthode pour étudier la langue grecque"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
ElseIf lstGrammaires.Text = "Jeffrey A. Rydberg-Cox, Overview of Greek Syntax" Then
Call GrammaireCox(recherche)
If recherche = "" Then Exit Sub
frmBrowser.cboAddress.Text = recherche
ElseIf lstGrammaires.Text = "Basil Lanneau Gildersleeve, Syntax of Classical Greek" Then
Call GrammaireGildersleeve(recherche)
If recherche = "" Then Exit Sub
frmBrowser.cboAddress.Text = recherche
ElseIf lstGrammaires.Text = "Burton - Moods and Tenses of New Testament Greek" Then
Call GrammaireBurton(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\burton\burton.pdf")
frmPDF.Caption = "Burton - Moods and Tenses of New Testament Greek"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
ElseIf lstGrammaires.Text = "Conybeare - Grammar of Septuagint Greek" Then
Call GrammaireConybeare(recherche)
If recherche = "" Then Exit Sub
Load frmPDF
frmPDF.pdfmain.LoadFile (App.Path & "\ref\cony\conybeare.pdf")
frmPDF.Caption = "Conybeare - Grammar of Septuagint Greek"
frmPDF.pdfmain.setCurrentPage (recherche)
frmPDF.Show
End If
End Sub
Private Sub Timer1_Timer()
If frmAnalyseMorphologique.lblanalyse.Caption <> "" Then
btnGo_Click
Timer1.Enabled = False
End If
End Sub
Private Sub txtAnalyse_KeyPress(KeyAscii As Integer)
If KeyAscii = 27 Then btnFermer_Click
End Sub
frmGrammaire - 1
VERSION 5.00
Begin VB.Form frmGrammaire
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Aide grammaticale ..."
ClientHeight
=
4530
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
4365
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
4530
ScaleWidth
=
4365
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.ListBox lstGrammaires
Height
=
2595
Left
=
0
TabIndex
=
5
Top
=
1800
Width
=
4215
End
Begin VB.CheckBox chkExact
BackColor
=
&H00C0E0FF&
Caption
=
"expression exacte"
Height
=
255
Left
=
2640
TabIndex
=
4
Top
=
720
Width
=
1695
End
Begin VB.Timer Timer1
Interval
=
10
Left
=
3840
Top
=
1200
End
Begin VB.ListBox List1
Height
=
1035
Left
=
0
TabIndex
=
3
Top
=
720
Width
=
2415
End
Begin VB.CommandButton btnGo
Caption
=
"chercher !"
Height
=
375
Left
=
2640
TabIndex
=
2
Top
=
1080
Width
=
1215
End
Begin VB.TextBox txtAnalyse
Height
=
615
Left
=
0
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
1
Top
=
0
Width
=
4335
End
Begin VB.CommandButton btnFermer
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
3960
TabIndex
=
0
Top
=
4080
Visible
=
0
'False
Width
=
375
End
End
frmGrecHebreu - 1
Option Explicit
Public numéro As Boolean
Private Sub Command1_Click()
Dim ofile$, lfile, strong$, texte$, toto, i, texterev$
Dim premiereespace, deuxiemeespace
strong = ""
txtResultat.Text = ""
ofile = App.Path & "\modules\gh\grechebreu.txt"
lfile = FreeFile
strong = LCase(txtStrong.Text)
frmTSK.Text = ""
If numéro = False Then
If Len(strong) = 1 Then
strong = "OOOO" & strong
End If
If Len(strong) = 2 Then
strong = "OOO" & strong
End If
If Len(strong) = 3 Then
strong = "OO" & strong
End If
If Len(strong) = 4 Then
strong = "O" & strong
End If
End If
'strong
'strong
'strong
'strong
'strong
'strong
=
=
=
=
=
=
Replace(strong,
Replace(strong,
Replace(strong,
Replace(strong,
Replace(strong,
Replace(strong,
"x",
"q",
"f",
"w",
"y",
"j",
"ch")
"th")
"ph")
"o")
"ps")
"s")
If numéro = False Then
Else
Open ofile For Input As #lfile
Do
Input #lfile, texte
If texte = strong Then
Do
Input #lfile, texte
If Left(texte, 1) = "O" Then Exit Do
txtResultat.Text = txtResultat.Text & vbCrLf & texte
Loop
End If
Loop While Not EOF(lfile)
Close
Open ofile For Input As #lfile
Do
Input #lfile, texte
If Left(texte, Len(strong)) = strong Then
txtResultat.Text = txtResultat.Text & vbCrLf & texte
If Left(texte, 1) = "O" Then Exit Do
'
Do
'
Input #lfile, texte
'
txtResultat.Text = txtResultat.Text & vbCrLf & texte
frmGrecHebreu - 2
'Loop
End If
Loop While Not EOF(lfile)
End If
Close
ofile = App.Path & "\tools\corrwh.txt"
lfile = FreeFile + 1
Open ofile For Output As #lfile
Print #lfile, txtResultat.Text
Close
txtResultat.Text = ""
Open ofile For Input As #lfile
Do
Input #lfile, texte
i = i + 1
If texte <> "" Then
premiereespace = InStr(1, texte, " ", vbTextCompare)
texte = Trim(Mid(texte, premiereespace, Len(texte)))
deuxiemeespace = InStr(1, texte, " ", vbTextCompare)
texte = Mid(texte, deuxiemeespace, Len(texte))
End If
If texte <> "" Then
txtResultat.Text = txtResultat.Text & vbCrLf & i - 1 & ") " & texte
'frmTSK.Text.Text = frmTSK.Text.Text & vbCrLf & i - 1 & "-" & StrReverse(texte)
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "a", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "e", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "i", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "o", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "u", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "v", "b")
End If
Loop While Not EOF(lfile)
'MsgBox strong
'MsgBox numéro
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
Dim texte$, strong$
strong = frmGrecHebreu.txtStrong.Text
'Load frmTSK
'frmTSK. Show 1
'frmTSK.lblpassage.Font = "Grenet"
'frmTSK.lblpassage.Caption = strong
'frmTSK.Text.Font = "Shibolet"
'frmTSK.Text.Text = frmGrecHebreu.txtResultat.Text
'frmTSK.Text.Text = frmGrecHebreu.txtResultat.Text
'texte = StrReverse(frmGrecHebreu.txtResultat.Text)
'frmTSK.Text.Text = texte
'texte = txtResultat.Text
'premiereespace = InStr(1, texte, ")", vbTextCompare)
'texte = Trim(Mid(texte, premiereespace + 1, Len(texte)))
frmGrecHebreu - 3
'Load frmTSK
'frmTSK. Show 1
'frmTSK.Text1.Font = "OLBHEB"
'txtResultat.Text = txtResultat.Text & vbCrLf & StrReverse(texte)
End Sub
Private Sub txtStrong_KeyPress(KeyAscii As Integer)
If KeyAscii < 47 Or KeyAscii > 57 Then
numéro = True
End If
End Sub
frmGrecHebreu - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmGrecHebreu
BackColor
=
&H00FFFFFF&
BorderStyle
=
1 'Fixed Single
Caption
=
"Lexique grec/hébreu"
ClientHeight
=
3060
ClientLeft
=
6705
ClientTop
=
2220
ClientWidth
=
4530
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
3060
ScaleWidth
=
4530
StartUpPosition =
2 'CenterScreen
Begin VB.CommandButton Command3
Caption
=
"&voir hébreu"
Height
=
375
Left
=
2640
TabIndex
=
6
Top
=
2640
Visible
=
0
'False
Width
=
1095
End
Begin VB.TextBox Text1
Height
=
375
Left
=
120
MultiLine
=
-1 'True
TabIndex
=
5
Top
=
2640
Visible
=
0
'False
Width
=
975
End
Begin RichTextLib.RichTextBox txtResultat
Height
=
1815
Left
=
120
TabIndex
=
4
Top
=
720
Width
=
4215
_ExtentX
=
7435
_ExtentY
=
3201
_Version
=
393217
ScrollBars
=
3
TextRTF
=
<...>
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name
=
"Times New Roman"
Size
=
12
Charset
=
238
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
End
Begin VB.CommandButton Command2
Cancel
=
-1 'True
Caption
=
"&ok"
Height
=
375
Left
=
3840
TabIndex
=
3
Top
=
2640
Width
=
615
End
Begin VB.CommandButton Command1
Caption
=
"&Correspondant(s) hébreu"
Default
=
-1 'True
Height
=
495
Left
=
3000
TabIndex
=
2
Top
=
120
Width
=
1455
End
Begin VB.TextBox txtStrong
frmGrecHebreu - 2
End
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label1
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
=
=
=
=
=
=
=
"Times New Roman"
12
238
400
0
'False
0
'False
0
'False
495
1200
0
120
1695
0 'Transparent
"Mot ou n° Strong"
=
=
=
=
=
=
=
"Times New Roman"
9
238
700
0
'False
0
'False
0
'False
495
120
1
120
975
Mot ou n°
Strong
frmHebreuGrec - 1
Option Explicit
Public numéro As Boolean
Private Sub Command1_Click()
Dim ofile$, lfile, strong$, texte$, toto, i, texterev$
Dim premiereespace, deuxiemeespace
strong = ""
txtResultat.Text = ""
ofile = App.Path & "\modules\gh\hebreugrec.txt"
lfile = FreeFile
strong = LCase(txtStrong.Text)
frmTSK.Text.Text = ""
If numéro = False Then
If Len(strong) = 1 Then
strong = "OOOO" & strong
End If
If Len(strong) = 2 Then
strong = "OOO" & strong
End If
If Len(strong) = 3 Then
strong = "OO" & strong
End If
If Len(strong) = 4 Then
strong = "O" & strong
End If
End If
If numéro = False Then
Else
Open ofile For Input As #lfile
Do
Input #lfile, texte
If texte = strong Then
Do
Input #lfile, texte
If Left(texte, 1) = "O" Then Exit Do
txtResultat.Text = txtResultat.Text & vbCrLf & texte
Loop
End If
Loop While Not EOF(lfile)
Close
Open ofile For Input As #lfile
Do
Input #lfile, texte
If Left(texte, Len(strong)) = strong Then
txtResultat.Text = txtResultat.Text & vbCrLf & texte
If Left(texte, 1) = "O" Then Exit Do
'
Do
'
Input #lfile, texte
'
txtResultat.Text = txtResultat.Text & vbCrLf & texte
'Loop
End If
Loop While Not EOF(lfile)
frmHebreuGrec - 2
End If
Close
ofile = App.Path & "\tools\corrwh.txt"
lfile = FreeFile + 1
Open ofile For Output As #lfile
Print #lfile, txtResultat.Text
Close
txtResultat.Text = ""
Open ofile For Input As #lfile
Do
Input #lfile, texte
i = i + 1
If texte <> "" Then
premiereespace = InStr(1, texte, " ", vbTextCompare)
texte = Trim(Mid(texte, premiereespace, Len(texte)))
deuxiemeespace = InStr(1, texte, " ", vbTextCompare)
'texte = Mid(texte, deuxiemeespace, Len(texte))
End If
If texte <> "" Then
txtResultat.Text = txtResultat.Text & vbCrLf & i - 1 & ") " & texte
'frmTSK.Text.Text = frmTSK.Text.Text & vbCrLf & i - 1 & "-" & StrReverse(texte)
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "a", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "e", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "i", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "o", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "u", "")
'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "v", "b")
End If
Loop While Not EOF(lfile)
'MsgBox strong
'MsgBox numéro
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub txtStrong_KeyPress(KeyAscii As Integer)
If KeyAscii < 47 Or KeyAscii > 57 Then
numéro = True
End If
End Sub
frmHebreuGrec - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmHebreuGrec
BackColor
=
&H00FFFFFF&
BorderStyle
=
1 'Fixed Single
Caption
=
"Lexique hébreu/grec"
ClientHeight
=
3060
ClientLeft
=
6705
ClientTop
=
2220
ClientWidth
=
4530
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
3060
ScaleWidth
=
4530
StartUpPosition =
2 'CenterScreen
Begin RichTextLib.RichTextBox txtResultat
Height
=
1695
Left
=
120
TabIndex
=
5
Top
=
840
Width
=
4215
_ExtentX
=
7435
_ExtentY
=
2990
_Version
=
393217
Enabled
=
-1 'True
ScrollBars
=
3
TextRTF
=
<...>
End
Begin VB.TextBox Text1
Height
=
375
Left
=
120
MultiLine
=
-1 'True
TabIndex
=
4
Top
=
2640
Visible
=
0
'False
Width
=
1695
End
Begin VB.CommandButton Command2
Cancel
=
-1 'True
Caption
=
"&ok"
Height
=
375
Left
=
3840
TabIndex
=
3
Top
=
2640
Width
=
615
End
Begin VB.CommandButton Command1
Caption
=
"&Correspondant(s) grec"
Default
=
-1 'True
Height
=
495
Left
=
3000
TabIndex
=
2
Top
=
120
Width
=
1455
End
Begin VB.TextBox txtStrong
BeginProperty Font
Name
=
"Times New Roman"
Size
=
12
Charset
=
238
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
1200
TabIndex
=
0
Top
=
120
Width
=
1695
End
Begin VB.Label Label1
BackStyle
=
0 'Transparent
frmHebreuGrec - 2
End
End
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
"Mot ou
=
=
=
=
=
=
=
n° Strong"
"Times New Roman"
9
238
700
0
'False
0
'False
0
'False
495
120
1
120
975
Mot ou n°
Strong
frmLexiqueNT - 1
Dim dico As Boolean
Private Sub btnAjouter_Click()
' au cas où
Close
Dim lexique$, lfile, Grec$, prononciation$, francais$, notes$
lexique = App.Path & "\tools\lexiquegr.dic"
lfile = FreeFile
'définitions des variables
Grec = txtHebreu.Text
prononciation = txtPrononciation.Text
francais = txtFrancais.Text
notes = txtNotes.Text
' attention VB ne gère pas les virgules & les guilleemnts
francais = Replace(francais, ",", "~", 1, , vbTextCompare)
notes = Replace(notes, ",", "~", 1, , vbTextCompare)
notes = Replace(notes, Chr$(51), "'", 1)
' ouverture du lexique pour écriture
Open lexique For Append As #lfile
Write #lfile, Grec & "
" & francais & "
3/" & notes
Close
btnEffacer_Click
End Sub
Private Sub btnEffacer_Click()
dico = True
txtGrec.Text = ""
txtFrancais.Text = ""
txtNotes.Text = ""
txtcode.Text = ""
txtVientde.Text = ""
txtAnalyse.Text = ""
Timer1.Enabled = False
End Sub
Private Sub btnFermer_Click()
Unload Me
End Sub
Private Sub btnGo_Click()
Dim Grec$, prononciation$, francais$, notes$, recherche$, mot$, motdeflechi$
Grec = txtGrec.Text
francais = txtFrancais.Text
notes = txtNotes.Text
' gestion erreurs
If txtGrec.Text = "" And _
txtFrancais.Text = "" Then
lfile = MsgBox("Vous n'avez pas saisi votre recherche !", vbExclamation, "Rechercher un mot")
Exit Sub
End If
' il faut DEFLECHIR le mot
' commençons par le NT
'If frmBible.cboVersion = "NA26+" Then
'
mot = txtGrec.Text
'End If
'If Right(mot, 1) = "j" Then
'
mot = Mid(mot, 1, Len(mot) - 1) & "s"
'
mot = UCase(mot)
'
Call LexiqueNT_Morph(mot)
'End If
' Par défaut la recherche est EXACTE
'détermination du mot-clé à chercher dans le lexique
' je cherche un mot GREC
frmLexiqueNT - 2
If txtFrancais.Text = "" And txtVientde.Text = "" Then
motr = txtGrec.Text
Call DefinirGrec(motr, mott)
txtFrancais.Text = mott
Exit Sub
' je cherche un mot FRANCAIS
ElseIf txtGrec.Text = "" And txtVientde.Text = "" Then
'txtPrononciation.Text = "" And _
'txtNotes.Text = "" Then
motr = txtFrancais.Text
Call DefinirGrec(motr, mott)
recherche = motr
Call FrancaisGrec(recherche)
txtGrec.Text = recherche
Exit Sub
' C'est du français que je cherche !
'ElseIf txtVientde.Text <> "" Then
'
recherche = txtVientde.Text
'
Call GrecFrancais(recherche)
'
Exit Sub
End If
End Sub
Private Sub btnRechercher_Click()
btnGo_Click
End Sub
Private Sub Form_Load()
btnAjouter.Visible = False
mnuConsultation.Checked = True
dico = False
End Sub
Private Sub mnuConsultation_Click()
btnAjouter.Visible = False
mnuEdition.Checked = False
End Sub
Private Sub mnuEdition_Click()
btnAjouter.Visible = True
mnuEdition.Checked = True
End Sub
Private Sub mnuQuit_Click()
Unload Me
End Sub
Private Sub Timer1_Timer()
If mnuEdition.Checked = True Then btnGo_Click
End Sub
Private Sub Timer2_Timer()
If txtGrec.Text = "" Then
Timer1.Enabled = False
End If
End Sub
'And _
frmLexiqueNT - 1
VERSION 5.00
Begin VB.Form frmLexiqueNT
BorderStyle
=
1 'Fixed Single
Caption
=
"Lexique NT"
ClientHeight
=
3840
ClientLeft
=
8130
ClientTop
=
2610
ClientWidth
=
3720
ForeColor
=
&H00FFFFFF&
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
3840
ScaleWidth
=
3720
Begin VB.CommandButton btnAjouter
Caption
=
"+"
Height
=
375
Left
=
3120
TabIndex
=
17
ToolTipText
=
"Ajouter"
Top
=
1800
Width
=
495
End
Begin VB.CommandButton btnEffacer
Caption
=
"Effaçer"
Height
=
375
Left
=
480
TabIndex
=
16
Top
=
3360
Visible
=
0
'False
Width
=
975
End
Begin VB.CommandButton btnRechercher
Caption
=
"&Rechercher"
Default
=
-1 'True
Height
=
375
Left
=
1560
TabIndex
=
15
Top
=
3360
Visible
=
0
'False
Width
=
1095
End
Begin VB.CommandButton btnFermer
BackColor
=
&H00FFFFFF&
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
3120
TabIndex
=
14
ToolTipText
=
"Fermer"
Top
=
3360
Width
=
495
End
Begin VB.TextBox txtVientde
BeginProperty Font
Name
=
"Grenet"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
960
TabIndex
=
12
Top
=
1560
Width
=
2055
End
Begin VB.TextBox txtAnalyse
Height
=
975
Left
=
960
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
frmLexiqueNT - 2
TabIndex
Top
Width
=
=
=
11
2280
2655
End
Begin VB.TextBox txtCode
Height
=
375
Left
=
3240
TabIndex
=
9
Top
=
120
Visible
=
0
'False
Width
=
1455
End
Begin VB.TextBox txtNotes
Height
=
375
Left
=
120
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
4
Top
=
3000
Visible
=
0
'False
Width
=
615
End
Begin VB.TextBox txtGrec
BeginProperty Font
Name
=
"Grenet"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
960
TabIndex
=
0
Top
=
240
Width
=
2055
End
Begin VB.TextBox txtFrancais
Height
=
495
Left
=
960
MultiLine
=
-1 'True
ScrollBars
=
2 'Vertical
TabIndex
=
1
ToolTipText
=
"Vous pouvez lancer une recherche à partir d'ici"
Top
=
840
Width
=
2055
End
Begin VB.CommandButton btnGo
Caption
=
"btnGo"
Height
=
195
Left
=
120
TabIndex
=
2
Top
=
3480
Visible
=
0
'False
Width
=
615
End
Begin VB.Timer Timer1
Interval
=
250
Left
=
3120
Top
=
1200
End
Begin VB.CheckBox chkCase
Height
=
195
Left
=
1320
TabIndex
=
3
Top
=
3840
Value
=
1 'Checked
Visible
=
0
'False
Width
=
195
End
Begin VB.Timer Timer2
Interval
=
20
Left
=
3120
Top
=
720
End
frmLexiqueNT - 3
Begin VB.Label Label7
Alignment
=
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label5
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Visible
=
Width
=
End
Begin VB.Label Label2
Alignment
=
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Label Label3
Alignment
=
BackStyle
=
Caption
=
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
ForeColor
=
Height
=
Left
=
2 'Center
0 'Transparent
"Vient de"
=
=
=
=
=
=
=
"MS Sans Serif"
8.25
0
700
0
'False
0
'False
0
'False
&H00000000&
255
-240
13
1560
1455
0 'Transparent
"Code"
=
=
=
=
=
=
=
"MS Sans Serif"
8.25
0
700
0
'False
0
'False
0
'False
&H00000000&
255
120
10
2760
0
'False
615
2 'Center
0 'Transparent
"Analyse"
=
=
=
=
=
=
=
"MS Sans Serif"
8.25
0
700
0
'False
0
'False
0
'False
&H00000000&
375
-120
8
2400
1095
2 'Center
0 'Transparent
"Grec"
=
=
=
=
=
=
=
"MS Sans Serif"
8.25
0
700
0
'False
0
'False
0
'False
&H00000000&
255
-120
frmLexiqueNT - 4
End
TabIndex
ToolTipText
Top
Width
=
=
=
=
7
"Cliquez ici pour écouter la prononciation de ce mot"
360
855
End
Begin VB.Label Label4
BackStyle
=
0 'Transparent
Caption
=
"Français"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
8.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
ForeColor
=
&H00000000&
Height
=
255
Left
=
120
TabIndex
=
6
Top
=
960
Width
=
1095
End
Begin VB.Label Label6
BackStyle
=
0 'Transparent
Caption
=
"Repecter la casse"
BeginProperty Font
Name
=
"Times New Roman"
Size
=
8.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
-1 'True
Strikethrough
=
0
'False
EndProperty
ForeColor
=
&H00000000&
Height
=
255
Left
=
1680
TabIndex
=
5
Top
=
3840
Visible
=
0
'False
Width
=
1215
End
Begin VB.Menu mnuFichier
Caption
=
"&Fichier"
Begin VB.Menu mnuQuit
Caption
=
"&Quitter"
Shortcut
=
^Q
End
End
Begin VB.Menu mnuMode
Caption
=
"&Mode"
Begin VB.Menu mnuConsultation
Caption
=
"&Consultation"
Checked
=
-1 'True
Shortcut
=
^C
End
Begin VB.Menu mnuB1
Caption
=
"-"
End
Begin VB.Menu mnuEdition
Caption
=
"&Edition"
Shortcut
=
^E
End
Begin VB.Menu mnuAppele
Caption
=
"Appele"
Visible
=
0
'False
End
End
Grec
Français
Vient de
Analyse
Code
frmNotes - 1
Private Sub Picture1_Click()
Unload Me
End Sub
frmNotes - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmNotes
BackColor
=
&H00FFFFFF&
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
"Nouvelle Traduction Annotée"
ClientHeight
=
4710
ClientLeft
=
9105
ClientTop
=
1785
ClientWidth
=
3945
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
ScaleHeight
=
4710
ScaleWidth
=
3945
ShowInTaskbar
=
0
'False
Begin VB.PictureBox Picture1
Appearance
=
0 'Flat
BackColor
=
&H80000005&
BorderStyle
=
0 'None
ForeColor
=
&H80000008&
Height
=
495
Left
=
3120
MousePointer
=
2 'Cross
Picture
=
(Icon)
ScaleHeight
=
495
ScaleWidth
=
615
TabIndex
=
1
ToolTipText
=
"Fermer cette fenêtre"
Top
=
4200
Width
=
615
End
Begin RichTextLib.RichTextBox RTF
Height
=
3135
Left
=
120
TabIndex
=
0
Top
=
960
Width
=
3615
_ExtentX
=
6376
_ExtentY
=
5530
_Version
=
393217
ScrollBars
=
2
TextRTF
=
<...>
End
Begin VB.Label Label1
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"NOTES"
BeginProperty Font
Name
=
"Times New Roman"
Size
=
8.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
255
Left
=
120
TabIndex
=
2
Top
=
360
Width
=
3735
End
End
NOTES
frmParse - 1
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
'Unload frmParse2
End Sub
Private Sub txtanalyse_Click()
Unload Me
End Sub
frmParse - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmParse
BackColor
=
&H00FFFFFF&
Caption
=
"Analyse morphologique (Packard)"
ClientHeight
=
2670
ClientLeft
=
60
ClientTop
=
450
ClientWidth
=
4680
Icon
=
(Icon)
LinkTopic
=
"Form1"
ScaleHeight
=
2670
ScaleWidth
=
4680
StartUpPosition =
2 'CenterScreen
Begin RichTextLib.RichTextBox txtBHS
Height
=
1695
Left
=
2760
TabIndex
=
7
Top
=
120
Width
=
1815
_ExtentX
=
3201
_ExtentY
=
2990
_Version
=
393217
TextRTF
=
<...>
End
Begin VB.Label lbldefinition
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
735
Left
=
2760
TabIndex
=
6
Top
=
240
Visible
=
0
'False
Width
=
1815
End
Begin VB.Line Line1
X1
=
1560
X2
=
2760
Y1
=
960
Y2
=
960
End
Begin VB.Label txtanalyse
BackStyle
=
0 'Transparent
Height
=
1575
Left
=
720
TabIndex
=
5
ToolTipText
=
"Cliquez pour fermer cette fenêtre"
Top
=
960
Width
=
2655
End
Begin VB.Label lbltampon
BackStyle
=
0 'Transparent
Height
=
495
Left
=
120
TabIndex
=
4
Top
=
3120
Width
=
1575
End
Begin VB.Label Label1
BackStyle
=
0 'Transparent
Caption
=
"vient de :"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
frmParse - 2
End
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
=
0
255
120
3
480
735
'False
End
Begin VB.Label Label3
BackStyle
=
0 'Transparent
Caption
=
"Résultat pour"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
255
Left
=
120
TabIndex
=
2
Top
=
120
Width
=
1455
End
Begin VB.Label lblorigine
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Grenet"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
960
TabIndex
=
1
Top
=
480
Width
=
1335
End
Begin VB.Label lblmot
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Grenet"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
1440
TabIndex
=
0
Top
=
120
Width
=
1695
End
Résultat pour
vient de
frmParse2 - 1
Private Sub Command1_Click()
Unload Me
End Sub
frmParse2 - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmParse2
BackColor
=
&H00FFFFFF&
BorderStyle
=
1 'Fixed Single
Caption
=
"Analyser un terme"
ClientHeight
=
2955
ClientLeft
=
45
ClientTop
=
435
ClientWidth
=
4680
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
ScaleHeight
=
2955
ScaleWidth
=
4680
StartUpPosition =
2 'CenterScreen
Begin RichTextLib.RichTextBox Text1
Height
=
1935
Left
=
120
TabIndex
=
9
Top
=
840
Width
=
2895
_ExtentX
=
5106
_ExtentY
=
3413
_Version
=
393217
Enabled
=
-1 'True
ScrollBars
=
2
TextRTF
=
<...>
End
Begin VB.TextBox Text
Height
=
285
Left
=
2760
TabIndex
=
8
Top
=
2400
Width
=
1095
End
Begin VB.CommandButton Command1
Caption
=
"&OK"
Height
=
375
Left
=
3960
TabIndex
=
3
Top
=
2400
Width
=
615
End
Begin VB.Label lbldef
BackStyle
=
0 'Transparent
Caption
=
"Définition"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
615
Left
=
1920
TabIndex
=
7
Top
=
1440
Width
=
2655
End
Begin VB.Label lblcode
BackStyle
=
0 'Transparent
Height
=
495
Left
=
120
TabIndex
=
6
Top
=
2280
Width
=
1575
End
Begin VB.Line Line1
X1
=
1440
X2
=
2880
Y1
=
1200
Y2
=
1200
frmParse2 - 2
End
Begin VB.Label Label2
BackStyle
=
0 'Transparent
Caption
=
"Résultat pour"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
120
TabIndex
=
5
Top
=
240
Width
=
1335
End
Begin VB.Label Label1
BackStyle
=
0 'Transparent
Caption
=
"vient de :"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
255
Left
=
120
TabIndex
=
4
Top
=
720
Width
=
735
End
Begin VB.Label Label4
BackStyle
=
0 'Transparent
Caption
=
"Pas d'analyse"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
495
Left
=
240
TabIndex
=
2
Top
=
1440
Width
=
1455
End
Begin VB.Label lblorigine
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Arial"
Size
=
9.75
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
960
TabIndex
=
1
Top
=
720
Width
=
1695
End
Begin VB.Label lblmot
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Arial"
frmParse2 - 3
End
End
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
=
=
=
=
=
=
9.75
0
400
0
'False
0
'False
0
'False
495
1560
0
240
1455
Résultat pour
vient de
Pas d'analyse
Définition
frmPDF - 1
Private Sub Form_Load()
pdfmain.Width = ScaleWidth
pdfmain.Height = ScaleHeight
End Sub
Private Sub Form_Resize()
pdfmain.Width = ScaleWidth
pdfmain.Height = ScaleHeight
End Sub
'Private Sub mnuopen_Click()
'dlgopen.ShowOpen
'pdfmain.LoadFile (dlgopen.FileName)
'pdfmain.setCurrentPage 15
'End Sub
frmPDF - 1
VERSION 5.00
Object = "{05BFD3F1-6319-4F30-B752-C7A22889BCC4}#1.0#0"; "AcroPDF.dll"
Begin VB.Form frmPDF
BorderStyle
=
4 'Fixed ToolWindow
ClientHeight
=
8850
ClientLeft
=
4995
ClientTop
=
570
ClientWidth
=
9900
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
ScaleHeight
=
8850
ScaleWidth
=
9900
ShowInTaskbar
=
0
'False
Begin AcroPDFLibCtl.AcroPDF pdfmain
Height
=
1095
Left
=
0
TabIndex
=
0
Top
=
0
Width
=
2175
_cx
=
5080
_cy
=
5080
End
End
frmRechercheMorphologique - 1
Dim nveaucodegenre$, nveaucodecas$, nveaucodenombre$, nveautemps$, nveaumode$, nveauvoix$, nveauper
sonne$
Private Sub cboGenre_LostFocus()
Dim nveaucode$
mot = txtcode.Text
If Mid(mot, 1, 1) = "n" Or Mid(mot, 1, 1) = "a" Then
If cboGenre.Text = "féminin" Then nveaucodegenre = "f"
If cboGenre.Text = "masculin" Then nveaucodegenre = "m"
If cboGenre.Text = "neutre" Then nveaucodegenre = "n"
ElseIf Mid(mot, 1, 1) = "v" Then
If cboGenre.Text = "présent" Then nveautemps = "p"
If cboGenre.Text = "imparfait" Then nveautemps = "i"
If cboGenre.Text = "futur" Then nveautemps = "f"
If cboGenre.Text = "aoriste" Then nveautemps = "a"
If cboGenre.Text = "parfait" Then nveautemps = "r"
If cboGenre.Text = "pqp" Then nveautemps = "l"
If cboGenre.Text = "-" Then nveautemps = "x"
End If
'txtNouveauCode.Text = nveaucode
End Sub
Private Sub cboNombre_LostFocus()
Dim nveaucode$
mot = txtcode.Text
If Mid(mot, 1, 1) = "n" Or Mid(mot, 1, 1) = "a" Then
If cboNombre.Text = "singulier" Then nveaucodenombre = "s"
If cboNombre.Text = "pluriel" Then nveaucodenombre = "p"
If cboNombre.Text = "duel" Then nveaucodenombre = "d"
ElseIf Mid(mot, 1, 1) = "v" Then
If cboNombre.Text = "actif" Then nveauvoix = "a"
If cboNombre.Text = "moyen" Then nveauvoix = "m"
If cboNombre.Text = "passif" Then nveauvoix = "p"
If cboNombre.Text = "moyen ou passif" Then nveauvoix = "e"
If cboNombre.Text = "déponent moyen" Then nveauvoix = "d"
If cboNombre.Text = "déponent passif" Then nveauvoix = "o"
If cboNombre.Text = "déponent moyen ou passif" Then nveauvoix = "n"
If cboNombre.Text = "impersonnel actif" Then nveauvoix = "q"
If cboNombre.Text = "-" Then nveaumode = "x"
End If
'txtNouveauCode.Text = nveaucode
End Sub
Private Sub cboPersonne_Change()
'Dim nveaucode$
'mot = txtcode.Text
'If Mid(mot, 1, 1) = "a" Then
'End If
End Sub
Private Sub cboTempsCas_LostFocus()
Dim nveaucode$
mot = txtcode.Text
If Mid(mot, 1, 1) = "n" Or Mid(mot, 1, 1) = "a" Then
If cboTempsCas.Text = "nominatif" Then nveaucodecas = "n"
If cboTempsCas.Text = "génitif" Then nveaucodecas = "g"
If cboTempsCas.Text = "accusatif" Then nveaucodecas = "a"
If cboTempsCas.Text = "datif" Then nveaucodecas = "d"
If cboTempsCas.Text = "vocatif" Then nveaucodecas = "v"
ElseIf Mid(mot, 1, 1) = "v" Then
If cboTempsCas.Text = "indicatif" Then nveaumode = "i"
If cboTempsCas.Text = "subjonctif" Then nveaumode = "s"
If cboTempsCas.Text = "optatif" Then nveaumode = "o"
If cboTempsCas.Text = "impératif" Then nveaumode = "m"
If cboTempsCas.Text = "infinitif" Then nveaumode = "n"
If cboTempsCas.Text = "participe" Then nveaumode = "p"
If cboTempsCas.Text = "participe (sens impératif)" Then nveaumode = "r"
End If
'txtNouveauCode.Text = nveaucode
frmRechercheMorphologique - 2
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Public Sub Command2_Click()
lstPassages.Clear
mot = txtcode.Text
If Mid(mot, 1, 1) = "n" Then
If nveaucodecas = "" Then nveaucodecas = Mid(mot, 2, 1)
If nveaucodegenre = "" Then nveaucodegenre = Mid(mot, 3, 1)
If nveaucodenombre = "" Then nveaucodenombre = Mid(mot, 4, 1)
ElseIf Mid(mot, 1, 1) = "v" Then
If nveaumode = "" Then nveaumode = Mid(mot, 2, 1)
If nveautemps = "" Then nveautemps = Mid(mot, 3, 1)
If nveauvoix = "" Then nveauvoix = Mid(mot, 4, 1)
If nveaupersonne = "" Then nveaupersonne = Mid(mot, 5, 2)
ElseIf mot = "tp" Then
nveaucode = "tp"
GoTo apres:
End If
If Mid(mot, 1, 1) = "n" Then
nveaucode = "n" & nveaucodecas & nveaucodegenre & nveaucodenombre
ElseIf Mid(mot, 1, 1) = "v" Then
nveaucode = "v" & nveaumode & nveautemps & nveauvoix & cboPersonne.Text
End If
apres:
txtNouveauCode.Text = nveaucode
vientde = frmAnalyseMorphologique.lblvientde.Caption
recherche = vientde & " (" & nveaucode & ")"
Call RechercheMorphologique(recherche, nveaucode)
End Sub
Private Sub Form_Load()
mot = frmAnalyseMorphologique.lblanalyse2.Caption
End Sub
Private Sub lstPassages_Click()
passage = Trim(lstPassages.Text)
premierespace = InStr(1, passage, " ")
deuxpoints = InStr(1, passage, ":")
livre = Mid(passage, 1, premierespace - 1)
chapitre = Mid(passage, premierespace + 1, deuxpoints - 1)
chapitre = Mid(chapitre, 1, InStr(1, chapitre, ":") - 1)
verset = Trim(Mid(passage, deuxpoints + 1, 2))
'MsgBox livre & " " & chapitre & " " & verset
If livre = "Mat" Then
chercher = "Matthieu"
ElseIf livre = "Mar" Then
chercher = "Marc"
ElseIf livre = "Luk" Then
chercher = "Luc"
ElseIf livre = "Joh" Then
chercher = "Jean"
ElseIf livre = "Act" Then
chercher = "Actes"
ElseIf livre = "Rom" Then
chercher = "Romains"
ElseIf livre = "1Co" Then
frmRechercheMorphologique - 3
chercher = "1 Corinthiens"
ElseIf livre = "2Co" Then
chercher = "2 Corinthiens"
ElseIf livre = "Gal" Then
chercher = "Galates"
ElseIf livre = "Eph" Then
chercher = "Ephésiens"
ElseIf livre = "Phi" Then
chercher = "Philippiens"
ElseIf livre = "Col" Then
chercher = "Colossiens"
ElseIf livre = "1Th" Then
chercher = "1 Thessaloniciens"
ElseIf livre = "2Th" Then
chercher = "2 Thessaloniciens"
ElseIf livre = "1Ti" Then
chercher = "1 Timothée"
ElseIf livre = "2Ti" Then
chercher = "2 Timothée"
ElseIf livre = "Tit" Then
chercher = "Tite"
ElseIf livre = "Phm" Then
chercher = "Philémon"
ElseIf livre = "Heb" Then
chercher = "Hébreux"
ElseIf livre = "Jam" Then
chercher = "Jacques"
ElseIf livre = "1Pe" Then
chercher = "1 Pierre"
ElseIf livre = "2Pe" Then
chercher = "2 Pierre"
ElseIf livre = "1Jo" Then
chercher = "1 Jean"
ElseIf livre = "2Jo" Then
chercher = "2 Jean"
ElseIf livre = "3Jo" Then
chercher = "3 Jean"
ElseIf livre = "Jud" Then
chercher = "Jude"
ElseIf livre = "Rev" Then
chercher = "Révélation"
End If
frmBible.cboLivre.Text = chercher
frmBible.txtChapitre.Text = chapitre
frmBible.txtverset.Text = verset
'frmBible.Timer2.Enabled = True
'livre =
'Line1.Visible = True
'Line2.Visible = True
'Line3.Visible = True
End Sub
frmRechercheMorphologique - 1
VERSION 5.00
Begin VB.Form frmRechercheMorphologique
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
"Recherche morphologique ..."
ClientHeight
=
5055
ClientLeft
=
9420
ClientTop
=
4500
ClientWidth
=
3210
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
5055
ScaleWidth
=
3210
ShowInTaskbar
=
0
'False
Begin VB.ComboBox cboPersonne
Height
=
315
Left
=
360
TabIndex
=
13
Top
=
2400
Width
=
1095
End
Begin VB.ComboBox cboPersonne2
Height
=
315
Left
=
1560
TabIndex
=
12
Top
=
1680
Visible
=
0
'False
Width
=
1095
End
Begin VB.ComboBox cboPersonne3
Height
=
315
Left
=
1560
TabIndex
=
11
Top
=
2040
Visible
=
0
'False
Width
=
1095
End
Begin VB.TextBox txtcode
Height
=
495
Left
=
2520
TabIndex
=
10
Top
=
600
Visible
=
0
'False
Width
=
1215
End
Begin VB.CommandButton Command2
Caption
=
"Go"
Default
=
-1 'True
Height
=
375
Left
=
1680
TabIndex
=
8
Top
=
2520
Width
=
495
End
Begin VB.TextBox txtNouveauCode
Height
=
495
Left
=
2520
TabIndex
=
7
Text
=
"nveaucode"
Top
=
0
Visible
=
0
'False
Width
=
1095
End
Begin VB.ComboBox cboNombre
Height
=
315
Left
=
360
TabIndex
=
6
Text
=
"Nombre"
Top
=
2040
Width
=
1095
End
Begin VB.ComboBox cboGenre
Height
=
315
Left
=
360
TabIndex
=
5
frmRechercheMorphologique - 2
End
Text
Top
Width
=
=
=
"Genre"
1680
1095
End
Begin VB.ComboBox cboTempsCas
Height
=
315
Left
=
360
TabIndex
=
4
Text
=
"Cas"
Top
=
1320
Width
=
1095
End
Begin VB.ComboBox cboType
Height
=
315
Left
=
120
TabIndex
=
3
Text
=
"Type"
Top
=
840
Width
=
1335
End
Begin VB.ListBox lstPassages
Height
=
1815
Left
=
120
TabIndex
=
2
Top
=
3000
Width
=
1935
End
Begin VB.TextBox txtMot
BeginProperty Font
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
400
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
615
Left
=
120
TabIndex
=
1
Top
=
120
Width
=
2055
End
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
2280
TabIndex
=
0
Top
=
4560
Width
=
495
End
Begin VB.Label lblOcc
BackColor
=
&H00C0E0FF&
BackStyle
=
0 'Transparent
Height
=
735
Left
=
2160
TabIndex
=
9
Top
=
3120
Width
=
1095
End
frmReferences - 1
Private Sub btnPrecedent_Click()
If Val(txtPage.Text) > 0 Then
txtPage.Text = Val(txtPage.Text) - 1
End If
End Sub
Private Sub btnSuivant_Click()
If Val(txtPage.Text) < 581 Then
txtPage.Text = Val(txtPage.Text) + 1
End If
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub txtPage_Change()
'ges_014_0001.jpg
Dim page$
page = txtPage.Text
On Error GoTo apres:
If cboRef.Text = "Gesenius's Hebrew Grammar" Then
If page <= 99 Then page = "0" & page
Image1.Picture = LoadPicture(App.Path & "\ref\ges\ges_" & page & "_0001.jpg")
End If
apres:
End Sub
frmReferences - 1
VERSION 5.00
Begin VB.Form frmReferences
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Références"
ClientHeight
=
9210
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
8835
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
9210
ScaleWidth
=
8835
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.TextBox txtNombrePage
Height
=
375
Left
=
6240
TabIndex
=
7
Top
=
0
Visible
=
0
'False
Width
=
1095
End
Begin VB.TextBox txtRefPage
Height
=
375
Left
=
3480
TabIndex
=
6
Top
=
0
Visible
=
0
'False
Width
=
2535
End
Begin VB.CommandButton btnGo
Caption
=
"Ok"
Height
=
375
Left
=
2520
TabIndex
=
5
Top
=
0
Width
=
495
End
Begin VB.ComboBox cboRef
Height
=
315
Left
=
0
TabIndex
=
4
Text
=
"Références"
Top
=
0
Width
=
2535
End
Begin VB.TextBox txtPage
Height
=
405
Left
=
3480
TabIndex
=
3
Top
=
960
Width
=
1695
End
Begin VB.CommandButton btnSuivant
Caption
=
">"
BeginProperty Font
Name
=
"MS Sans Serif"
Size
=
13.5
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
7560
TabIndex
=
2
Top
=
960
Width
=
495
End
Begin VB.CommandButton btnPrecedent
Caption
=
"<"
BeginProperty Font
Name
=
"MS Sans Serif"
frmReferences - 2
End
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.CommandButton
Cancel
=
Caption
=
Height
=
Left
=
TabIndex
=
Top
=
Width
=
End
Begin VB.Image Image1
Height
=
Left
=
Stretch
=
Top
=
Width
=
End
=
=
=
=
=
=
13.5
0
700
0
'False
0
'False
0
'False
375
720
1
960
495
Command1
-1 'True
"X"
375
8160
0
240
495
7815
1320
-1 'True
1320
6255
frmResultatStrong - 1
Private Sub Text1_Change()
End Sub
Private Sub Text1_Click()
Unload Me
End Sub
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub lblNStrong_Click()
strong = lblNStrong.Caption
If Len(strong) < 20 Then Exit Sub
strong = Mid(strong, 10, 5)
If Left(strong, 4) = "0000" Then strong = Mid(strong, 5, Len(strong))
If Left(strong, 3) = "000" Then strong = Mid(strong, 4, Len(strong))
If Left(strong, 2) = "00" Then strong = Mid(strong, 3, Len(strong))
If Left(strong, 1) = "0" Then strong = Mid(strong, 2, Len(strong))
frmBrowser.cboAddress.Text = "http://levangile.com/Strong-Hebreu-" & strong & ".htm"
'1.htm
End Sub
frmResultatStrong - 1
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmResultatStrong
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Strong's Dictionary of Greek and Hebrew Words"
ClientHeight
=
3825
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
4695
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
3825
ScaleWidth
=
4695
ShowInTaskbar
=
0
'False
StartUpPosition =
2 'CenterScreen
Begin VB.CommandButton Command1
Cancel
=
-1 'True
Caption
=
"X"
Height
=
375
Left
=
4080
TabIndex
=
0
Top
=
3360
Width
=
495
End
Begin RichTextLib.RichTextBox txtStrong
Height
=
2655
Left
=
0
TabIndex
=
1
Top
=
600
Width
=
4575
_ExtentX
=
8070
_ExtentY
=
4683
_Version
=
393217
Enabled
=
-1 'True
ScrollBars
=
2
TextRTF
=
<...>
End
Begin VB.Label lblMotH
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Bwhebb"
Size
=
20.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
735
Left
=
120
TabIndex
=
4
Top
=
120
Width
=
2535
End
Begin VB.Label lblMot
BackStyle
=
0 'Transparent
BeginProperty Font
Name
=
"Bwgrkn"
Size
=
14.25
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
735
Left
=
120
TabIndex
=
3
Top
=
240
Width
=
2535
End
Begin VB.Label lblNStrong
BackStyle
=
0 'Transparent
frmResultatStrong - 2
End
End
BeginProperty Font
Name
Size
Charset
Weight
Underline
Italic
Strikethrough
EndProperty
Height
=
Left
=
TabIndex
=
Top
=
Width
=
=
=
=
=
=
=
=
"Times New Roman"
9
0
700
0
'False
0
'False
0
'False
495
120
2
3360
3975
frmSysTray - 1
Option Explicit
'
'
'
'
03/03/2003
* Added Unicode support
* Added support for new tray version (ME,2000 or above required)
* Added support for balloon tips (ME,2000 or above required)
' frmSysTray.
' Steve McMahon
' Original version based on code supplied from Ben Baird:
'Author:
'
Ben Baird <[email protected]>
'
Copyright (c) 1997, Ben Baird
'
'Purpose:
'
Demonstrates setting an icon in the taskbar's
'
system tray without the overhead of subclassing
'
to receive events.
Private Declare Function Shell_NotifyIconA Lib "shell32.dll" _
(ByVal dwMessage As Long, lpData As NOTIFYICONDATAA) As Long
Private Declare Function Shell_NotifyIconW Lib "shell32.dll" _
(ByVal dwMessage As Long, lpData As NOTIFYICONDATAW) As Long
Private
Private
Private
Private
Private
Const
Const
Const
Const
Const
NIF_ICON = &H2
NIF_MESSAGE = &H1
NIF_TIP = &H4
NIF_STATE = &H8
NIF_INFO = &H10
Private
Private
Private
Private
Private
Const
Const
Const
Const
Const
NIM_ADD = &H0
NIM_MODIFY = &H1
NIM_DELETE = &H2
NIM_SETFOCUS = &H3
NIM_SETVERSION = &H4
Private Const NOTIFYICON_VERSION = 3
Private Type NOTIFYICONDATAA
cbSize As Long
' 4
hwnd As Long
' 8
uID As Long
' 12
uFlags As Long
' 16
uCallbackMessage As Long
' 20
hIcon As Long
' 24
szTip As String * 128
' 152
dwState As Long
' 156
dwStateMask As Long
' 160
szInfo As String * 256
' 416
uTimeOutOrVersion As Long ' 420
szInfoTitle As String * 64 ' 484
dwInfoFlags As Long
' 488
guidItem As Long
' 492
End Type
Private Type NOTIFYICONDATAW
cbSize As Long
' 4
hwnd As Long
' 8
uID As Long
' 12
uFlags As Long
' 16
uCallbackMessage As Long
' 20
hIcon As Long
' 24
szTip(0 To 255) As Byte
' 280
dwState As Long
' 284
dwStateMask As Long
' 288
szInfo(0 To 511) As Byte
' 800
uTimeOutOrVersion As Long ' 804
szInfoTitle(0 To 127) As Byte ' 932
dwInfoFlags As Long
' 936
guidItem As Long
' 940
End Type
Private nfIconDataA As NOTIFYICONDATAA
frmSysTray - 2
Private nfIconDataW As NOTIFYICONDATAW
Private
Private
Private
Private
Const
Const
Const
Const
NOTIFYICONDATAA_V1_SIZE_A
NOTIFYICONDATAA_V1_SIZE_U
NOTIFYICONDATAA_V2_SIZE_A
NOTIFYICONDATAA_V2_SIZE_U
=
=
=
=
88
152
488
936
Private Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long
Private
Private
Private
Private
Private
Private
Private
Const
Const
Const
Const
Const
Const
Const
WM_MOUSEMOVE = &H200
WM_LBUTTONDBLCLK = &H203
WM_LBUTTONDOWN = &H201
WM_LBUTTONUP = &H202
WM_RBUTTONDBLCLK = &H206
WM_RBUTTONDOWN = &H204
WM_RBUTTONUP = &H205
Private Const WM_USER = &H400
Private
Private
Private
Private
Private
Private
Private
Const
Const
Const
Const
Const
Const
Const
NIN_SELECT = WM_USER
NINF_KEY = &H1
NIN_KEYSELECT = (NIN_SELECT Or NINF_KEY)
NIN_BALLOONSHOW = (WM_USER + 2)
NIN_BALLOONHIDE = (WM_USER + 3)
NIN_BALLOONTIMEOUT = (WM_USER + 4)
NIN_BALLOONUSERCLICK = (WM_USER + 5)
' Version detection:
Private Declare Function GetVersion Lib "kernel32" () As Long
Public
Public
Public
Public
Public
Public
Public
Public
Public
Event
Event
Event
Event
Event
Event
Event
Event
Event
SysTrayMouseDown(ByVal eButton As MouseButtonConstants)
SysTrayMouseUp(ByVal eButton As MouseButtonConstants)
SysTrayMouseMove()
SysTrayDoubleClick(ByVal eButton As MouseButtonConstants)
MenuClick(ByVal lIndex As Long, ByVal sKey As String)
BalloonShow()
BalloonHide()
BalloonTimeOut()
BalloonClicked()
Public Enum EBalloonIconTypes
NIIF_NONE = 0
NIIF_INFO = 1
NIIF_WARNING = 2
NIIF_ERROR = 3
NIIF_NOSOUND = &H10
End Enum
Private m_bAddedMenuItem As Boolean
Private m_iDefaultIndex As Long
Private m_bUseUnicode As Boolean
Private m_bSupportsNewVersion As Boolean
Public Sub ShowBalloonTip( _
ByVal sMessage As String, _
Optional ByVal sTitle As String, _
Optional ByVal eIcon As EBalloonIconTypes, _
Optional ByVal lTimeOutMs = 30000 _
)
Dim lR As Long
If (m_bSupportsNewVersion) Then
If (m_bUseUnicode) Then
stringToArray sMessage, nfIconDataW.szInfo, 512
stringToArray sTitle, nfIconDataW.szInfoTitle, 128
nfIconDataW.uTimeOutOrVersion = lTimeOutMs
nfIconDataW.dwInfoFlags = eIcon
nfIconDataW.uFlags = NIF_INFO
lR = Shell_NotifyIconW(NIM_MODIFY, nfIconDataW)
Else
nfIconDataA.szInfo = sMessage
nfIconDataA.szInfoTitle = sTitle
nfIconDataA.uTimeOutOrVersion = lTimeOutMs
nfIconDataA.dwInfoFlags = eIcon
nfIconDataA.uFlags = NIF_INFO
lR = Shell_NotifyIconA(NIM_MODIFY, nfIconDataA)
frmSysTray - 3
End If
Else
' can't do it, fail silently.
End If
End Sub
Public Property Get ToolTip() As String
Dim sTip As String
Dim iPos As Long
sTip = nfIconDataA.szTip
iPos = InStr(sTip, Chr$(0))
If (iPos <> 0) Then
sTip = Left$(sTip, iPos - 1)
End If
ToolTip = sTip
End Property
Public Property Let ToolTip(ByVal sTip As String)
If (m_bUseUnicode) Then
stringToArray sTip, nfIconDataW.szTip, unicodeSize(IIf(m_bSupportsNewVersion, 128, 64))
nfIconDataW.uFlags = NIF_TIP
Shell_NotifyIconW NIM_MODIFY, nfIconDataW
Else
If (sTip & Chr$(0) <> nfIconDataA.szTip) Then
nfIconDataA.szTip = sTip & Chr$(0)
nfIconDataA.uFlags = NIF_TIP
Shell_NotifyIconA NIM_MODIFY, nfIconDataA
End If
End If
End Property
Public Property Get IconHandle() As Long
IconHandle = nfIconDataA.hIcon
End Property
Public Property Let IconHandle(ByVal hIcon As Long)
If (m_bUseUnicode) Then
If (hIcon <> nfIconDataW.hIcon) Then
nfIconDataW.hIcon = hIcon
nfIconDataW.uFlags = NIF_ICON
Shell_NotifyIconW NIM_MODIFY, nfIconDataW
End If
Else
If (hIcon <> nfIconDataA.hIcon) Then
nfIconDataA.hIcon = hIcon
nfIconDataA.uFlags = NIF_ICON
Shell_NotifyIconA NIM_MODIFY, nfIconDataA
End If
End If
End Property
Public Function AddMenuItem(ByVal sCaption As String, Optional ByVal sKey As String = "", Optional
ByVal bDefault As Boolean = False) As Long
Dim iIndex As Long
If Not (m_bAddedMenuItem) Then
iIndex = 0
m_bAddedMenuItem = True
Else
iIndex = mnuSysTray.UBound + 1
Load mnuSysTray(iIndex)
End If
mnuSysTray(iIndex).Visible = True
mnuSysTray(iIndex).Tag = sKey
mnuSysTray(iIndex).Caption = sCaption
If (bDefault) Then
m_iDefaultIndex = iIndex
End If
AddMenuItem = iIndex
End Function
Private Function ValidIndex(ByVal lIndex As Long) As Boolean
ValidIndex = (lIndex >= mnuSysTray.LBound And lIndex <= mnuSysTray.UBound)
End Function
Public Sub EnableMenuItem(ByVal lIndex As Long, ByVal bState As Boolean)
If (ValidIndex(lIndex)) Then
mnuSysTray(lIndex).Enabled = bState
End If
frmSysTray - 4
End Sub
Public Function RemoveMenuItem(ByVal iIndex As Long) As Long
Dim i As Long
If ValidIndex(iIndex) Then
If (iIndex = 0) Then
mnuSysTray(0).Caption = ""
Else
' remove the item:
For i = iIndex + 1 To mnuSysTray.UBound
mnuSysTray(iIndex - 1).Caption = mnuSysTray(iIndex).Caption
mnuSysTray(iIndex - 1).Tag = mnuSysTray(iIndex).Tag
Next i
Unload mnuSysTray(mnuSysTray.UBound)
End If
End If
End Function
Public Property Get DefaultMenuIndex() As Long
DefaultMenuIndex = m_iDefaultIndex
End Property
Public Property Let DefaultMenuIndex(ByVal lIndex As Long)
If (ValidIndex(lIndex)) Then
m_iDefaultIndex = lIndex
Else
m_iDefaultIndex = 0
End If
End Property
Public Function ShowMenu()
SetForegroundWindow Me.hwnd
If (m_iDefaultIndex > -1) Then
Me.PopupMenu mnuPopup, 0, , , mnuSysTray(m_iDefaultIndex)
Else
Me.PopupMenu mnuPopup, 0
End If
End Function
Private Sub Form_Load()
' Get version:
Dim lMajor As Long
Dim lMinor As Long
Dim bIsNt As Long
GetWindowsVersion lMajor, lMinor, , , bIsNt
)
If (bIsNt) Then
m_bUseUnicode = True
If (lMajor >= 5) Then
' 2000 or XP
m_bSupportsNewVersion = True
End If
ElseIf (lMajor = 4) And (lMinor = 90) Then
' Windows ME
m_bSupportsNewVersion = True
End If
'Add the icon to the system tray...
Dim lR As Long
If (m_bUseUnicode) Then
With nfIconDataW
.hwnd = Me.hwnd
.uID = Me.Icon
.uFlags = NIF_ICON Or NIF_MESSAGE Or NIF_TIP
.uCallbackMessage = WM_MOUSEMOVE
.hIcon = Me.Icon.Handle
stringToArray App.FileDescription, .szTip, unicodeSize(IIf(m_bSupportsNewVersion, 128, 64)
If (m_bSupportsNewVersion) Then
.uTimeOutOrVersion = NOTIFYICON_VERSION
End If
.cbSize = nfStructureSize
End With
lR = Shell_NotifyIconW(NIM_ADD, nfIconDataW)
frmSysTray - 5
If (m_bSupportsNewVersion) Then
Shell_NotifyIconW NIM_SETVERSION, nfIconDataW
End If
Else
With nfIconDataA
.hwnd = Me.hwnd
.uID = Me.Icon
.uFlags = NIF_ICON Or NIF_MESSAGE Or NIF_TIP
.uCallbackMessage = WM_MOUSEMOVE
.hIcon = Me.Icon.Handle
.szTip = App.FileDescription & Chr$(0)
If (m_bSupportsNewVersion) Then
.uTimeOutOrVersion = NOTIFYICON_VERSION
End If
.cbSize = nfStructureSize
End With
lR = Shell_NotifyIconA(NIM_ADD, nfIconDataA)
If (m_bSupportsNewVersion) Then
lR = Shell_NotifyIconA(NIM_SETVERSION, nfIconDataA)
End If
End If
End Sub
Private Sub stringToArray( _
ByVal sString As String, _
bArray() As Byte, _
ByVal lMaxSize As Long _
)
Dim b() As Byte
Dim i As Long
Dim j As Long
If Len(sString) > 0 Then
b = sString
For i = LBound(b) To UBound(b)
bArray(i) = b(i)
If (i = (lMaxSize - 2)) Then
Exit For
End If
Next i
For j = i To lMaxSize - 1
bArray(j) = 0
Next j
End If
End Sub
Private Function unicodeSize(ByVal lSize As Long) As Long
If (m_bUseUnicode) Then
unicodeSize = lSize * 2
Else
unicodeSize = lSize
End If
End Function
Private Property Get nfStructureSize() As Long
If (m_bSupportsNewVersion) Then
If (m_bUseUnicode) Then
nfStructureSize = NOTIFYICONDATAA_V2_SIZE_U
Else
nfStructureSize = NOTIFYICONDATAA_V2_SIZE_A
End If
Else
If (m_bUseUnicode) Then
nfStructureSize = NOTIFYICONDATAA_V1_SIZE_U
Else
nfStructureSize = NOTIFYICONDATAA_V1_SIZE_A
End If
End If
End Property
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
Dim lX As Long
' VB manipulates the x value according to scale mode:
' we must remove this before we can interpret the
' message windows was trying to send to us:
lX = ScaleX(x, Me.ScaleMode, vbPixels)
Select Case lX
frmSysTray - 6
Case WM_MOUSEMOVE
RaiseEvent SysTrayMouseMove
Case WM_LBUTTONUP
RaiseEvent SysTrayMouseDown(vbLeftButton)
Case WM_LBUTTONUP
RaiseEvent SysTrayMouseUp(vbLeftButton)
Case WM_LBUTTONDBLCLK
RaiseEvent SysTrayDoubleClick(vbLeftButton)
Case WM_RBUTTONDOWN
RaiseEvent SysTrayMouseDown(vbRightButton)
Case WM_RBUTTONUP
RaiseEvent SysTrayMouseUp(vbRightButton)
Case WM_RBUTTONDBLCLK
RaiseEvent SysTrayDoubleClick(vbRightButton)
Case NIN_BALLOONSHOW
RaiseEvent BalloonShow
Case NIN_BALLOONHIDE
RaiseEvent BalloonHide
Case NIN_BALLOONTIMEOUT
RaiseEvent BalloonTimeOut
Case NIN_BALLOONUSERCLICK
RaiseEvent BalloonClicked
End Select
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If (m_bUseUnicode) Then
Shell_NotifyIconW NIM_DELETE, nfIconDataW
Else
Shell_NotifyIconA NIM_DELETE, nfIconDataA
End If
End Sub
Private Sub mnuSysTray_Click(Index As Integer)
RaiseEvent MenuClick(Index, mnuSysTray(Index).Tag)
End Sub
Private Sub GetWindowsVersion( _
Optional ByRef lMajor = 0, _
Optional ByRef lMinor = 0, _
Optional ByRef lRevision = 0, _
Optional ByRef lBuildNumber = 0, _
Optional ByRef bIsNt = False _
)
Dim lR As Long
lR = GetVersion()
lBuildNumber = (lR And &H7F000000) \ &H1000000
If (lR And &H80000000) Then lBuildNumber = lBuildNumber Or &H80
lRevision = (lR And &HFF0000) \ &H10000
lMinor = (lR And &HFF00&) \ &H100
lMajor = (lR And &HFF)
bIsNt = ((lR And &H80000000) = 0)
End Sub
frmSysTray - 1
VERSION 5.00
Begin VB.Form frmSysTray
Caption
=
"Sys Tray Interface"
ClientHeight
=
1920
ClientLeft
=
5610
ClientTop
=
3360
ClientWidth
=
4680
LinkTopic
=
"Form1"
ScaleHeight
=
1920
ScaleWidth
=
4680
Begin VB.Menu mnuPopup
Caption
=
"&Popup"
Begin VB.Menu mnuSysTray
Caption
=
""
Index
=
0
End
End
End
frmTSK - 1
VERSION 5.00
Begin VB.Form frmTSK
Caption
=
"Form1"
ClientHeight
=
3090
ClientLeft
=
60
ClientTop
=
450
ClientWidth
=
4680
LinkTopic
=
"Form1"
ScaleHeight
=
3090
ScaleWidth
=
4680
StartUpPosition =
3 'Windows Default
Begin VB.TextBox Text
Height
=
2055
Left
=
840
TabIndex
=
0
Text
=
"Text1"
Top
=
600
Width
=
3015
End
End
frmWeb - 1
Private Sub Command1_Click()
Unload Me
End Sub
frmWeb - 1
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "comctl32.ocx"
Begin VB.Form frmWeb
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
"Bible Parser : the Power of the Web..."
ClientHeight
=
4170
ClientLeft
=
45
ClientTop
=
315
ClientWidth
=
5580
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
ScaleHeight
=
4170
ScaleWidth
=
5580
ShowInTaskbar
=
0
'False
StartUpPosition =
3 'Windows Default
Begin VB.OptionButton Option1
Caption
=
"Option1"
Height
=
195
Left
=
720
TabIndex
=
3
Top
=
2400
Width
=
2175
End
Begin ComctlLib.TabStrip TabStrip1
Height
=
2415
Left
=
480
TabIndex
=
2
Top
=
1560
Width
=
3735
_ExtentX
=
6588
_ExtentY
=
4260
_Version
=
327682
BeginProperty Tabs {0713E432-850A-101B-AFC0-4210102A8DA7}
NumTabs
=
3
BeginProperty Tab1 {0713F341-850A-101B-AFC0-4210102A8DA7}
Caption
=
"Définition"
Key
=
""
Object.Tag
=
""
ImageVarType
=
2
EndProperty
BeginProperty Tab2 {0713F341-850A-101B-AFC0-4210102A8DA7}
Caption
=
"Analyse"
Key
=
""
Object.Tag
=
""
ImageVarType
=
2
EndProperty
BeginProperty Tab3 {0713F341-850A-101B-AFC0-4210102A8DA7}
Caption
=
"Référence"
Key
=
""
Object.Tag
=
""
ImageVarType
=
2
EndProperty
EndProperty
End
Begin VB.CommandButton Command1
Caption
=
"&OK"
Height
=
375
Left
=
5040
TabIndex
=
1
Top
=
3720
Width
=
495
End
Begin VB.TextBox Text1
Height
=
495
Left
=
1440
TabIndex
=
0
Top
=
360
Width
=
2055
End
End
frmZetoGraphe - 1
Private Sub btnFermer_Click()
End
End Sub
Private Sub cboVersion_LostFocus()
If cboVersion.Text = "NA27" Or cboVersion.Text = "WH+" Then
txtRecherche.Text = ""
txtRecherche.Font = "Bwgrkn"
txtRecherche.FontSize = "14"
ElseIf cboVersion.Text = "BHS" Then
txtRecherche.Text = ""
txtRecherche.Font = "Bwhebb"
txtRecherche.FontSize = "16"
Else
txtRecherche.Text = ""
txtRecherche.Font = "MS Sans Serif"
txtRecherche.FontSize = "8"
End If
End Sub
Private Sub Command1_Click()
zetographediret = False
Unload Me
End Sub
Public Sub btnRechercher_Click()
Dim version As String
Dim recherche As String
Dim lfile As String
Dim ofile As String
Dim ligne As String
Dim nombre As Integer
Dim msg As String
Dim fichier As String
'affectation des variables
lfile = FreeFile
recherche = " " & txtRecherche.Text
version = cboVersion.Text
Text1.Text = ""
'gestion des erreurs
If txtRecherche = "" Then
txtRecherche.Text = frmBible.txtPassage.SelText
cboVersion.Text = frmBible.cboVersion.Text
'Or txtRecherche = "mot ou expression" Then
'msg = MsgBox("Vous n'avez pas saisi votre recherche !", vbInformation)
btnRechercher_Click
End If
'définition du chemin du fichier texte
'en fonction de la version choisie
If version = "LSG" Then
fichier = App.Path & "\modules\lsg1901\lsg.txt"
ElseIf version = "Darby" Then
fichier = App.Path & "\modules\Darby\darby.txt"
ElseIf version = "JER" Then
fichier = App.Path & "\modules\JER\jer.txt"
ElseIf version = "TOB" Then
fichier = App.Path & "\modules\TOB\tob.txt"
ElseIf version = "BFC" Then
fichier = App.Path & "\modules\BFC\bfc.txt"
ElseIf version = "Vulgate" Then
fichier = App.Path & "\modules\Vg\vulgate.txt"
ElseIf version = "ASV" Then
fichier = App.Path & "\modules\ASV\asv.txt"
ElseIf version = "KJV" Then
fichier = App.Path & "\modules\KJV\kjv.txt"
ElseIf version = "Flavius Josèphe - En" Then
fichier = App.Path & "\modules\JOS\joe.txt"
ElseIf version = "DIAGLOTT" Then
fichier = App.Path & "\modules\Diaglott\Diaglott.txt"
frmZetoGraphe - 2
ElseIf version = "YLT" Then
fichier = App.Path & "\modules\YLT\ylt.txt"
ElseIf version = "WEB" Then
fichier = App.Path & "\modules\WEB\web.txt"
ElseIf version = "BBE" Then
fichier = App.Path & "\modules\BBE\bbe.txt"
ElseIf version = "DR" Then
fichier = App.Path & "\modules\DR\dr.txt"
ElseIf version = "WBST" Then
fichier = App.Path & "\modules\Webster\webster.txt"
ElseIf version = "NET" Then
fichier = App.Path & "\modules\NET\net.txt"
ElseIf version = "JPS" Then
fichier = App.Path & "\modules\JPS\jps.txt"
ElseIf version = "APF-G" Then
fichier = App.Path & "\modules\APF\apfg.txt"
ElseIf version = "APF-E" Then
fichier = App.Path & "\modules\APF\ape.txt"
ElseIf version = "Lightfoot" Then
fichier = App.Path & "\modules\APF\Lightfoot.txt"
ElseIf version = "BHS" Then
Call ConcordanceBHS(recherche)
Exit Sub
ElseIf version = "Flavius Josèphe" Then
Call ConcordanceFJ(recherche)
Exit Sub
ElseIf version = "ANF" Then
Call ConcordanceANF(recherche)
Exit Sub
ElseIf version = "NA27" Then
Call ConcordanceNA27(recherche)
Exit Sub
ElseIf version = "WH+" Then
Call ConcordanceWH(recherche)
Exit Sub
ElseIf version = "Tischendorf+" Then
Call ConcordanceTIS(recherche)
Exit Sub
ElseIf version = "LXX" Then
Call ConcordanceLXX(recherche)
Exit Sub
ElseIf version = "APF-G" Then
Call ConcordanceAPFG(recherche)
Exit Sub
ElseIf version = "Homère" Then
Call ConcordanceHomere(recherche)
Exit Sub
End If
'Select Case version
'Case Is = "LSG"
'OFile = App.Path & "\modules\lsg1901\lsg.txt"
'Case Is = "Darby"
'OFile = App.Path & "\modules\Darby\darby.txt"
'Case Is = "JER"
'OFile = App.Path & "\JER\jer.txt"
'End Select
'nombre = 0
Open fichier For Input As #lfile
On Error GoTo apres:
Do
Input #lfile, ligne
frmZetoGraphe - 3
If InStr(1, ligne, recherche, vbTextCompare) <> 0 Then
Text1.Text = Text1.Text & vbCrLf & Mid(ligne, 1, 45) & "..."
'recherche = ligne
'Call RemettrePassageLSG(recherche)
'lsResultat.AddItem (Mid(recherche, 1, 45) & "...")
nombre = nombre + 1
End If
Loop While Not EOF(lfile)
apres:
Close
lblResultat.Caption = nombre & " passages trouvés"
Text1.Text = Replace(Text1.Text, "~", ",")
Text1.Text = Mid(Text1.Text, 3, Len(Text1.Text))
recherche = Text1.Text
Call RemettrePassageLSG(recherche)
Text1.Text = recherche
Show 0
frmZetoGraphe.MousePointer = 0
If lblResultat.Caption = " 1 passage trouvé" Then lblResultat.Caption = "Hapax legomenon !"
If lblResultat.Caption = "0 passage trouvé" Then
Unload frmResultat
msg = MsgBox(frmZetoGraphe.txtRecherche.Text & " n'a pas été trouvé dans la version " & cboVers
ion.Text, vbInformation, "Pas de résultat")
End If
End Sub
Private Sub Form_GotFocus()
On Error GoTo apres:
Unload frmResultat
apres:
End Sub
Private Sub Form_Load()
cboVersion.Text = "LSG"
cboVersion.AddItem ("BHS")
cboVersion.AddItem ("--")
cboVersion.AddItem ("NA27")
cboVersion.AddItem ("WH+")
cboVersion.AddItem ("LXX")
cboVersion.AddItem ("--")
cboVersion.AddItem ("Vulgate")
cboVersion.AddItem ("--")
cboVersion.AddItem ("LSG")
cboVersion.AddItem ("Darby")
cboVersion.AddItem ("JER")
cboVersion.AddItem ("TOB")
cboVersion.AddItem ("BFC")
cboVersion.AddItem ("--")
cboVersion.AddItem ("ASV")
cboVersion.AddItem ("KJV")
cboVersion.AddItem ("NET")
cboVersion.AddItem ("DIAGLOTT")
cboVersion.AddItem ("YLT")
cboVersion.AddItem ("WEB")
cboVersion.AddItem ("BBE")
cboVersion.AddItem ("DR")
cboVersion.AddItem ("WBST")
cboVersion.AddItem ("--")
cboVersion.AddItem ("ANF")
cboVersion.AddItem ("APF-G")
cboVersion.AddItem ("APF-E")
cboVersion.AddItem ("Lightfoot")
cboVersion.AddItem ("--")
cboVersion.AddItem ("Flavius Josèphe")
cboVersion.AddItem ("Flavius Josèphe - En")
'cboVersion.AddItem ("Homère")
End Sub
frmZetoGraphe - 4
Private Sub lstResultat_Click()
Dim msg$
If cboVersion.Text = "ANF" Then msg$ = MsgBox("Cette fonction n'est pas encore disponible !", vbInf
ormation)
If lstResultat.Text <> "" Then
passage = Trim(lstResultat.Text)
premierespace = InStr(1, passage, " ")
deuxpoints = InStr(1, passage, ":")
livre = Mid(passage, 1, premierespace - 1)
chapitre = Mid(passage, premierespace + 1, deuxpoints - 1)
chapitre = Mid(chapitre, 1, InStr(1, chapitre, ":") - 1)
verset = Trim(Mid(passage, deuxpoints + 1, 2))
'MsgBox livre & " " & chapitre & " " & verset
Else
Exit Sub
End If
If livre = "Gen" Then
chercher = "Genèse"
ElseIf livre = "Exo" Then
chercher = "Exode"
ElseIf livre = "Lev" Then
chercher = "Lévitique"
ElseIf livre = "Num" Then
chercher = "Nombres"
ElseIf livre = "Deu" Then
chercher = "Deutéronome"
ElseIf livre = "Jos" Then
chercher = "Josué"
ElseIf livre = "Jdg" Then
chercher = "Juges"
ElseIf livre = "Rut" Then
chercher = "Ruth"
ElseIf livre = "1Sa" Then
chercher = "1 Samuel"
ElseIf livre = "2Sa" Then
chercher = "2 Samuel"
ElseIf livre = "1Ki" Then
chercher = "1 Rois"
ElseIf livre = "2Ki" Then
chercher = "2 Rois"
ElseIf livre = "1Ch" Then
chercher = "1 Chroniques"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Ezr" Then
chercher = "Esdras"
ElseIf livre = "Neh" Then
chercher = "Néhémie"
ElseIf livre = "Est" Then
chercher = "Esther"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psa" Then
frmZetoGraphe - 5
chercher = "Psaumes"
ElseIf livre = "Pro" Then
chercher = "Proverbes"
ElseIf livre = "Ecc" Then
chercher = "Ecclésiaste"
ElseIf livre = "Sol" Then
chercher = "Cantique des cantiques"
ElseIf livre = "Isa" Then
chercher = "Esaïe"
ElseIf livre = "Jer" Then
chercher = "Jérémie"
ElseIf livre = "Lam" Then
chercher = "Lamentations"
ElseIf livre = "Eze" Then
chercher = "Ezéchiel"
ElseIf livre = "Dan" Then
chercher = "Daniel"
ElseIf livre = "Hos" Then
chercher = "Osée"
ElseIf livre = "Joe" Then
chercher = "Joël"
ElseIf livre = "Amo" Then
chercher = "Amos"
ElseIf livre = "Oba" Then
chercher = "Abdias"
ElseIf livre = "Jon" Then
chercher = "Jonas"
ElseIf livre = "Mic" Then
chercher = "Michée"
ElseIf livre = "Hab" Then
chercher = "Habaquq"
ElseIf livre = "Zep" Then
chercher = "Sophonie"
ElseIf livre = "Hag" Then
chercher = "Aggée"
ElseIf livre = "Nah" Then
chercher = "Nahoum"
ElseIf livre = "Zec" Then
chercher = "Zacharie"
ElseIf livre = "Mal" Then
chercher = "Malachie"
'--------ElseIf livre = "Mat" Then
chercher = "Matthieu"
ElseIf livre = "Mar" Then
chercher = "Marc"
ElseIf livre = "Luk" Then
chercher = "Luc"
ElseIf livre = "Joh" Then
chercher = "Jean"
ElseIf livre = "Act" Then
chercher = "Actes"
frmZetoGraphe - 6
ElseIf livre = "Rom" Then
chercher = "Romains"
ElseIf livre = "1Co" Then
chercher = "1 Corinthiens"
ElseIf livre = "2Co" Then
chercher = "2 Corinthiens"
ElseIf livre = "Gal" Then
chercher = "Galates"
ElseIf livre = "Eph" Then
chercher = "Ephésiens"
ElseIf livre = "Phi" Then
chercher = "Philippiens"
ElseIf livre = "Col" Then
chercher = "Colossiens"
ElseIf livre = "1Th" Then
chercher = "1 Thessaloniciens"
ElseIf livre = "2Th" Then
chercher = "2 Thessaloniciens"
ElseIf livre = "1Ti" Then
chercher = "1 Timothée"
ElseIf livre = "2Ti" Then
chercher = "2 Timothée"
ElseIf livre = "Tit" Then
chercher = "Tite"
ElseIf livre = "Phm" Then
chercher = "Philémon"
ElseIf livre = "Heb" Then
chercher = "Hébreux"
ElseIf livre = "Jam" Then
chercher = "Jacques"
ElseIf livre = "1Pe" Then
chercher = "1 Pierre"
ElseIf livre = "2Pe" Then
chercher = "2 Pierre"
ElseIf livre = "1Jo" Then
chercher = "1 Jean"
ElseIf livre = "2Jo" Then
chercher = "2 Jean"
ElseIf livre = "3Jo" Then
chercher = "3 Jean"
ElseIf livre = "Jud" Then
chercher = "Jude"
ElseIf livre = "Rev" Then
chercher = "Révélation"
End If
frmBible.cboLivre.Text = chercher
frmBible.txtChapitre.Text = chapitre
frmBible.txtverset.Text = verset
End Sub
Private Sub Timer1_Timer()
If txtRecherche.Text <> "" And frmBible.mnuZetoG.Checked = False Then
frmZetoGraphe - 7
btnRechercher_Click
Timer1.Enabled = False
End If
End Sub
Private Sub txtRecherche_Click()
'txtRecherche.Text = ""
'txtRecherche.ForeColor = vbBlack
'On Error GoTo apres:
'
Unload frmResultat
'apres:
End Sub
Private Sub txtRecherche_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then btnRechercher_Click
If KeyAscii = 27 Then Unload Me
End Sub
frmZetoGraphe - 1
VERSION 5.00
Begin VB.Form frmZetoGraphe
BorderStyle
=
4 'Fixed ToolWindow
Caption
=
" Concordance ZêtoGraphê"
ClientHeight
=
4530
ClientLeft
=
7590
ClientTop
=
2730
ClientWidth
=
4365
Icon
=
(Icon)
LinkTopic
=
"Form1"
MaxButton
=
0
'False
MinButton
=
0
'False
Moveable
=
0
'False
Picture
=
(Bitmap)
ScaleHeight
=
4530
ScaleWidth
=
4365
ShowInTaskbar
=
0
'False
Begin VB.ListBox lstResultat
Height
=
1815
Left
=
360
TabIndex
=
10
Top
=
2280
Visible
=
0
'False
Width
=
2655
End
Begin VB.CommandButton Command1
Caption
=
"X"
Height
=
255
Left
=
3960
TabIndex
=
9
Top
=
4200
Width
=
375
End
Begin VB.TextBox Text1
Height
=
1815
Left
=
120
MultiLine
=
-1 'True
ScrollBars
=
3 'Both
TabIndex
=
7
Top
=
2280
Width
=
3735
End
Begin VB.Timer Timer1
Interval
=
10
Left
=
1560
Top
=
0
End
Begin VB.CommandButton btnRechercher
Caption
=
"Rechercher"
Default
=
-1 'True
Height
=
255
Left
=
2640
TabIndex
=
2
Top
=
840
Visible
=
0
'False
Width
=
1455
End
Begin VB.CommandButton btnFermer
Cancel
=
-1 'True
Height
=
255
Left
=
3840
TabIndex
=
6
Top
=
1200
Visible
=
0
'False
Width
=
615
End
Begin VB.ComboBox cboVersion
Height
=
315
Left
=
2400
TabIndex
=
1
Text
=
" version..."
Top
=
1680
Width
=
1455
End
Begin VB.PictureBox Picture1
Height
=
2175
frmZetoGraphe - 2
End
Left
Picture
ScaleHeight
ScaleWidth
TabIndex
Top
Width
=
=
=
=
=
=
=
0
(Bitmap)
2115
1875
3
0
1935
End
Begin VB.TextBox txtRecherche
ForeColor
=
&H00000000&
Height
=
405
Left
=
2040
TabIndex
=
0
Top
=
1200
Width
=
1815
End
Begin VB.Label lblResultat
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"passages trouvés"
BeginProperty Font
Name
=
"Courier New"
Size
=
9
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
-600
TabIndex
=
8
Top
=
4200
Width
=
5775
End
Begin VB.Label Label2
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"ZhtwGrafh"
BeginProperty Font
Name
=
"Symbol"
Size
=
18
Charset
=
2
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
ForeColor
=
&H80000010&
Height
=
495
Left
=
2040
TabIndex
=
5
Top
=
480
Width
=
2655
End
Begin VB.Label Label1
Alignment
=
2 'Center
BackStyle
=
0 'Transparent
Caption
=
"ZêtôGraphê"
BeginProperty Font
Name
=
"Courier New"
Size
=
18
Charset
=
0
Weight
=
700
Underline
=
0
'False
Italic
=
0
'False
Strikethrough
=
0
'False
EndProperty
Height
=
375
Left
=
1800
TabIndex
=
4
Top
=
120
Width
=
2655
End
ZêtôGraphê
ΖητωΓραφη
passages trouvés
fctAfficherAnalyseSeptante - 1
Public Function AfficherAnalyseSeptante(mot, origine, codemot) As String
Dim packard$
Dim ouvrir
Dim chercher$
packard = App.Path & "\tools\packard.txt"
ouvrir = FreeFile
frmBible.lbltampon.Text = ""
Load frmParse
frmParse.Show
frmParse.lblDefinition.Caption = mott
frmParse.lblmot.Caption = mot
motr = LCase(origine)
If Right(motr, 1) = "s" Then
motr = Mid(motr, 1, Len(motr) - 1) & "j"
End If
frmParse.lblorigine.Caption = LCase(motr)
Call DefinirGrec(motr, mott)
frmParse.lblDefinition.Caption = "Définition: " & mott
frmParse.lblDefinition.Visible = True
chercher = Replace(codemot, " ", " ", 1)
Open packard For Input As #ouvrir
Do
Input #ouvrir, ligne
If ligne = chercher Then
Do
Input #ouvrir, ligne
If ligne = "" Or ligne = vbCrLf Then
GoTo apres:
End If
frmBible.lbltampon.Text = frmBible.lbltampon.Text & ligne & vbCrLf
apres:
Loop
End If
Loop While Not EOF(ouvrir)
'MsgBox "Récapitulation : mot : " & mot & vbCrLf & "origine : " & LCase(origine) & vbCrLf & "défini
tion : " & mott & vbCrLf & "code : " & chercher & vbCrLf & frmBible.lbltampon.Text
frmParse.txtAnalyse.Caption = vbCrLf & frmBible.lbltampon.Text
frmParse2.Text1.Text = vbCrLf & frmBible.lbltampon.Text
End Function
fctAnalyseMorphoLatin - 1
Public Function AnalyseMorphoLatin(ligne)
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
"
"
"
"
"
"
NOM ", " nominatif ")
ACC ", " accusatif ")
GEN ", " génitif ")
DAT ", " datif ")
LOC ", " locatif ")
ABL ", " ablatif")
NOM", " nominatif ")
ACC", " accusatif ")
GEN", " génitif ")
DAT", " datif ")
LOC", " locatif ")
ABL", " ablatif")
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
" V 0", " Verbe ")
" V 1", " Verbe ")
" V 2", " Verbe ")
" V 3", " Verbe ")
" V 4", " Verbe ")
" V 5", " Verbe ")
" V 6", " Verbe ")
" V 7", " Verbe ")
" V 8", " Verbe ")
" V 9", " Verbe ")
"V 0", " Verbe ")
"V 1", " Verbe ")
"V 2", " Verbe ")
"V 3", " Verbe ")
"V 4", " Verbe ")
"V 5", " Verbe ")
"V 6", " Verbe ")
"V 7", " Verbe ")
"V 8", " Verbe ")
"V 9", " Verbe ")
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
ligne = Replace(ligne, " N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
'ligne = Replace(ligne, "N
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
"
"
0",
1",
2",
3",
4",
5",
6",
7",
8",
9",
N",
M",
F",
X",
0",
1",
2",
3",
4",
5",
6",
7",
8",
9",
N",
M",
F",
X",
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
Nom
")
")
")
")
")
")
")
")
")
")
neutre")
masculin")
féminin")
")
")
")
")
")
")
")
")
")
")
")
neutre")
masculin")
féminin")
")
X ", " (?) ")
ADJ ", " Adjectif ")
PRON ", " Pronom ")
ADV ", " Adverbe ")
NUM ", " numéral ")
SUPINE ", " supin ")
CONJ ", " Conjonction ")
INTERJ ", " Interjection ")
fctAnalyseMorphoLatin - 2
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
" TACKON ", " (?) ")
" PREFIX ", " Préfixe ")
" SUFFIX ", " Suffixe ")
" PACK ", " (?)")
" VPAR ", " Participe ")
" PREP ", " Préposition ")
" X ", " (?) ")
" ADJ ", " Adjectif ")
"PRON ", " Pronom ")
"ADV ", " Adverbe ")
"NUM ", " numéral ")
"SUPINE ", " supin ")
"CONJ ", " Conjonction ")
"INTERJ ", " Interjection ")
"TACKON ", " (?) ")
"PREFIX ", " Préfixe ")
"SUFFIX ", " Suffixe ")
"PACK ", " (?)")
"VPAR ", " Participe ")
"PREP ", " Préposition ")
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
" S M", " masculin singulier ")
" P M", " masculin pluriel ")
" N M", " masculin neutre ")
" X M", " masculin ")
"S M", " masculin singulier ")
"P M", " masculin pluriel ")
"N M", " masculin neutre ")
"X M", " masculin ")
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
" S F", " féminin singulier ")
" P F", " féminin pluriel ")
" N F", " féminin neutre ")
" X F", " féminin ")
"S F", " féminin singulier ")
"P F", " féminin pluriel ")
"N F", " féminin neutre ")
"X F", " féminin ")
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
" S N", " neutre singulier ")
" P N", " neutre pluriel ")
" X N", " neutre ")
"S N ", " neutre singulier ")
"P N ", " neutre pluriel ")
"X N ", " neutre ")
"S N", " neutre singulier ")
"P N", " neutre pluriel ")
ligne
ligne
ligne
ligne
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
P
S
S
P
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
"
"
"
"
"
"
PRES ", " présent ")
IMPF ", " imparfait ")
FUT ", " futur ")
PERF ", " parfait ")
PLUP ", " plus-que-parfait ")
FUTP ", " futur du parfait ")
PRES", " présent ")
IMPF", " imparfait ")
FUT", " futur ")
PERF", " parfait ")
PLUP", " plus-que-parfait ")
FUTP", " futur du parfait ")
ligne
ligne
ligne
ligne
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
ACTIVE ", " actif ")
PASSIVE ", " passif ")
ACTIVE", " actif ")
PASSIVE", " passif ")
C",
C",
X",
X",
"
"
"
"
pluriel (commun) ")
singulier (commun) ")
singulier")
pluriel")
fctAnalyseMorphoLatin - 3
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
IND ", " indicatif ")
SUB ", " subjonctif ")
IMP ", " impératif ")
INF ", " infinitif ")
PPL ", " participe ")
DEP ", " déponent ")
SEMIDEP ", " semidéponent ")
PERFDEF ", " verbe défini parfait ")
PPL", " participe ")
IND", " indicatif ")
SUB", " subjonctif ")
IMP", " impératif ")
INF", " infinitif ")
PPL", " participe ")
DEP", " déponent ")
SEMIDEP", " semidéponent ")
PERFDEF", " verbe défini parfait ")
ligne
ligne
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
"
"
unkown ", " ? ")
PERS ", " personnel ")
REL ", " relatif ")
REFLEX ", " réflexif ")
DEMONS ", " démonstratif ")
INTERR ", " interrogatif ")
INDEF ", " indéfini ")
ADJECT ", " adjectival ")
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
TO_BE ", " verbe être ")
TO_BEING ", " (dérivé du verbe être) ")
PRES ", " présent ")
TRANS ", " transitif ")
INTRANS ", " présent ")
IMPERS ", " présent ")
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
1
2
3
1
2
3
ligne
ligne
ligne
ligne
ligne
ligne
=
=
=
=
=
=
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
Replace(ligne,
"
"
"
"
"
"
NUM ", " numéral ")
ORD ", " ordinal ")
CARD ", " cardinal ")
COMP ", " comparatif ")
SUPER ", " superlatif ")
DIST ", " distributif ")
S",
S",
S",
P",
P",
P",
"
"
"
"
"
"
1ère
2ème
3ème
1ère
2ème
3ème
pers.
pers.
pers.
pers.
pers.
pers.
sing.
sing.
sing.
plur.
plur.
plur.
ligne = Replace(ligne, "0 ", "")
ligne = Replace(ligne, "1 ", "")
ligne = Replace(ligne, "2 ", "")
ligne = Replace(ligne, "3 ", "")
ligne = Replace(ligne, "4 ", "")
ligne = Replace(ligne, "5 ", "")
ligne = Replace(ligne, "6 ", "")
ligne = Replace(ligne, "7 ", "")
ligne = Replace(ligne, "8 ", "")
ligne = Replace(ligne, "9 ", "")
ligne = Replace(ligne, " ", " ")
ligne = Replace(ligne, " X", "")
ligne = Replace(ligne, " POS", " positif ")
ligne = Replace(ligne, " Late", " (tardif) ")
'ligne = Replace(ligne, " (archaïqe)", " A")
'ligne = Replace(ligne, " (préclassique)", " B")
'ligne = Replace(ligne, " (moderne)", " H")
ligne = Trim(ligne)
End Function
")
")
")
")
")
")
fctAnalyserGrec - 1
Option Explicit
Public Function AnalyserGrec(mot, Resultat, enlever, enleverg)
On Error Resume Next
' ARTICLE DEFINI
If mot = "o(" Or mot = "o" Then
Resultat = "Article défini, nominatif masculin singulier : le "
ElseIf mot = "to/n" Or mot = "ton" Or mot = "to\n" Then
Resultat = "Article défini, accusatif masculin singulier : le "
ElseIf mot = "tou=" Or mot = "tou" Then
Resultat = "Article défini, génitif masculin / neutre singulier : du "
ElseIf mot = "tw=|" Or mot = "tw|=" Or mot = "tw" Then
Resultat = "Article défini, datif masculin / neutre singulier : au "
ElseIf mot = "oi(" Or mot = "oi" Then
Resultat = "Article défini, nominatif masculin pluriel : les "
ElseIf mot = "tou/j" Or mot = "touj" Or mot = "tou\j" Then
Resultat = "Article défini, accusatif masculin pluriel : les "
ElseIf mot = "tw=n" Or mot = "twn" Then
Resultat = "Article défini, génitif masc / fem / neu pluriel : des "
ElseIf mot = "toi=j" Or mot = "toij" Then
Resultat = "Article défini, datif masculin / neutre pluriel : aux "
ElseIf mot = "h(" Or mot = "h" Then
Resultat = "Article défini, nominatif féminin singulier : la "
ElseIf mot = "th/n" Or mot = "thn" Or mot = "th\n" Then
Resultat = "Article défini, accusatif féminin singulier : la "
ElseIf mot = "th=j" Or mot = "thj" Then
Resultat = "Article défini, génitif féminin singulier : de la "
ElseIf mot = "th=|" Or mot = "th|=n" Or mot = "th" Then
Resultat = "Article défini, datif féminin singulier : à la "
ElseIf mot = "ai(" Or mot = "ai" Then
Resultat = "Article défini, nominatif féminin pluriel : les "
ElseIf mot = "ta/j" Or mot = "taj" Then
Resultat = "Article défini, accusatif féminin pluriel : les "
ElseIf mot = "tai=j" Or mot = "taij" Then
Resultat = "Article défini, nominatif féminin pluriel : les "
ElseIf mot = "to/" Or mot = "to" Or mot = "to\" Then
Resultat = "Article défini, nominatif / accusatif neutre pluriel : les "
ElseIf mot = "ta/" Or mot = "ta" Then
Resultat = "Article défini, nominatif / accusatif neutre pluriel : les "
' FIN ARTICLE DEFINI
' DEBUT VERBE ETRE
' présent actif
ElseIf mot = "ei/mi" Or mot = "eimi" Then
Resultat = "Verbe être indicatif présent actif, 1ère personne du singulier : je suis"
ElseIf mot = "ei)=" Or mot = "ei=)" Or mot = "ei" Then
Resultat = "Verbe être, indicatif présent actif, 2ème personne du singulier : tu es OU part. : si"
ElseIf mot = "e)sti/" Or mot = "e)sti/v" Or mot = "esti" Then
Resultat = "Verbe être, indicatif présent actif, 3ème personne du singulier : il est"
ElseIf mot = "e)smen" Or mot = "esmen" Then
Resultat = "Verbe être, indicatif présent actif, 1ère personne du pluriel : nous sommes"
ElseIf mot = "e)ste" Or mot = "este" Then
Resultat = "Verbe être, indicatif présent actif, 2ème personne du pluriel : vous êtes"
ElseIf mot = "ei)si/" Or mot = "ei)si/n" Or mot = "eisin" Then
Resultat = "Verbe être, indicatif présent actif, 3ème personne du singulier : ils sont"
' imparfait actif
ElseIf mot = "h)/mhn" Or mot = "hmen" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : j'étais"
ElseIf mot = "h)=j" Or mot = "hj" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : tu étais"
ElseIf mot = "h)=n" Or mot = "hn" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : il était"
ElseIf mot = "h)=men" Or mot = "hmen" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : nous étions"
ElseIf mot = "h)=te" Or mot = "hte" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : vous étiez"
ElseIf mot = "h)=san" Or mot = "hsan" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : ils étaient"
' futur actif
ElseIf mot = "e)/somai" Or mot = "esomai" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : je serai"
ElseIf mot = "e)/sh|" Or mot = "esh" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : tu seras"
ElseIf mot = "e)/stai" Or mot = "estai" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier : il sera"
ElseIf mot = "e)so/meqa" Or mot = "esomeqa" Then
fctAnalyserGrec - 2
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier
ElseIf mot = "e)/sesqe" Or mot = "esesqe" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier
ElseIf mot = "e)/sontai" Or mot = "esontai" Then
Resultat = "Verbe être, indicatif imparfait actif, 1ère personne du singulier
' impératif présent actif
ElseIf mot = "i)/sqi" Or mot = "isqi" Then
Resultat = "Verbe être, impératif présent actif, 1ère personne du singulier :
ElseIf mot = "e)/stw" Or mot = "estw" Then
Resultat = "Verbe être, impératif présent actif, 1ère personne du singulier :
ElseIf mot = "e)/ste" Or mot = "este" Then
Resultat = "Verbe être, impératif présent actif, 1ère personne du singulier :
ElseIf mot = "e)/stwsan" Or mot = "estwsan" Then
Resultat = "Verbe être, impératif présent actif, 1ère personne du singulier :
: nous serons"
: vous serez"
: ils seront"
sois"
qu'il soit"
que vous soyez"
qu'ils soient"
ElseIf mot = "eij" Or mot = "ei)j" Then
Resultat = " Adverbe de lieu : vers, en direction de"
ElseIf Right(mot, 9) = "qh/someqa" Then ' ************************************************DEBUT DE
L'INDICATIF****************************
Resultat = " Indicatif futur passif, 1ère personne du singulier"
enlever = 9
ElseIf Right(mot, 9) = "qh/sontai" Then
Resultat = " Indicatif futur passif, 3ème personne du pluriel"
enlever = 9
ElseIf Right(mot, 8) = "qh/somai" Then
Resultat = " Indicatif futur passif, 1ère personne du singulier"
enlever = 9
ElseIf Right(mot, 8) = "qh/setai" Then
Resultat = " Indicatif futur passif, 3ème personne du singulier"
enlever = 8
ElseIf Right(mot, 8) = "qh/sesqe" Then
Resultat = " Indicatif futur passif, 2ème personne du pluriel"
enlever = 8
ElseIf Left(mot, 2) = "e)" And Right(mot, 7) = "sa/meqa" Then
Resultat = " Indicatif aoriste moyen, 1ère personne du pluriel"
enlever = 7
enleverg = 2
ElseIf Right(mot, 7) = "so/meqa" Then
Resultat = " Indicatif futur moyen, 1ère personne du pluriel"
enlever = 7
ElseIf Right(mot, 7) = "e/twsan" Then
Resultat = " Impératif présent actif, 3ème personne du pluriel"
enlever = 7
ElseIf Left(mot, 2) = "e)" And Right(mot, 6) = "sa/mhn" Then
Resultat = " Indicatif aoriste moyen, 1ère personne du singulier"
enlever = 6
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 6) = "o/meqa" Then
Resultat = " Indicatif imparfait moyen-passif, 1ère personne du pluriel"
enlever = 6
enleverg = 2
ElseIf Right(mot, 6) = "a)lla/" Or mot = "alla" Then
Resultat = " Conjonction : mais ; eh bien ! ; cependant"
ElseIf Right(mot, 6) = "sontai" Then
Resultat = " Indicatif futur moyen, 3ème personne du pluriel"
enlever = 6
ElseIf Right(mot, 6) = "qh/sh|" Then
Resultat = " Indicatif futur passif, 2ème personne du singulier"
enlever = 6
ElseIf Right(mot, 6) = "etwsan" Then
Resultat = " Impératif présent actif, 3ème personne du pluriel"
enlever = 6
ElseIf Right(mot, 6) = "keimen" Then
Resultat = " Indicatif plus-que-parfait actif, 1ère personne du pluriel"
enlever = 6
enleverg = 4
ElseIf Right(mot, 6) = "keisan" Then
Resultat = " Indicatif plus-que-parfait actif, 3ème personne du pluriel"
enlever = 6
enleverg = 4
ElseIf Left(mot, 2) = "e)" And Right(mot, 5) = "samen" Then
Resultat = " Indicatif aoriste actif, 1ère personne du pluriel"
enlever = 5
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 5) = "sasqe" Then
fctAnalyserGrec - 3
Resultat = " Indicatif aoriste moyen, 2ème personne du pluriel"
enlever = 5
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 5) = "santo" Then
Resultat = " Indicatif aoriste moyen, 3ème personne du pluriel"
enlever = 5
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 5) = "qhmen" Then
Resultat = " Indicatif aoriste passif, 1ère personne du singulier"
enlever = 5
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 5) = "qhsan" Then
Resultat = " Indicatif aoriste passif, 3ème personne du pluriel"
enlever = 5
enleverg = 2
ElseIf Right(mot, 5) = "somen" Then
Resultat = " Indicatif futur actif, 1ère personne du pluriel"
enlever = 5
ElseIf Right(mot, 5) = "sousi" Then
Resultat = " Indicatif futur actif, 3ème personne du pluriel"
enlever = 5
ElseIf Right(mot, 5) = "kamen" Then
Resultat = " Indicatif parfait actif, 1ère personne du pluriel"
enlever = 5
enleverg = 2
ElseIf Right(mot, 5) = "omeqa" Then
Resultat = " Indicatif présent moyen-passif, 1ère personne du pluriel"
enlever = 5
ElseIf Right(mot, 5) = "ontai" Then
Resultat = " Indicatif présent moyen-passif, 3ème personne du pluriel"
enlever = 5
ElseIf Right(mot, 5) = "somai" Then
Resultat = " Indicatif futur moyen, 1ère personne du singulier"
enlever = 5
ElseIf Right(mot, 5) = "setai" Then
Resultat = " Indicatif futur moyen, 3ème personne du singulier"
enlever = 5
ElseIf Right(mot, 5) = "sesqe" Then
Resultat = " Indicatif futur moyen, 2ème personne du pluriel"
enlever = 5
ElseIf Right(mot, 5) = "keite" Then
Resultat = " Indicatif plus-que-parfait actif, 2ème personne du pluriel"
enlever = 5
enleverg = 5
ElseIf Right(mot, 5) = "kesan" Then
Resultat = " Indicatif plus-que-parfait actif, 3ème personne du pluriel"
enlever = 5
ElseIf Right(mot, 5) = "tatoj" Then
Resultat = " Superlatif, nominatif masculin singulier"
enlever = 5
ElseIf Right(mot, 5) = "taton" Then
Resultat = " Superlatif, accusatif masculin singulier"
enlever = 5
ElseIf Right(mot, 5) = "tatou" Then
Resultat = " Superlatif, génitif masculin singulier"
enlever = 5
ElseIf Right(mot, 5) = "tatw|" Then
Resultat = " Superlatif, datif masculin singulier"
enlever = 5
' Participe présent
ElseIf Right(mot, 6) = "menw=|" Then
Resultat = "Participe présent, datif masculin / neutre singulier"
enlever = 6
ElseIf Right(mot, 5) = "menoj" Then
Resultat = "Participe présent, nominatif masculin singulier"
enlever = 5
ElseIf Right(mot, 5) = "menou" Or Right(mot, 6) = "menou=" Then
Resultat = "Participe présent, génitif singulier"
enlever = 5
ElseIf Right(mot, 5) = "menon" Then
Resultat = "Participe présent, accusatif masculin singulier"
enlever = 5
ElseIf Right(mot, 5) = "menoi" Then
Resultat = "Participe présent, nominatif masculin pluriel"
enlever = 5
ElseIf Right(mot, 6) = "menouj" Or Right(mot, 7) = "menou\j" Then
fctAnalyserGrec - 4
Resultat = "Participe présent, accusatif masculin singulier"
ElseIf Right(mot, 6) = "menouj" Or Right(mot, 7) = "menou\j" Then
Resultat = "Participe présent, accusatif masculin singulier"
ElseIf Right(mot, 5) = "menh" Or Right(mot, 6) = "me/nh" Then
Resultat = "Participe présent, nominatif féminin singulier"
ElseIf Right(mot, 5) = "menhn" Or Right(mot, 6) = "me/nhn" Then
Resultat = "Participe présent, accusatif féminin singulier"
ElseIf Right(mot, 6) = "menaij" Or Right(mot, 7) = "menai=j" Then
Resultat = "Participe présent, datif féminin singulier"
' fin du participe présent
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "omen" Then
Resultat = " Indicatif imparfait actif, 1ère personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "ousi" Then
Resultat = " Indicatif imparfait actif, 3ème personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "sate" Then
Resultat = " Indicatif aoriste actif, 2ème personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "kein" Then
Resultat = " Indicatif plus-que-parfait actif, 1ère personne du singulier"
enlever = 4
enleverg = 4
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "keij" Then
Resultat = " Indicatif plus-que-parfait actif, 2ème personne du singulier"
enlever = 4
enleverg = 4
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "sato" Then
Resultat = " Indicatif aoriste moyen, 3ème personne du singulier"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "qhte" Then
Resultat = " Indicatif aoriste passif, 2ème personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "meqa" Then
Resultat = " Indicatif plus-que-parfait moyen-passif, 1ère personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "omhn" Then
Resultat = " Indicatif imparfait moyen-passif, 1ère personne du singulier"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "esqe" Then
Resultat = " Indicatif imparfait moyen-passif, 2ème personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 4) = "onto" Then
Resultat = " Indicatif imparfait moyen-passif, 3ème personne du pluriel" ' fin du 4 avec augment
enlever = 4
enleverg = 2
ElseIf Right(mot, 4) = "omen" Then ' début du 4 sans augment
Resultat = " Indicatif présent actif, 1ère personne du pluriel"
enlever = 4
ElseIf Right(mot, 4) = "ousi" Then
Resultat = " Indicatif présent actif, 3ème personne du pluriel"
enlever = 4
ElseIf Right(mot, 4) = "e/tw" Then
Resultat = " Impératif présent actif, 3ème personne du singulier"
enlever = 4
ElseIf Right(mot, 4) =
Resultat = " Indicatif
enlever = 4
ElseIf Right(mot, 4) =
Resultat = " Indicatif
enlever = 4
ElseIf Right(mot, 4) =
Resultat = " Indicatif
enlever = 4
enleverg = 2
"seij" Then
futur actif, 2ème personne du singulier"
"sete" Then
futur actif, 2ème personne du pluriel"
"kate" Then
parfait actif, 2ème personne du pluriel"
fctAnalyserGrec - 5
ElseIf Right(mot, 4) = "kasi" Then
Resultat = " Indicatif parfait actif, 3ème personne du pluriel"
enlever = 4
enleverg = 2
ElseIf Right(mot, 4) = "omai" Then
Resultat = " Indicatif moyen-passif, 1ère personne du singulier"
enlever = 4
ElseIf Right(mot, 4) = "etai" Then
Resultat = " Indicatif présent moyen-passif, 3ème personne du singulier"
enlever = 4
ElseIf Right(mot, 4) = "esqe" Then
Resultat = " Indicatif présent moyen-passif, 2ème personne du pluriel"
enlever = 4
ElseIf Right(mot, 4) = "meqa" Then
Resultat = " Indicatif parfait moyen-passif, 1ère personne du pluriel"
enlever = 4
ElseIf Right(mot, 4) = "eroj" Then
Resultat = "Comparatif de supériorité, nominatif masculin singulier"
enlever = 4
ElseIf Right(mot, 4) = "ntai" Then
Resultat = " Indicatif parfait moyen-passif, 3ème personne du pluriel" ' fin du 4 sans augment
enlever = 4
ElseIf Right(mot, 4) = "ai=j" Then
Resultat = " Datif féminin pluriel, 1ère déclinaison" ' début et fin de 1ère decl ê/ês, 4
enlever = 4
ElseIf mot = "ga/r" Then
Resultat = " Conjonction : car, en effet"
enlever = 4
ElseIf mot = "kai/" Or mot = "kai\" Or mot = "kai" Then
Resultat = " Conjonction ou adverbe. Conj : et, et en outre / Adv. : aussi, même"
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "ete" Then ' début du 3 avec augment
Resultat = " Indicatif imparfait actif, 2ème personne du pluriel"
enlever = 3
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "saj" Then
Resultat = " Indicatif aoriste actif, 2ème personne du singulier"
enlever = 3
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "san" Then
Resultat = " Indicatif imparfait actif, 3ème personne du pluriel"
enlever = 3
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "kei" Then
Resultat = " Indicatif plus-que-parfait actif, 3ème personne du singulier"
enlever = 3
enleverg = 3
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "eto" Then
Resultat = " Indicatif imparfait moyen-passif, 3ème personne du singulier"
enlever = 3
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "qhn" Then
Resultat = " Indicatif aoriste passif, 1ère personne du singulier"
enlever = 3
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "qhj" Then
Resultat = " Indicatif aoriste passif, 2ème personne du singulier"
enlever = 3
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 3) = "mhn" Then
Resultat = " Indicatif plus-que-parfait moyen-passif, 1ère personne du singulier" 'fin du 3 avec au
gment
enlever = 3
enleverg = 2
ElseIf Right(mot, 3) = "eij" Then ' début du 3 sans augment
Resultat = " Indicatif présent actif, 2ème personne du singulier"
enlever = 3
ElseIf Right(mot, 3) = "ete" Then
Resultat = " Indicatif présent actif, 2ème personne du pluriel"
enlever = 3
ElseIf Right(mot, 3) = "sei" Then
Resultat = " Indicatif présent actif, 3ème personne du singulier"
enlever = 3
ElseIf Right(mot, 3) = "kaj" Then
Resultat = " Indicatif parfait actif, 2ème personne du singulier"
enlever = 3
enleverg = 2
fctAnalyserGrec - 6
ElseIf Right(mot, 3) = "sh|" Then
Resultat = " Indicatif futur moyen, 2ème personne du singulier"
enlever = 3
ElseIf Right(mot, 3) = "mai" Then
Resultat = " Indicatif parfait moyen-passif, 1ère personne du singulier"
enlever = 3
ElseIf Right(mot, 3) = "sai" Then
Resultat = " Indicatif parfait moyen-passif, 2ème personne du singulier"
enlever = 3
ElseIf Right(mot, 3) = "tai" Then
Resultat = " Indicatif parfait moyen-passif, 3ème personne du singulier"
enlever = 3
ElseIf Right(mot, 3) = "sqe" Then
Resultat = " Indicatif parfait moyen-passif, 2ème personne du pluriel" ' fin du 3 sans augment
enlever = 3
ElseIf Right(mot, 3) = "ouj" Then ' 2ème decl logos, 3
Resultat = " Accusatif masculin pluriel, 2ème déclinaison"
enlever = 3
ElseIf Right(mot, 3) = "oij" Then
Resultat = " Datif masculin / neutre pluriel, 2ème déclinaison" ' fin 2eme decl logos, 3
enlever = 3
ElseIf Right(mot, 3) = "h/n" Then ' début 1ère decl fem, ê/ês, 3
Resultat = " Accusatif féminin singulier, 1ère déclinaison"
enlever = 3
ElseIf Right(mot, 3) = "h=j" Then
Resultat = " Génitif féminin singulier, 1ère déclinaison"
enlever = 3
ElseIf Right(mot, 3) = "h=|" Or Right(mot, 3) = "h|=" Then
Resultat = " Datif féminin singulier, 1ère déclinaison"
enlever = 3
ElseIf Right(mot, 3) = "ai/" Then
Resultat = " Nominatif/Vocatif féminin pluriel, 1ère déclinaison"
enlever = 3
ElseIf Right(mot, 3) = "a/j" Then
Resultat = " Accusatif féminin pluriel, 1ère déclinaison"
enlever = 3
ElseIf Right(mot, 3) = "aij" Then
Resultat = " Datif féminin pluriel, 1ère déclinaisaon"
enlever = 3
ElseIf mot = "gar" Then
Resultat = " Conjonction : car, en effet"
ElseIf Right(mot, 3) = "w=n" Then
Resultat = " Génitif masculin/féminin/neutre pluriel" ' fin 1ère decl fem, ê, ês, 3
enlever = 3
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "on" Then ' début du 2 avec augment
Resultat = " Indicatif imparfait actif, 1ère personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "ej" Then
Resultat = " Indicatif imparfait actif, 2ème personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "sa" Then
Resultat = " Indicatif aoriste actif, 1ère personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "se" Then
Resultat = " Indicatif aoriste actif, 3ème personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "ou" Then
Resultat = " Indicatif imparfait moyen-passif, 2ème personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "sw" Then
Resultat = " Indicatif aoriste moyen, 2ème personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "qh" Then
Resultat = " Indicatif aoriste passif, 3ème personne du singulier"
enlever = 2
enleverg = 2
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "so" Then
Resultat = " Indicatif plus-que-parfait moyen-passif, 2ème personne du singulier"
enlever = 2
enleverg = 2
fctAnalyserGrec - 7
ElseIf Left(mot, 2) = "e)" And Right(mot, 2) = "to" Then
Resultat = " Indicatif plus-que-parfait moyen-passif, 3ème personne du singulier" ' fin du 2 avec a
ugment
enlever = 2
enleverg = 2
ElseIf Right(mot, 2) = "ei" Then ' début du 2 sans augment
Resultat = " Indicatif présent actif, 3ème personne du singulier"
enlever = 2
ElseIf Right(mot, 2) = "sw" Then
Resultat = " Indicatif futur actif, 1ère personne du singulier"
enlever = 2
ElseIf Right(mot, 6) = "sontai" Then
Resultat = " Indicatif futur moyen, 3ème personne du pluriel"
enlever = 6
ElseIf mot = "te" Then
Resultat = " Particule enclitique : et / précisément / alors"
ElseIf mot = "ge" Then
Resultat = " Particule enclitique : du moins, certes / précisément "
ElseIf Right(mot, 2) = "ka" Then
Resultat = " Indicatif parfait actif, 1ère personne du singulier"
enlever = 2
enleverg = 2
ElseIf Right(mot, 2) = "=e" Then
Resultat = " Impératif présent actif, 1ère personne du singulier"
enlever = 2
ElseIf Right(mot, 2) = "ke" Then
Resultat = " Indicatif parfait actif, 3ème personne du singulier"
enlever = 2
enleverg = 2
ElseIf Right(mot, 2) = "h|" Then
Resultat = " Indicatif présent moyen-passif, 2ème personne du singulier, OU Datif masculin / fémini
n singulier, 1ère déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "oj" Then
Resultat = " Nominatif masculin singulier, 2ème déclinaison" '----------|
enlever = 2
ElseIf Right(mot, 2) = "on" Then
Resultat = " Accusatif masculin singulier, 2ème déclinaison OU Nominatif / Vocatif / Accusatif neut
re singulier, 2ème déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "ou" Or Right(mot, 3) = "ou=" Then
Resultat = " Génitif masculin / neutre singulier, 1ère ou 2ème déclinaison" ' 2eme decl logos, 2
enlever = 2
ElseIf Right(mot, 2) = "w|" Then
Resultat = " Datif masculin singulier, 2ème déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "oi" Then
Resultat = " Nominatif/Vocatif masculin pluriel, 2ème déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "wn" Then
Resultat = " Génitif masculin / neutre pluriel, 2ème déclinaison" '--------------| FIN DU 2 SANS AU
GMENT POUR LES VB
enlever = 2
ElseIf Right(mot, 2) = "an" Then
Resultat = " Accusatif féminin singulier, 1ère déclinaison" ' début 1ère decl fem a/âs, 2
enlever = 2
ElseIf Right(mot, 2) = "aj" Then
Resultat = " Génitif féminin singulier, 1ère déclinaison OU Accusatif féminin pluriel, 1ère déclina
ison, OU Nominatif masculin singulier, 1ère déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "a|" Then
Resultat = " Datif féminin singulier, 1ère déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "ai" Then
Resultat = " Nominatif / Vocatif féminin (ou masc.) pluriel, 1ère déclinaison" ' fin 1ère decl fem
a/âs, 2
enlever = 2
ElseIf Right(mot, 2) = "hj" Then
Resultat = " Génitif féminin singulier, 1ère déclinaison ou Nominatif masculin singulier, 1ère décl
inaison" ' début et fin 1ère decl, a/ês, 2
enlever = 2
ElseIf Right(mot, 2) = "yw" Then
Resultat = " Indicatif futur actif, 1ère personne du singulier "
enlever = 2
ElseIf Right(mot, 2) = "cw" Then
Resultat = " Indicatif futur actif, 1ère personne du singulier "
fctAnalyserGrec - 8
enlever = 2
ElseIf mot = "ou" Or mot = "ou)" Or mot = "ouk" Or mot = "ou)k" Then
Resultat = "Particule négative : ne...pas"
enlever = 2
ElseIf Right(mot, 2) = "hn" Then
Resultat = " Accusatif masculin singulier, 1ère déclinaison"
enlever = 2
ElseIf Right(mot, 2) = "e)" And Right(mot, 1) = "e" Then '
début et fin
Resultat = " Indicatif imparfait actuf, 3ème personne du singulier" ' du 1 avec augment
enlever = 2
ElseIf Right(mot, 2) = "h/" Then
Resultat = "Nominatif/Vocatif féminin singulier, 1ère déclinaison" ' 1ère decl type ê/ês, 2
enlever = 2
ElseIf Mid(mot, Len(mot), 1) = "w" Then
Resultat = " Indicatif présent actif, 1ère personne du singulier" ' ***************************FIN
DE L'INDICATIF*********************
enlever = 1
ElseIf Right(mot, 1) = "e" Then
Resultat = " Vocatif masculin singulier, 2ème déclinaison" ' 2ème décl logos, 1
enlever = 1
ElseIf Right(mot, 1) = "a" Then ' début 1ère decl fem, a/âs, 1
Resultat = " Nominatif / Vocatif féminin singulier, 1ère déclinaison OU Nominatif / Vocatif / Accus
atif neutre pluriel, 2ème déclinaison OU Vocatif masculin singulier, 1ère déclinaison" ' fin 1ère d
ecl fem, a/âs, 1
enlever = 1
Else
Resultat = " Pas d'analyse"
End If
End Function
fctAnalyserLatin - 1
Option Explicit
Public Function AnalyserLatin(mot, Resultat) As String
' NE PAS OUBLIER DE TRIER
' METTRE LES ELEMENTS LES + LONGS AU DÉPART
' right(mot) 8...
' right(mot) 7...
' right(mot) 6...
' bien sûr, tout est dans le désordre, mais je n'ai pas le choix
mot = Trim(mot)
If Right(mot, 1) = "." Then
mot = Mid(mot, 1, Len(mot) - 1)
End If
' (Manque IPSE)
' penser à alléger le code en remplaçant pronom adjectif interrogatif par une variable
If Right(mot, 9) = "ti erimus" Then
Resultat = "Indicatif futur antérieur passif, première personne du pluriel"
ElseIf Right(mot, 9) = "ti eritis" Then
Resultat = "Indicatif futur antérieur passif, deuxième personne du pluriel"
ElseIf Right(mot, 8) = "tus eris" Then
Resultat = "Indicatif futur antérieur passif, deuxième personne du singulier"
ElseIf Right(mot, 8) = "tus erit" Then
Resultat = "Indicatif futur antérieur passif, troisième personne du singulier"
ElseIf Right(mot, 8) = "ti erunt" Then
Resultat = "Indicatif futur antérieur passif, troisième personne du pluriel"
ElseIf Right(mot, 8) = "ti sumus" Then
Resultat = "Indicatif plus-que-parfait passif, première personne du pluriel"
ElseIf Right(mot, 8) = "ti estis" Then
Resultat = "Indicatif plus-que-parfait passif, deuxième personne du pluriel"
ElseIf Right(mot, 7) = "tus ero" Then
Resultat = "Indicatif futur antérieur passif, première personne du singulier"
ElseIf Right(mot, 7) = "tus est" Then
Resultat = "Indicatif plus-que-parfait passif, troisième personne du singulier"
ElseIf Right(mot, 7) = "ti sunt" Then
Resultat = "Indicatif plus-que-parfait passif, troisième personne du pluriel"
ElseIf Right(mot, 7) = "tus sum" Then
Resultat = "Indicatif plus-que-parfait passif, première personne du singulier"
ElseIf Right(mot, 7) = "verimus" Then
Resultat = "Indicatif futur antérieur actif, première personne du pluriel"
ElseIf Right(mot, 7) = "veritis" Then
Resultat = "Indicatif futur antérieur actif, deuxième personne du pluriel"
ElseIf Right(mot, 7) = "veramus" Then
Resultat = "Indicatif plus-que-parfait actif, première personne du pluriel"
ElseIf Right(mot, 7) = "veratis" Then
Resultat = "Indicatif plus-que-parfait actif, deuxième personne du pluriel"
ElseIf mot = "illius" Then
Resultat = " Pronom adjectif démonstratif, génitif masculin / féminin / neutre singulier : de celui
-là"
ElseIf mot = "quorum" Then
Resultat = " Pronom adjectif interrogatif, génitif masculin / neutre pluriel : desquels ?"
ElseIf mot = "quibus" Then
Resultat = " Pronom adjectif interrogatif ou relatif, datif ou ablatif m-f-n OU neutre pluriel : au
xquels, par lesquels ?"
ElseIf mot = "quarum" Then
Resultat = " Pronom adjectif interrogatif, génitif féminin pluriel : desquelles ?"
ElseIf Right(mot, 6) = "buntur" Then
Resultat = "Indicatif futur passif, troisième personne du pluriel"
ElseIf Right(mot, 6) = "verunt" Then
Resultat = "Indicatif futur passif, troisième personne du pluriel"
ElseIf Right(mot, 6) = "tus es" Then
Resultat = "Indicatif plus-que-parfait passif, deuxième personne du singulier"
ElseIf Right(mot, 6) = "bamini" Then
Resultat = "Indicatif imparfait actif, deuxième personne du pluriel"
ElseIf Right(mot, 6) = "bantur" Then
Resultat = "Indicatif imparfait actif, troisième personne du pluriel"
ElseIf Right(mot, 6) = "verant" Then
Resultat = "Indicatif futur actif, troisième personne du pluriel"
ElseIf Right(mot, 6) = "verunt" Then
Resultat = "Indicatif futur actif, troisième personne du pluriel"
ElseIf Right(mot, 6) = "verint" Then
Resultat = "Indicatif futur antérieur actif, troisième personne du pluriel"
ElseIf Right(mot, 5) = "vimus" Then
Resultat = "Indicatif parfait passif, première personne du pluriel"
ElseIf Right(mot, 5) = "vitis" Then
Resultat = "Indicatif parfait passif, deuxième personne du pluriel"
fctAnalyserLatin - 2
ElseIf Right(mot, 5) = "bamus" Then
Resultat = "Indicatif imparfait actif, première personne du pluriel"
ElseIf Right(mot, 5) = "batis" Then
Resultat = "Indicatif imparfait actif, deuxième personne du pluriel"
ElseIf Right(mot, 5) = "bimus" Then
Resultat = "Indicatif futur actif, première personne du pluriel"
ElseIf mot = "sumus" Then
Resultat = "Verbe être, indicatif présent actif, première personne du pluriel"
ElseIf mot = "estis" Then
Resultat = "Verbe être, indicatif présent actif, deuxième personne du pluriel"
ElseIf Right(mot, 5) = "bitis" Then
Resultat = "Indicatif futur actif, deuxième personne du pluriel"
ElseIf Right(mot, 5) = "visti" Then
Resultat = "Indicatif parfait actif, deuxième personne du singulier"
ElseIf Right(mot, 5) = "vimus" Then
Resultat = "Indicatif parfait actif, première personne du pluriel"
ElseIf Right(mot, 5) = "vitis" Then
Resultat = "Indicatif parfait actif, deuxième personne du pluriel"
ElseIf Right(mot, 5) = "veram" Then ' attention , cet enregistrement doitpasser en priorité
Resultat = "Indicatif plus-que-parfait actif, première personne du singulier "
ElseIf Right(mot, 5) = "veras" Then
Resultat = "Indicatif plus-que-parfait actif, deuxième personne du singulier "
ElseIf Right(mot, 5) = "verat" Then
Resultat = "Indicatif plus-que-parfait actif, troisième personne du singulier "
ElseIf Right(mot, 5) = "baris" Then
Resultat = "Indicatif imparfait actif, deuxième personne du singulier"
ElseIf Right(mot, 5) = "barit" Then
Resultat = "Indicatif imparfait actif, troisième personne du singulier"
ElseIf Right(mot, 5) = "bamur" Then
Resultat = "Indicatif imparfait actif, première personne du pluriel"
ElseIf Right(mot, 5) = "veris" Then
Resultat = "Indicatif futur antérieur actif, deuxième personne du singulier"
ElseIf Right(mot, 5) = "verit" Then
Resultat = "Indicatif futur antérieur actif, troisième personne du singulier "
ElseIf Right(mot, 5) = "visti" Then
Resultat = "Indicatif parfait passif, deuxième personne du singulier"
ElseIf Right(mot, 5) = "bimur" Then
Resultat = "Indicatif futur passif, première personne du pluriel"
ElseIf mot = "hujus" Then
Resultat = " Pronom adjectif démonstratif, génitif masculin / féminin / neutre singulier : de celui
-ci"
ElseIf mot = "horum" Then
Resultat = " Pronom adjectif démonstratif, génitif masculin / féminin / neutre singulier : de ceuxci"
ElseIf mot = "harum" Then
Resultat = " Pronom adjectif démonstratif, génitif féminin pluriel : de celles-ci"
ElseIf mot = "illum" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin singulier : celui-là"
ElseIf mot = "illud" Then
Resultat = " Pronom adjectif démonstratif, nominatif / accusatif neutre singulier"
ElseIf mot = "eorum" Then
Resultat = " Pronom adjectif démonstratif, génitif masculin pluriel : d'eux, à eux, le leur "
ElseIf mot = "earum" Then
Resultat = " Pronom adjectif démonstratif, génitif féminin pluriel : d'elles, à elles, le leur "
ElseIf mot = "cujus" Then
Resultat = " Pronom adjectif interrogatif, génitif M/F/N singulier : de qui, duquel ?"
ElseIf Right(mot, 5) = "bimini" Then
Resultat = "Indicatif futur passif, deuxième personne du pluriel"
ElseIf Right(mot, 4) = "bant" Then
Resultat = "Indicatif imparfait actif, troisième personne du pluriel"
ElseIf mot = "quem" Then
Resultat = " Pronom adjectif interrogatif ou relatif, accusatif masculin singulier : qui, lequel ?"
ElseIf mot = "mihi" Then
Resultat = " Pronom personnel, datif singulier : à moi (marque souvent l'appartenance)"
ElseIf mot = "tibi" Then
Resultat = " Pronom personnel, datif singulier : à toi"
ElseIf mot = "sibi" Then
Resultat = " Pronom personnel réfléchi, datif singulier : pour lui-même"
ElseIf mot = "sese" Then
Resultat = " Pronom personnel réfléchi, ablatif singulier : à lui-même"
ElseIf mot = "hunc" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin singulier : celui-ci"
ElseIf mot = "huic" Then
Resultat = " Pronom adjectif démonstratif, datif masculin / féminin / neutre singulier : celui-ci"
ElseIf mot = "haec" Then
Resultat = " Pronom adjectif démonstratif, nominatif-accusatif neutre pluriel"
fctAnalyserLatin - 3
ElseIf mot = "ille" Then
Resultat = " Pronom adjectif démonstratif, nominatif masculin singulier : celui-là"
ElseIf mot = "illi" Then
Resultat = " Pronom adjectif démonstratif, datif masculin / féminin / neutre singulier : à celui-là
, celle-là"
ElseIf mot = "illo" Then
Resultat = " Pronom adjectif démonstratif, ablatif masculin singulier : à, pour celui-là"
ElseIf mot = "illa" Then
Resultat = " Pronom adjectif démonstratif, nominatif féminin singulier : celle-là"
ElseIf mot = "illa" Then
Resultat = " Pronom adjectif démonstratif, accusatif féminin singulier : celle-là"
ElseIf mot = "ejus" Then
Resultat = " Pronom adjectif démonstratif, génitif masculin / féminin / neutre singulier : de lui (
le sien)"
ElseIf mot = "quis" Then
Resultat = " Pronom adjectif interrogatif, nominatif masculin singulier : qui, lequel ?"
ElseIf mot = "quae" Then
Resultat = " Pronom adjectif interrogatif ou relatif, nominatif féminin singulier : quelle, laquell
e ? OU Nominatif féminin pluriel ou Nominatif - accusatif neutre pluriel"
ElseIf mot = "quam" Then
Resultat = " Pronom adjectif interrogatif ou relatif, accusatif féminin singulier : quelle, laquell
e ?"
ElseIf mot = "quid" Then
Resultat = " Pronom adjectif interrogatif, nominatif / accusatif neutre singulier : qui, lequel ?"
ElseIf mot = "quos" Then
Resultat = " Pronom adjectif interrogatif, accusatif masculin pluriel : quels, lesquels ?"
ElseIf mot = "quas" Then
Resultat = " Pronom adjectif interrogatif, accusatif féminin singulier : lesquelles ?"
ElseIf mot = "quod" Then
Resultat = " Pronom relatif, nominatif ou accusatif neutre singulier : desquelles ?"
ElseIf Right(mot, 4) = "bunt" Then
Resultat = "Indicatif futur actif, troisième personne du pluriel"
ElseIf Right(mot, 4) = "vero" Then ' attention , cet enregistrement doit passer en priorité
Resultat = "Indicatif futur antérieur actif, première personne du singulier"
ElseIf Right(mot, 4) = "mini" Then
Resultat = "Indicatif présent passif, deuxième personne du pluriel"
ElseIf Right(mot, 4) = "ibus" Then
Resultat = "Datif, ablatif (masculin ou neutre) pluriel, 3ème déclinaison"
ElseIf mot = "sunt" Then
Resultat = "Verbe être, indicatif présent actif, troisième personne du pluriel"
ElseIf Right(mot, 4) = "ntur" Then
Resultat = "Indicatif présent passif, troisième personne du pluriel"
ElseIf Right(mot, 4) = "arum" Then
Resultat = "Génitif féminin pluriel, 1ère déclinaison"
ElseIf Right(mot, 4) = "orum" Then
Resultat = "Génitif (masculin ou neutre) pluriel, 2ème déclinaison"
ElseIf Right(mot, 3) = "tur" Then
Resultat = "Indicatif présent passif, troisième personne du singulier"
ElseIf Right(mot, 3) = "bis" Then
Resultat = "Indicatif futur actif, deuxième personne du singulier"
ElseIf Right(mot, 3) = "bit" Then
Resultat = "Indicatif futur actif, troisième personne du singulier"
ElseIf Right(mot, 3) = "mus" Then
Resultat = "Indicatif présent actif, première personne du pluriel"
ElseIf Right(mot, 3) = "tis" Then
Resultat = "Indicatif présent actif, deuxième personne du pluriel"
ElseIf Right(mot, 3) = "are" Then
Resultat = "Infinitif de la 1ère conjugaison"
ElseIf Right(mot, 3) = "ere" Then
Resultat = "Infinitif de la 2ème ou 3ème conjugaison"
ElseIf Right(mot, 3) = "ire" Then
Resultat = "Infinitif de la 4ème conjugaison"
ElseIf Right(mot, 3) = "ant" Then
Resultat = "Indicatif présent actif, troisième personne du pluriel"
ElseIf Right(mot, 3) = "bam" Then
Resultat = "Indicatif imparfait actif, première personne du singulier"
ElseIf Right(mot, 3) = "bas" Then
Resultat = "Indicatif imparfait actif, deuxième personne du singulier"
ElseIf Right(mot, 3) = "unt" Then
Resultat = "Indicatif présent actif, troisième personne du pluriel"
ElseIf Right(mot, 3) = "bat" Then
Resultat = "Indicatif imparfait actif, troisième personne du singulier"
ElseIf mot = "hic" Then
Resultat = " Pronom adjectif démonstratif, nominatif masculin singulier : celui-ci"
ElseIf mot = "hoc" Then
fctAnalyserLatin - 4
Resultat = " Pronom adjectif démonstratif, accusatif masculin / féminin / neutre singulier : celuici"
ElseIf mot = "hoc" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin / féminin / neutre singulier : celuici"
ElseIf mot = "hoc" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin / féminin / neutre singulier : celuici"
ElseIf mot = "hoc" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin / féminin / neutre singulier : celuici"
ElseIf mot = "hoc" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin / féminin / neutre singulier : celuici"
ElseIf mot = "eum" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin singulier : lui"
ElseIf mot = "eam" Then
Resultat = " Pronom adjectif démonstratif, accusatif féminin singulier : elle"
ElseIf mot = "eos" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin pluriel : eux "
ElseIf mot = "eae" Then
Resultat = " Pronom adjectif démonstratif, nominatif féminin pluriel : elles "
ElseIf mot = "eas" Then
Resultat = " Pronom adjectif démonstratif, accusatif masculin pluriel : elles "
ElseIf mot = "ego" Then
Resultat = " Pronom personnel, nominatif singulier : moi"
ElseIf mot = "eii" Or mot = "iis" Then
Resultat = " Pronom adjectif démonstratif, datif, ablatif, masculin / féminin / neutre pluriel : eu
x "
ElseIf mot = "mei" Then
Resultat = " Pronom personnel, génitif singulier : de moi, à moi"
ElseIf mot = "tui" Then
Resultat = " Pronom personnel, génitif singulier : de toi, à toi"
ElseIf mot = "sui" Then
Resultat = " Pronom personnel réfléchi, génitif singulier : à lui-même"
ElseIf mot = "cui" Then
Resultat = " Pronom adjectif interrogatif ou relatif, datif masculin / neutre singulier : à qui, au
lequel ?"
ElseIf mot = "quo" Then
Resultat = " Pronom adjectif interrogatif ou relatif, ablatif masculin singulier : par qui, par leq
uel ?"
ElseIf mot = "qui" Then
Resultat = " Pronom relatif, nominatif masculin singulier: qui"
ElseIf mot = "qui" Then
Resultat = " Pronom adjectif interrogatif, nominatif masculin pluriel : quels, lesquels ?"
ElseIf mot = "qua" Then
Resultat = " Pronom adjectif interrogatif ou relatif, ablatif féminin singulier : par quelle, par l
aquelle ?"
ElseIf Right(mot, 3) = "ris" Then
Resultat = "Indicatif présent passif, deuxième personne du singulier"
ElseIf Right(mot, 3) = "rit" Then
Resultat = "Indicatif présent passif, trosième personne du singulier"
ElseIf Right(mot, 3) = "mur" Then
Resultat = "Indicatif présent passif, première personne du pluriel"
ElseIf Right(mot, 3) = "vit" Then
Resultat = "Indicatif parfait actif, troisième personne du singulier"
ElseIf Right(mot, 3) = "beris" Then
Resultat = "Indicatif futur passif, deuxième personne du singulier"
ElseIf Right(mot, 3) = "bitur" Then
Resultat = "Indicatif futur passif, troisième personne du singulier"
ElseIf mot = "est" Then
Resultat = "Verbe être, indicatif présent actif, troisième personne du singulier"
ElseIf mot = "sum" Then
Resultat = "Verbe être, indicatif présent actif, premier personne du singulier"
ElseIf Right(mot, 3) = "bor" Then
Resultat = "Indicatif imparfait actif, première personne du singulier"
ElseIf Right(mot, 3) = "vit" Then
Resultat = "Indicatif parfait passif, troisième personne du singulier"
ElseIf Right(mot, 2) = "bo" Then
Resultat = "Indicatif futur actif, première personne du singulier"
ElseIf Right(mot, 2) = "vi" Then
Resultat = "Indicatif parfait actif, première personne du singulier"
ElseIf Right(mot, 2) = "or" Then
Resultat = "Indicatif présent passif, première personne du singulier."
ElseIf mot = "me" Then
Resultat = " Pronom personnel, accusatif ou ablatif singulier : à moi, pour moi"
fctAnalyserLatin - 5
ElseIf mot = "hi" Then
Resultat = " Pronom adjectif démonstratif, nominatif masculin pluriel : ceux-ci"
ElseIf mot = "is" Then
Resultat = " Pronom adjectif démonstratif, nominatif masculin singulier : lui"
ElseIf mot = "tu" Then
Resultat = " Pronom personnel, nominatif ou ablatif singulier : toi"
ElseIf mot = "te" Then
Resultat = " Pronom personnel, accusatif singulier : toi, te"
ElseIf mot = "se" Then
Resultat = " Pronom personnel réfléchi, nominatif ou accusatif (ou ablatif) singulier : lui-même"
ElseIf mot = "ei" Then
Resultat = " Pronom adjectif démonstratif, datif masculin / féminin / neutre singulier : lui OU nom
inatif masculin pluriel"
ElseIf mot = "eo" Then
Resultat = " Pronom adjectif démonstratif, ablatif masculin / neutre singulier : lui"
ElseIf mot = "ea" Then
Resultat = " Pronom adjectif démonstratif, nominatif ou ablatif féminin singulier : elle OU Nominat
if - accusatif neutre pluriel"
ElseIf mot = "id" Then
Resultat = " Pronom adjectif démonstratif, nominatif / accusatif neutre singulier : ce, cet"
ElseIf mot = "ii" Then
Resultat = " Pronom adjectif démonstratif, nominatif masculin pluriel : eux "
ElseIf Right(mot, 2) = "bor" Then
Resultat = "Indicatif futur passif, première personne du singulier"
ElseIf Right(mot, 2) = "vi" Then
Resultat = "Indicatif parfait passif, première personne du singulier"
ElseIf Right(mot, 2) = "nt" Then
Resultat = "Indicatif présent actif, troisième personne du pluriel"
ElseIf Right(mot, 2) = "am" Then
Resultat = "Acusatif féminin singulier, 1ère déclinaison"
ElseIf Right(mot, 2) = "ae" Then
Resultat = "Génitif, datif féminin singulier, 1ère déclinaison / Nominatif, vocatif féminin pluriel
"
ElseIf Right(mot, 2) = "as" Then
Resultat = "Acusatif féminin pluriel, 1ère déclinaison (ou Indicatif présent actif, deuxième person
ne du singulier, 1ère conjugaison)"
ElseIf Right(mot, 2) = "is" Then
Resultat = "Datif, ablatif féminin pluriel, 1ère ou 2ème déclinaison OU Génitif neutre singulier, 3
ème déclinaison"
ElseIf Right(mot, 2) = "us" Then
Resultat = "Nominatif masculin singulier, 2ème déclinaison"
ElseIf Right(mot, 2) = "um" Then
Resultat = "Accusatif masculin singulier, 2ème déclinaison OU Nom, Voc, Acc neutre singulier, 2ème
déclinaison OU Génitif masculin singulier, 3ème déclinaison"
ElseIf Right(mot, 2) = "os" Then
Resultat = "Accusatif masculin pluriel, 2ème déclinaison"
ElseIf mot = "es" Then
Resultat = "Verbe être, indicatif présent actif, deuxième personne du singulier"
ElseIf Right(mot, 2) = "em" Then
Resultat = "Accusatif masculin singulier, 3ème déclinaison"
ElseIf Right(mot, 2) = "es" Then
Resultat = "Nominatif, Vocatif, Accusatif masculin pluriel, 3ème déclinaison"
ElseIf Right(mot, 1) = "a" Then
Resultat = "Nominatif, vocatif, ablatif féminin singulier, 1ère déclinaison OU Nom, Voc, Acc neutre
pluriel, 2ème déclinaison"
ElseIf Right(mot, 1) = "i" Then
Resultat = "Génitif (masculin ou neutre) singulier, OU nominatif, vocatif masculin pluriel - 2ème d
éclinaison OU Datif neutre singulier, 3ème déclinaison"
ElseIf Right(mot, 1) = "e" Then
Resultat = "Vocatif masculin singulier, 2ème déclinaison OU Ablatif neutre singulier, 3ème déclinai
son"
ElseIf Right(mot, 1) = "o" Then
Resultat = "Datif, ablatif (masculin ou neutre) singulier, 2ème déclinaison OU Indicatif présent ac
tif, première personne du singulier."
ElseIf Right(mot, 1) = "s" Then
Resultat = "Indicatif présent actif, deuxième personne du singulier"
ElseIf Right(mot, 1) = "t" Then
Resultat = "Indicatif présent actif, trosième personne du singulier"
Else
Resultat = "Pas d'analyse"
End If
End Function
fctAnalyseSeptante - 1
Public Function AnalyseSeptante(mot) As String
Dim septante$
Dim analyse$
Dim codemot$
Dim pourcodemot$
Dim origine$
Dim file$, ligne$, motr$, mott$
chercher = mot
file = FreeFile
septante = App.Path & "\tools\septante.txt"
frmParse2.Text1.Text = ""
Open septante For Input As #file
Do
Input #file, ligne
If InStr(1, ligne, chercher, vbTextCompare) <> 0 Then
' MsgBox ligne
analyse = Trim(Mid(ligne, Len(mot) + 1, Len(ligne)))
' MsgBox analyse, vbInformation, "Analyse complète"
pourcodemot = InStrRev(analyse, " ", , vbTextCompare)
pourcodemot = Val(pourcodemot)
codemot = Mid(analyse, 1, pourcodemot)
codemot = Trim(codemot)
'MsgBox "Analyse morpho : " & codemot
origine = Mid(analyse, Len(codemot) + 1, Len(analyse))
origine = Trim(origine)
End If
Loop While Not EOF(file)
Close #file
Call AfficherAnalyseSeptante(mot, origine, codemot)
End Function
fctAnalyseVulgate - 1
Public Function AnalyseVulgate(mot)
Dim motr$, mott$
'interrogation internet Words
'If frmBible.cboVersion.Text = "Vulgate" And frmBible.optunbound.Value = True Then
'frmBrowser.cboAddress.Text = "http://lysy2.archives.nd.edu/cgi-bin/words.exe?" & mot
'Exit Function
'interrogation Jeanneau / Collatinus
If frmBible.cboVersion.Text = "Vulgate" Then
frmBrowser.cboAddress.Text = "http://collatinus.fltr.ucl.ac.be/jcoll.php?forme=m:" & mot
frmBrowser.Caption = "Analyse Collatinus - Jeanneau"
End If
' *** autres possibilités
' dictionnaire latinogallicum : http://colet.uchicago.edu/cgi-bin/search2e?headword=" & Mot & "&wor
d=" & Mot & "&CONJUNCT=PHRASE&DISTANCE=3&PROXY=or+fewer&OUTPUT=conc&SYSTEM_DIR=%2Fprojects%2Fartflb
%2Fdatabases%2Fartfl%2Fdicos%2Festienne%2Ffulltext%2FIMAGE%2F
' recherche ancienne latin français : "http://dictionaries.travlang.com/LatinFrench/dict.cgi?query=
" & mot & "& Max = 50"
'If frmBible. Then
' je tente de trouver une définition au mot
' motr = Trim(frmBible.txtPassage.SelText)
' motr = LCase(motr)
' motr = Replace(motr, ".", "")
' motr = Replace(motr, ":", "")
' motr = Replace(motr, ";", "")
' motr = Replace(motr, ",", "")
'
motr = Replace(motr, "!", "")
'
motr = Replace(motr, "?", "")
' Call LatinFrancais(motr, mott)
' je tente de l'analyser
'Call AnalyserLatin(mot, Resultat)
'mot = MsgBox(Resultat & vbCrLf & "Définition : " & mott)
'End If
' interrogation Unbound
'If frmBible.optWeb.Value = True Then
'mot = Replace(mot, "\", "")
'mot = Replace(mot, "j", "s")
'mot = Replace(mot, ")", "")
'mot = Replace(mot, "(", "")
'mot = Replace(mot, "|", "")
'mot = Replace(mot, "=", "")
'mot = Replace(mot, ".", "")
'mot = Replace(mot, ";", "")
'mot = Replace(mot, "$", "")
'mot = Replace(mot, ":", "")
'frmBrowser.cboAddress.Text = "http://www.perseus.tufts.edu/cgi-bin/morphindex?lang=latin&lookup="
& mot
'End If
End Function
fctAnalyseWHStrong - 1
Public Function AnalyseWHStrong(mot)
e
' le texte WH n'est pas adapté à Grenet, alors je mets dans le txtPassage du Grenet
' mais je suis obligé, pour la recherche Strong ou Thayer, de revenir à l'écriture original
' Déclarations
Dim verif1$, verif2$, verif3$
' si l'option Strong est cochée...
If frmBible.chkstrong = True Then
verif1 = Replace(mot, "j", "v")
mot = verif1
verif2 = Replace(mot, "x", "c")
mot = verif2
verif3 = Replace(mot, "q", "y")
mot = verif3
Call AvantLireStrong(mot)
Call LireStrongFrN(mot)
Else
verif1 = Replace(mot, "j", "v")
mot = verif1
verif2 = Replace(mot, "x", "c")
mot = verif2
verif3 = Replace(mot, "q", "y")
mot = verif3
Call AvantLireStrong(mot)
Call LireThayer(mot, reference)
Load frmResultatStrong
frmResultatStrong.Show
frmResultatStrong.txtStrong.Text = Mid(frmParse2.Text1.Text, Len(reference) + 1
, Len(frmParse2.Text1.Text))
frmResultatStrong.Caption = "Thayer's Dictionnary of Greek Words"
End If
End Function
fctAutomatosBHS - 1
Public Function AutomatosBHS(mot)
If mot = "" Then Exit Function
Dim ofile$
Dim lfile%
Dim ligne$
nveaumot = mot
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If InStr(1, ligne, "<") <> 0 And _
InStr(1, ligne, mot) <> 0 Then
repere1 = InStr(1, ligne, ">")
strong = Mid(ligne, 2, repere1 - 2)
Exit Do
End If
Loop While Not EOF(lfile)
Close
'A partir du mot initial, j'ai trouvé le numéro strong
' je cherche donc ce qu'il signifie
' et je le mets toute la définition dans temp2
If strong <> "" Then
mot = strong
Call LireStrongATFrN(mot)
End If
'--------------------------------------------
' maintenant je lis temp2, et je regarde comment le mot a été traduit par Louis Segond
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If InStr(1, ligne, "LSG -") <> 0 Then
Resultat = ligne
Exit Do
End If
Loop While Not EOF(lfile)
Close
'MsgBox (resultat)
On Error Resume Next
frmAutomatos.lblStrong.Caption = strong
repere = InStr(1, Resultat, "LSG -")
Resultat = Mid(Resultat, repere + 6, Len(Resultat))
repere2 = InStr(1, Resultat, ";")
Resultat = Mid(Resultat, 1, repere2 - 1)
Resultat = Replace(Resultat, ";", "")
Resultat = Replace(Resultat, "0", "")
Resultat = Replace(Resultat, "1", "")
Resultat = Replace(Resultat, "2", "")
Resultat = Replace(Resultat, "3", "")
Resultat = Replace(Resultat, "4", "")
Resultat = Replace(Resultat, "5", "")
fctAutomatosBHS - 2
Resultat = Replace(Resultat, "6", "")
Resultat = Replace(Resultat, "7", "")
Resultat = Replace(Resultat, "8", "")
Resultat = Replace(Resultat, "9", "")
frmAutomatos.lblResultat.Caption = Resultat
frmAutomatos.RichTextBox1.ToolTipText = Mid(Resultat, 1, 20) & "..."
frmAutomatos.lblanalyse.Visible = False
frmAutomatos.Line5.Visible = False
frmAutomatos.Label3.Visible = False
frmAutomatos.lblMorpho.Visible = False
End Function
fctAutomatosWH - 1
Public Function AutomatosWH(mot)
If mot = "" Then Exit Function
Dim ofile$
Dim lfile%
Dim ligne$
nveaumot = mot
'If Right(mot, 1) = "j" Then mot = Mid(mot, 1, Len(mot) - 1) + "v"
'mot = Replace(mot, "x", "c")
'mot = Replace(mot, "q", "y")
ofile = App.Path & "\tools\corrwh.txt"
lfile = FreeFile
mot = Replace(mot, "V ", "n ")
mot2 = Replace(mot, "y", "§")
mot3 = Replace(mot, "q", "y")
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
ligne = Trim(ligne)
If InStr(1, ligne, LCase(mot)) <> 0 Or _
InStr(1, ligne, LCase(mot2)) <> 0 Or _
InStr(1, ligne, LCase(mot3)) <> 0 Then
repere1 = InStr(1, ligne, "{")
strong = Mid(ligne, Len(mot) + 1, repere1)
repere3 = InStr(1, strong, "{")
strong = Mid(strong, 1, repere3 - 1)
strong = Trim(strong)
If Len(strong) = 9 Then
strong = Mid(strong, 1, 4)
ElseIf InStr(1, strong, " ") <> 0 Then
strong = Mid(strong, 1, InStr(1, strong, " ") - 1)
End If
complement = Trim(Mid(ligne, Len(mot) + Len(strong) + 2, Len(ligne)))
If InStr(1, complement, " ") <> 0 Then
tempstrong = Mid(complement, 1, InStr(1, complement, " ") - 1)
complement = Mid(complement, InStr(1, complement, " ") + 1, Len(complement))
Exit Do
End If
End If
Loop While Not EOF(lfile)
Close
nstrong = strong
ncomplement = complement
'A partir du mot initial, j'ai trouvé le numéro strong
' je cherche donc ce qu'il signifie
' et je le mets toute la définition dans temp2
If strong <> "" Then
mot = strong
Call LireStrongFrN(strong)
End If
'--------------------------------------------
' maintenant je lis temp2, et je regarde comment le mot a été traduit par Louis Segond
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
fctAutomatosWH - 2
Line Input #lfile, ligne
If InStr(1, ligne, "LSG -") <> 0 Then
Resultat = ligne
Exit Do
End If
Loop While Not EOF(lfile)
Close
On Error Resume Next
'mot = Replace(mot, "1)", "")
If tempstrong <> "" Then
frmAutomatos.lblStrong.Caption = strong & ", temps : " & tempstrong
Else
frmAutomatos.lblStrong.Caption = strong
End If
repere = InStr(1, Resultat, "LSG -")
Resultat = Mid(Resultat, repere + 6, Len(Resultat))
repere2 = InStr(1, Resultat, ";")
Resultat = Mid(Resultat, 1, repere2 - 1)
Resultat = Replace(Resultat, ";", "")
Resultat = Replace(Resultat, "0", "")
Resultat = Replace(Resultat, "1", "")
Resultat = Replace(Resultat, "2", "")
Resultat = Replace(Resultat, "3", "")
Resultat = Replace(Resultat, "4", "")
Resultat = Replace(Resultat, "5", "")
Resultat = Replace(Resultat, "6", "")
Resultat = Replace(Resultat, "7", "")
Resultat = Replace(Resultat, "8", "")
Resultat = Replace(Resultat, "9", "")
frmAutomatos.lblResultat.Caption = Mid(Resultat, 1, 20) & "..."
'If Len(Resultat) > 30 Then
'
Resultat = Mid(frmAutomatos.lblResultat.Caption, 1, 30) & "..."
'
frmAutomatos.RichTextBox1.ToolTipText = Resultat
'End If
frmAutomatos.lblanalyse.Visible = False
complement = Replace(complement, "0", "")
complement = Replace(complement, "1", "")
complement = Replace(complement, "2", "")
complement = Replace(complement, "3", "")
complement = Replace(complement, "4", "")
complement = Replace(complement, "5", "")
complement = Replace(complement, "6", "")
complement = Replace(complement, "7", "")
complement = Replace(complement, "8", "")
complement = Replace(complement, "9", "")
nveaucomplement = complement
Call LireComplement(complement)
If complement = "" Then complement = nveaucomplement & "- ??"
frmAutomatos.Line5.Visible = True
frmAutomatos.Label3.Visible = True
frmAutomatos.lblMorpho.Visible = True
frmAutomatos.lblMorpho.Caption = complement
If InStr(1, complement, "- ??") = 0 Then
frmAutomatos.RichTextBox1.ToolTipText = Mid(Resultat, 1, 20) & "..." & "-" & complement
End If
End Function
fctAvantLireStrong - 1
Option Explicit
Public Function AvantLireStrong(mot)
Dim corrwh$, phrase$, lfile, premierespace, deuxiemeespace, numéro, nstrong$
corrwh = App.Path & "\tools\corrwh.txt"
lfile = FreeFile
Open corrwh For Input As #lfile
Do
Input #lfile, phrase
If Left(phrase, Len(mot)) = mot Then Exit Do
Loop While Not EOF(lfile)
On Error Resume Next
premierespace = InStr(1, phrase, " ", vbTextCompare)
numéro = Trim(Mid(phrase, premierespace, (Len(phrase) + premierespace + deuxiemeespace) - 2))
deuxiemeespace = InStr(1, numéro, " ", vbTextCompare)
nstrong = Left(numéro, Val(deuxiemeespace))
mot = Trim(nstrong)
End Function
fctBhsLxxDefFichier - 1
Public Function BhsLxxDefFichier(livre, chapitre, verset, passage, fichier, finverset)
finverset = ""
If livre = "Genèse" Then
fichier = App.Path & "\modules\parallel\01.Genesis.par"
passage = "Gen " & chapitre & ":" & verset
End If
End Function
fctConcordanceANF - 1
Public Sub ConcordanceANF(recherche)
ofile = App.Path & "\modules\ANF\ANF.txt"
frmZetoGraphe.lstResultat.Visible = True
frmZetoGraphe.lstResultat.Clear
lfile = FreeFile
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
frmZetoGraphe.lstResultat.AddItem (passage)
'frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
'frmZetoGraphe.lsResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
'frmZetoGraphe.lstResultat.List (0)
frmZetoGraphe.Text1.Visible = False
frmZetoGraphe.cboVersion.Clear
frmZetoGraphe.cboVersion.Text = "ANF"
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.txtRecherche.Font = "Times"
frmZetoGraphe.txtRecherche.FontSize = "12"
frmZetoGraphe.Show
End Sub
fctConcordanceAPFG - 1
Public Function ConcordanceAPFG(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
Dim i%
lfile = FreeFile
ofile = App.Path & "\modules\APF\apfg.txt"
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
'frmZetoGraphe.lsResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
'frmZetoGraphe.Show
End Function
fctConcordanceBHS - 1
Public Function ConcordanceBHS(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
Dim i%
lfile = FreeFile
ofile = App.Path & "\modules\BHSv\wtt.txt"
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
'frmZetoGraphe.lsResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.txtRecherche.Font = "Bwhebb"
frmZetoGraphe.txtRecherche.FontSize = "16"
'frmZetoGraphe.Show
End Function
fctConcordanceHomere - 1
Public Function ConcordanceHomere(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
Dim i%
lfile = FreeFile
ofile = App.Path & "\modules\HHG\hhg.txt"
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
'frmZetoGraphe.lsResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.txtRecherche.Font = "Grenet"
frmZetoGraphe.txtRecherche.FontSize = "12"
frmZetoGraphe.Show
End Function
fctConcordanceJF - 1
Public Function ConcordanceFJ(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
Dim i%
lfile = FreeFile
ofile = App.Path & "\modules\JOS\jos.txt"
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
'frmZetoGraphe.lsResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.Show
End Function
fctConcordanceLXX - 1
Public Function ConcordanceLXX(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
frmZetoGraphe.lstResultat.Visible = True
frmZetoGraphe.lstResultat.Clear
Dim i%
lfile = FreeFile
ofile = App.Path & "\modules\LXX\lxx.txt"
recherche = Trim(recherche)
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
'frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
frmZetoGraphe.lstResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.Text1.Visible = False
frmZetoGraphe.cboVersion.Clear
frmZetoGraphe.cboVersion.Text = "LXX"
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.Show
End Function
fctConcordanceTIS - 1
Public Function ConcordanceTIS(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
Dim i%
lfile = FreeFile
ofile = App.Path & "\modules\TIS\tis.txt"
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
'frmZetoGraphe.lsResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.Show
End Function
fctConcordanceWH - 1
Public Function ConcordanceWH(recherche)
Dim ofile$, lfile%
Dim ligne$, passage$
Dim i%
frmZetoGraphe.lstResultat.Visible = True
frmZetoGraphe.lstResultat.Clear
lfile = FreeFile
ofile = App.Path & "\modules\WHpars\wh.txt"
Open ofile For Input As #lfile
On Error GoTo err:
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
premierespace = InStr(1, ligne, ":")
espaceapres = InStr(premierespace, ligne, " ")
passage = Left(ligne, espaceapres)
'frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & passage & vbCrLf
frmZetoGraphe.lstResultat.AddItem (passage)
i = i + 1
End If
Loop While Not EOF(lfile)
err:
Close
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.Text1.Visible = False
frmZetoGraphe.cboVersion.Clear
frmZetoGraphe.cboVersion.Text = "WH+"
frmZetoGraphe.txtRecherche.Font = "Bwgrkn"
frmZetoGraphe.txtRecherche.FontSize = "14"
frmZetoGraphe.Show
End Function
fctCorrigerLectureSeptante - 1
Public Sub CorrigerLectureSeptante(chercher)
Dim ofil, lfil
frmBible.txtPassage.Text = ""
ofil = App.Path & "\tools\septante.txt"
lfil = FreeFile + 3
Open ofil For Input As #lfil
Do
Input #lfil, ligne
If ligne = "" Then
If ligne = chercher Then Exit Sub
GoTo apres:
Else
'MsgBox (ligne)
Dim endroit
endroit = InStr(1, ligne, " ", vbTextCompare)
ligne = Trim(LCase(Mid(ligne, 1, endroit)))
frmBible.txtPassage.Font = "Grenet"
If Right(ligne, 1) = "s" Then
ligne = Mid(ligne, 1, Len(ligne) - 1) & "j"
End If
frmBible.txtPassage.Text = frmBible.txtPassage.Text & ligne & " "
End If
apres:
Exit Sub
End Sub
Loop While Not EOF(lfil)
Close #lfil
fctCorrigerWH - 1
'Option Explicit
Public Function CorrigerWH(texte) As String
ref = frmBible.txtChapitre.Text & ":" & frmBible.txtverset.Text
'texte = Trim(Mid(frmBible.txtPassage.Text, 1, Len(frmBible.txtPassage.Text)))
texte = Mid(texte, Len(ref) + 1, Len(texte))
texte = Trim(texte)
texte = Replace(texte, "}", "}" & vbCrLf, 1)
'If frmBible.cboLivre.Text = "Jean" Then
'remplacement = Mid(remplacement, 1, Len(remplacement))
'End If
corrwh = App.Path & "\tools\corrwh.txt"
lfile = FreeFile
Open corrwh For Output As #lfile
Print #lfile, texte
Close #lfile
frmBible.txtPassage.Text = ""
Open corrwh For Input As #lfile
Do
Line Input #lfile, ligne
If ligne <> "" Then
ligne = Trim(ligne)
reduction = InStr(1, ligne, " ", vbTextCompare)
passage = Left(ligne, reduction)
frmBible.txtPassage.Text = frmBible.txtPassage.Text & passage
If passage = "* " Then
reduction = InStr(1, ligne, "]")
If reduction = 0 Then
reduction = InStr(3, ligne, " ")
End If
passage = Mid(ligne, 1, reduction)
frmBible.txtPassage.Text = frmBible.txtPassage.Text & passage
End If
Else: GoTo suite:
End If
frmBible.txtPassage.Font = "Symbol"
'frmBible.txtPassage = frmBible.txtPassage & passage
suite:
Loop While Not EOF(lfile)
Close
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
=
=
=
=
=
=
=
=
=
=
=
frmBible.txtPassage.Text
Replace(texte, "0", "")
Replace(texte, "1", "")
Replace(texte, "2", "")
Replace(texte, "3", "")
Replace(texte, "4", "")
Replace(texte, "5", "")
Replace(texte, "6", "")
Replace(texte, "7", "")
Replace(texte, "8", "")
Replace(texte, "9", "")
End Function
Public Sub EnlevNombre()
End Sub
fctCreerPassage - 1
Public Function CreerPassage(version, livre, chapitre, verset, chercher) As String
If Val(chapitre) < 10 Then
chapitre = "0" & chapitre
End If
If Val(verset) < 10 Then
verset = "0" & verset
End If
'Gv. 01-01
If version = "NT grec ancien" And _
livre = "Matthieu" Then
chercher = "Mt. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Marc" Then
chercher = "Mc. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Luc" Then
chercher = "Lc. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Jean" Then
chercher = "Gv. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Actes" Then
chercher = "At. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Romains" Then
chercher = "Rm. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "1 Corinthiens" Then
chercher = "XCor. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "2 Corinthiens" Then
chercher = "X2Cor. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Galates" Then
chercher = "Gal.
" & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Ephésiens" Then
chercher = "Ef. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Philippiens" Then
chercher = "Fil. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Colossiens" Then
chercher = "Col. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "1 Thessaloniciens" Then
chercher = "XTs. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "2 Thessaloniciens" Then
chercher = "X2Ts. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "1 Timothée" Then
chercher = "XTm. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "2 Timothée" Then
chercher = "X2Tm. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Tite" Then
chercher = "Tito " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Philémon" Then
chercher = "Filem. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Hébreux" Then
chercher = "Ebr. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Jacques" Then
chercher = "Giac. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "1 Pierre" Then
chercher = "X1Pt. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "2 Pierre" Then
chercher = "X2Pt. " & chapitre & "-" & verset & " "
fctCreerPassage - 2
ElseIf version = "NT grec ancien" And _
livre = "1 Jean" Then
chercher = "X1Gv. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "2 Jean" Then
chercher = "X2Gv. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "3 Jean" Then
chercher = "X3Gv. " & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Jude" Then
chercher = "Gd.
" & chapitre & "-" & verset & " "
ElseIf version = "NT grec ancien" And _
livre = "Révélation" Then
chercher = "Ap.
" & chapitre & "-" & verset & " "
End If
End Function
fctCreerPassageAutres - 1
Public Function CreerPassageAutres(version, livre, chapitre, verset, chercher) As String
If version = "Louis Segond" And _
livre = "Genèse" Then
chercher = "Gen" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Exode" Then
chercher = "Exo" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Lévitique" Then
chercher = "Lev" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Nombres" Then
chercher = "Nom" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Deutéronome" Then
chercher = "Deu" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Josué" Then
chercher = "Jos" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Juges" Then
chercher = "Jug" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Ruth" Then
chercher = "Rut" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Samuel" Then
chercher = "Unsam" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Samuel" Then
chercher = "Deusam" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Rois" Then
chercher = "Unroi" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Rois" Then
chercher = "Deuroi" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Chroniques" Then
chercher = "Unchr" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Chroniques" Then
chercher = "Deuchr" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Esdras" Then
chercher = "Esd" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Néhémie" Then
chercher = "Neh" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Esther" Then
chercher = "Est" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Job" Then
chercher = "Job" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
fctCreerPassageAutres - 2
livre = "Psaumes" Then
chercher = "Psa" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Proverbes" Then
chercher = "Pro" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Ecclésiaste" Then
chercher = "Ecc" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Cantique des cantiques" Then
chercher = "Can" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Esaïe" Then
chercher = "Esa" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Jérémie" Then
chercher = "Jer" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Lamentations" Then
chercher = "Lam" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Ezéchiel" Then
chercher = "Eze" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Daniel" Then
chercher = "Dan" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Osée" Then
chercher = "Ose" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Joël" Then
chercher = "Joe" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Amos" Then
chercher = "Amo" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Abdias" Then
chercher = "Abd" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Jonas" Then
chercher = "Jon" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Michée" Then
chercher = "Mic" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Habaquq" Then
chercher = "Hab" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Sophonie" Then
chercher = "Sop" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Aggée" Then
chercher = "Agg" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Nahoum" Then
chercher = "Nah" & "-" & chapitre & "-" & verset & "-"
fctCreerPassageAutres - 3
ElseIf version = "Louis Segond" And _
livre = "Zacharie" Then
chercher = "Zac" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Malachie" Then
chercher = "Mal" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Jonas" Then
chercher = "Jon" & "-" & chapitre & "-" & verset & "-"
ElseIf version = "Louis Segond" And _
livre = "Matthieu" Then
chercher = "Mt" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Marc" Then
chercher = "Mc" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Luc" Then
chercher = "Lc" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Jean" Then
chercher = "Jn" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Actes" Then
chercher = "Ac" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Romains" Then
chercher = "Rm" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Corinthiens" Then
chercher = "UnCo" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Corinthiens" Then
chercher = "DeuxCo" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Galates" Then
chercher = "Gal" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Ephésiens" Then
chercher = "Ep" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Philippiens" Then
chercher = "Ph" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Colossiens" Then
chercher = "Co" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Thessaloniciens" Then
chercher = "Unthes" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Thessaloniciens" Then
chercher = "Deuxthes" & chapitre & verset
fctCreerPassageAutres - 4
ElseIf version = "Louis Segond" And _
livre = "1 Timothée" Then
chercher = "Unth" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Timothée" Then
chercher = "Deuxth" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Tite" Then
chercher = "Tite" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Philémon" Then
chercher = "Fil" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Hébreux" Then
chercher = "Heb" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Jacques" Then
chercher = "Jac" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Pierre" Then
chercher = "Unpi" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Pierre" Then
chercher = "Deuxpi" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "1 Jean" Then
chercher = "Unjn" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "2 Jean" Then
chercher = "Deuxjn" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "3 Jean" Then
chercher = "Troisjn" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Jude" Then
chercher = "Jude" & chapitre & verset
ElseIf version = "Louis Segond" And _
livre = "Révélation" Then
chercher = "Ap" & chapitre & verset
End If
End Function
fctCreerPassagesgreek - 1
Public Function CreerPassagesgreek(version, livre, chapitre, verset, chercher)
If Val(chapitre) < 10 Then
chapitre = "0" & chapitre
End If
If Val(verset) < 10 Then
verset = "0" & verset
End If
'Gv. 01-01
If version = "NT UBS" And _
livre = "Matthieu" Then
chercher = "Mt. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Marc" Then
chercher = "Mc. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Luc" Then
chercher = "Lc. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Jean" Then
chercher = "Jean " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Actes" Then
chercher = "At. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Romains" Then
chercher = "Rm. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "1 Corinthiens" Then
chercher = "Unco " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "2 Corinthiens" Then
chercher = "Deuxco " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Galates" Then
chercher = "Gal.
" & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Ephésiens" Then
chercher = "Ef. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Philippiens" Then
chercher = "Fil. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Colossiens" Then
chercher = "Col. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "1 Thessaloniciens" Then
chercher = "Unthes " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "2 Thessaloniciens" Then
chercher = "Deuxthes " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "1 Timothée" Then
chercher = "Unth " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "2 Timothée" Then
chercher = "Deuxth " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Tite" Then
chercher = "Tito " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Philémon" Then
chercher = "XFil " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Hébreux" Then
chercher = "Ebr. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Jacques" Then
chercher = "Giac. " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "1 Pierre" Then
chercher = "Unpi" & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "2 Pierre" Then
chercher = "Deuxpi" & chapitre & "-" & verset & " "
fctCreerPassagesgreek - 2
'[1Jean 01-01 ]
ElseIf version = "NT UBS" And _
livre = "1 Jean" Then
chercher = "Unjean " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "2 Jean" Then
chercher = "Deuxjean " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "3 Jean" Then
chercher = "Troisjean " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Jude" Then
chercher = "Jude " & chapitre & "-" & verset & " "
ElseIf version = "NT UBS" And _
livre = "Révélation" Then
chercher = "Ap.
" & chapitre & "-" & verset & " "
End If
End Function
fctCreerPassageVulgate - 1
Public Function CreerPassageVulgate(version, livre, chapitre, verset, chercher) As String
If version = "Vulgate" And _
livre = "Matthieu" Then
chercher = "Mt" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Marc" Then
chercher = "Mc" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Luc" Then
chercher = "Lc" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Jean" Then
chercher = "Jn" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Actes" Then
chercher = "Ac" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Romains" Then
chercher = "Rm" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "1 Corinthiens" Then
chercher = "UnCo" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "2 Corinthiens" Then
chercher = "DeuxCo" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Galates" Then
chercher = "Gal" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Ephésiens" Then
chercher = "Ep" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Philippiens" Then
chercher = "Ph" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Colossiens" Then
chercher = "Col" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "1 Thessaloniciens" Then
chercher = "Unthes" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "2 Thessaloniciens" Then
chercher = "Deuxthes" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "1 Timothée" Then
chercher = "Unti" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "2 Timothée" Then
chercher = "Deuxti" & chapitre & verset
fctCreerPassageVulgate - 2
ElseIf version = "Vulgate" And _
livre = "Tite" Then
chercher = "Tite" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Philémon" Then
chercher = "Fil" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Hébreux" Then
chercher = "Heb" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Jacques" Then
chercher = "Jac" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "1 Pierre" Then
chercher = "Unpi" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "2 Pierre" Then
chercher = "Deuxpi" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "1 Jean" Then
chercher = "Unjn" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "2 Jean" Then
chercher = "Deuxjn" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "3 Jean" Then
chercher = "Troisjn" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Jude" Then
chercher = "Jude" & chapitre & verset
ElseIf version = "Vulgate" And _
livre = "Révélation" Then
chercher = "Ap" & chapitre & verset
End If
End Function
fctCreerPassageWHpars - 1
Public Function CreerPassageWHpars(version, livre, chapitre, verset, chercher, fichier, chap)
Dim passage$, ligne$, ligne2$, ligne3$
If version = "W/H & Strong" And _
livre = "Matthieu" Then
'[1:1]
chercher = "mat" & chapitre & "-" & verset
fichier = fichier & "mt.txt"
chap = "mat"
ElseIf version = "W/H & Strong" And _
livre = "Marc" Then
chercher = "marc" & chapitre & "-" & verset
fichier = fichier & "mr.txt"
chap = "mar"
ElseIf version = "W/H & Strong" And _
livre = "Luc" Then
chercher = "luc" & chapitre & "-" & verset
fichier = fichier & "lu.txt"
chap = "luc"
ElseIf version = "W/H & Strong" And _
livre = "Jean" Then
chercher = "jean" & chapitre & "-" & verset
fichier = fichier & "joh.txt"
chap = "jea"
ElseIf version = "W/H & Strong" And _
livre = "Actes" Then
chercher = "actes" & chapitre & "-" & verset
fichier = fichier & "ac.txt"
chap = "act"
ElseIf version = "W/H & Strong" And _
livre = "Romains" Then
chercher = "romains" & chapitre & "-" & verset
fichier = fichier & "ro.txt"
chap = "rom"
ElseIf version = "W/H & Strong" And _
livre = "1 Corinthiens" Then
chercher = "1corinthiens" & chapitre & "-" & verset
fichier = fichier & "1co.txt"
chap = "1co"
ElseIf version = "W/H & Strong" And _
livre = "2 Corinthiens" Then
chercher = "2corinthiens" & chapitre & "-" & verset
fichier = fichier & "2co.txt"
chap = "2co"
ElseIf version = "W/H & Strong" And _
livre = "Galates" Then
chercher = "galates" & chapitre & "-" & verset
fichier = fichier & "ga.txt"
chap = "gal"
ElseIf version = "W/H & Strong" And _
livre = "Ephésiens" Then
chercher = "ephesiens" & chapitre & "-" & verset
fichier = fichier & "eph.txt"
chap = "eph"
ElseIf version = "W/H & Strong" And _
livre = "Philippiens" Then
chercher = "philippiens" & chapitre & "-" & verset
fichier = fichier & "php.txt"
chap = "phi"
ElseIf version = "W/H & Strong" And _
livre = "Colossiens" Then
chercher = "colossiens" & chapitre & "-" & verset
fichier = fichier & "col.txt"
fctCreerPassageWHpars - 2
chap = "col"
ElseIf version = "W/H & Strong" And _
livre = "1 Thessaloniciens" Then
chercher = "1thessaloniciens" & chapitre & "-" & verset
fichier = fichier & "1th.txt"
chap = "1th"
ElseIf version = "W/H & Strong" And _
livre = "2 Thessaloniciens" Then
chercher = "2thessaloniciens" & chapitre & "-" & verset
fichier = fichier & "2th.txt"
chap = "2th"
ElseIf version = "W/H & Strong" And _
livre = "1 Timothée" Then
chercher = "1timothée" & chapitre & "-" & verset
fichier = fichier & "1ti.txt"
chap = "1ti"
ElseIf version = "W/H & Strong" And _
livre = "2 Timothée" Then
chercher = "2timothée" & chapitre & "-" & verset
fichier = fichier & "2ti.txt"
chap = "2ti"
ElseIf version = "W/H & Strong" And _
livre = "Tite" Then
chercher = "tite" & chapitre & "-" & verset
fichier = fichier & "tit.txt"
chap = "tit"
ElseIf version = "W/H & Strong" And _
livre = "Philémon" Then
chercher = "philemon" & chapitre & "-" & verset
fichier = fichier & "phm.txt"
chap = "phi"
ElseIf version = "W/H & Strong" And _
livre = "Hébreux" Then
chercher = "hebreux" & chapitre & "-" & verset
fichier = fichier & "heb.txt"
chap = "heb"
ElseIf version = "W/H & Strong" And _
livre = "Jacques" Then
chercher = "jacques" & chapitre & "-" & verset
fichier = fichier & "jas.txt"
chap = "jac"
ElseIf version = "W/H & Strong" And _
livre = "1 Pierre" Then
chercher = "1pierre" & chapitre & "-" & verset
fichier = fichier & "1pe.txt"
chap = "1pi"
ElseIf version = "W/H & Strong" And _
livre = "2 Pierre" Then
chercher = "2pierre" & chapitre & "-" & verset
fichier = fichier & "2pe.txt"
chap = "2pi"
ElseIf version = "W/H & Strong" And _
livre = "1 Jean" Then
chercher = "1jean" & chapitre & "-" & verset
fichier = fichier & "1jo.txt"
chap = "1je"
ElseIf version = "W/H & Strong" And _
livre = "2 Jean" Then
chercher = "2jean" & chapitre & "-" & verset
fichier = fichier & "2jo.txt"
chap = "2je"
fctCreerPassageWHpars - 3
ElseIf version = "W/H & Strong" And _
livre = "3 Jean" Then
chercher = "3jean" & chapitre & "-" & verset
fichier = fichier & "3jo.txt"
chap = "3je"
ElseIf version = "W/H & Strong" And _
livre = "Jude" Then
chercher = "jude" & chapitre & "-" & verset
fichier = fichier & "jude.txt"
chap = "jud"
ElseIf version = "W/H & Strong" And _
livre = "Révélation" Then
chercher = "revelation" & chapitre & "-" & verset
fichier = fichier & "re.txt"
chap = "rev"
End If
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
ofile = App.Path & fichier
lfile = FreeFile + 10
frmBible.lbltampon.Text = ""
On Error GoTo erreur:
Open ofile For Input As #lfile
Do
'lecture
Line Input #lfile, ligne
If Mid(ligne, 1, Len(chercher)) = chercher Then ' pour que le verset recherché soit exact
'affectation du verset du fichier à la variable
frmBible.lbltampon.Text = frmBible.lbltampon.Text & Mid(ligne, Len(chercher) + 1, Len(ligne))
Do
Line Input #lfile, ligne
If Left(ligne, 3) = chap Then 'Left(ligne, 3 + Len(chapitre) + 1 + Len(verset)) = chap & ch
apitre & "-" & Val(verset) + 1 Then
GoTo apres:
Else
frmBible.lbltampon.Text = frmBible.lbltampon.Text & " " & ligne
' MsgBox frmBible.lbltampon.Text, , "lbltampon"
End If
Loop 'While Left(ligne, Len(chercher)) <> "mat" & chapitre & "-" & Val(verset) + 1
End If
Loop While Not EOF(lfile) 'While Left(ligne, Len(chercher)) <> "mat" & chapitre & "-" & Val(verset)
+ 1
apres:
'MsgBox frmBible.lbltampon.Text
frmBible.txtPassage.Text = Trim(frmBible.lbltampon.Text)
Close #lfile
frmBible.lblchapitre.Caption = frmBible.cboLivre.Text & " " & frmBible.txtChapitre & " : " & frmBib
le.txtverset.Text
frmBible.lblprecedent.Visible = True
frmBible.lblsuivant.Visible = True
erreur:
Dim msg$
If err.Number = 76 Then
frmBible.cboLivre = "Matthieu"
frmBible.txtChapitre = "1"
frmBible.txtverset = "1"
'msg = MsgBox("Le texte de Wescott & Hort contient le Nouveau Testament. Cette opération n'est pas
possible", vbInformation, "Erreur")
Exit Function
End If
End Function
fctDefFichierSeptante - 1
Public Function DefFichierSeptante(livre, fichierseptante)
If livre = "Genèse" Then
fichierseptante = "01_Gen.mlxx"
ElseIf livre = "Exode" Then
fichierseptante = "03_Exod.mlxx"
ElseIf livre = "Lévitique" Then
fichierseptante = "04_Lev.mlxx"
ElseIf livre = "Nombres" Then
fichierseptante = "05_Num.mlxx"
ElseIf livre = "Deutéronome" Then
fichierseptante = "06_Deut.mlxx"
ElseIf livre = "Josué" Then
fichierseptante = "07_Josh.mlxx"
ElseIf livre = "Juges" Then
fichierseptante = "09_Judges.mlxx"
ElseIf livre = "Ruth" Then
fichierseptante = "11_Ruth.mlxx"
ElseIf livre = "1 Samuel" Then
fichierseptante = "12_1Sam.mlxx"
ElseIf livre = "2 Samuel" Then
fichierseptante = "13_2Sam.mlxx"
ElseIf livre = "1 Rois" Then
fichierseptante = "14_1Kings.mlxx"
ElseIf livre = "2 Rois" Then
fichierseptante = "15_2Kings.mlxx"
ElseIf livre = "1 Chroniques" Then
fichierseptante = "16_1Chron.mlxx"
ElseIf livre = "2 Chroniques" Then
fichierseptante = "17_2Chron.mlxx"
ElseIf livre = "Esdras" Then
fichierseptante = "Esdras.mlxx"
ElseIf livre = "Néhémie" Then
fichierseptante = "Nehemie.mlxx"
ElseIf livre = "Esther" Then
fichierseptante = "20_Esther.mlxx"
ElseIf livre = "Judith" Then
fichierseptante = "21_Judith.mlxx"
ElseIf livre = "Tobie" Then
fichierseptante = "22_TobitBA.mlxx"
ElseIf livre = "1 Maccabées" Then
fichierseptante = "24_1Macc.mlxx"
ElseIf livre = "2 Maccabées" Then
fichierseptante = "25_2Macc.mlxx"
ElseIf livre = "3 Maccabées" Then
fichierseptante = "26_3Macc.mlxx"
ElseIf livre = "4 Maccabées" Then
fichierseptante = "27_4Macc.mlxx"
ElseIf livre = "Psaumes" Then
fichierseptante = "Psaumes.mlxx"
ElseIf livre = "Odes" Then
fichierseptante = "30_Odes.mlxx"
ElseIf livre = "Proverbes" Then
fichierseptante = "31_Proverbs.mlxx"
ElseIf livre = "Ecclésiaste" Then
fichierseptante = "32_Qoheleth.mlxx"
ElseIf livre = "Cantique des cantiques" Then
fichierseptante = "33_Canticles.mlxx"
ElseIf livre = "Job" Then
fichierseptante = "34_Job.mlxx"
ElseIf livre = "Sagesse" Then
fichierseptante = "35_Wisdom.mlxx"
ElseIf livre = "Siracides" Then
fichierseptante = "36_Sirach.mlxx"
ElseIf livre = "Psaumes de Salomon" Then
fichierseptante = "37_PsSol.mlxx"
ElseIf livre = "Osée" Then
fichierseptante = "38_Hosea.mlxx"
ElseIf livre = "Amos" Then
fichierseptante = "40_Amos.mlxx"
ElseIf livre = "Micah" Then
fichierseptante = "39_Micah.mlxx"
ElseIf livre = "Joël" Then
fichierseptante = "41Joel.mlxx"
ElseIf livre = "Jonas" Then
fichierseptante = "42_Jonah.mlxx"
fctDefFichierSeptante - 2
ElseIf livre = "Nahum" Then
fichierseptante = "44_Nahum.mlxx"
ElseIf livre = "Habbacuc" Then
fichierseptante = "45_Habakkuk.mlxx"
ElseIf livre = "Sophonie" Then
fichierseptante = "46_Zeph.mlxx"
ElseIf livre = "Aggée" Then
fichierseptante = "47_Haggai.mlxx"
ElseIf livre = "Zacharie" Then
fichierseptante = "48_Zech.mlxx"
ElseIf livre = "Malachie" Then
fichierseptante = "49_Malachi.mlxx"
ElseIf livre = "Isaïe" Then
fichierseptante = "50_Isaiah.mlxx"
ElseIf livre = "Jérémie" Then
fichierseptante = "52_Jer.mlxx"
ElseIf livre = "Baruch" Then
fichierseptante = "54_Baruch.mlxx"
ElseIf livre = "Lamentations" Then
fichierseptante = "56_Lam.mlxx"
ElseIf livre = "Epître de Jérémie" Then
fichierseptante = "55_EpJer.mlxx"
ElseIf livre = "Ezékiel" Then
fichierseptante = "57_Ezek.mlxx"
ElseIf livre = "Susanna" Then
fichierseptante = "64_SusTh.mlxx"
ElseIf livre = "Daniel" Then
fichierseptante = "61_Daniel.mlxx"
ElseIf livre = "Bel et Draco" Then
fichierseptante = "59_BelOG.mlxx"
'
End If
End Function
fctDefinirFrancais - 1
Option Explicit
Public Function DefinirFrancais(motr, mott) As String
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
Dim Grec As String '1ère ligne
Dim francais As String ' 2ème ligne
Dim valeur ' valeur de renvoi de la fonction StrComp
ofile = App.Path & "\tools\lexiquegr.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do 'début de boucle
Input #lfile, Grec, francais
valeur = StrComp(motr, francais, vbTextCompare)
If valeur = 0 Then
mott = Grec
End If
Loop Until EOF(lfile)
Close #lfile
If mott = "" Then
mott = "Pas de définition disponible"
End If
End Function
fctDefinirGrec - 1
Option Explicit
Public Function DefinirGrec(motr, mott) As String
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
Dim Grec As String '1ère ligne
Dim francais As String ' 2ème ligne
Dim valeur ' valeur de renvoi de la fonction StrComp
Dim ligne
ofile = App.Path & "\tools\lexiquegr.txt"
lfile = FreeFile
motr = Replace(motr, "c", "x")
Open ofile For Input As #lfile
mott = ""
Do 'début de boucle
Line Input #lfile, ligne
ligne = LCase(ligne)
If Mid(ligne, 1, Len(motr)) = motr Then
mott = Trim(Mid(ligne, Len(motr) + 1, Len(ligne)))
Exit Do
End If
'If LCase(motr) = LCase(Grec) Then _
'mott = francais
'valeur = StrComp(motr, Grec, vbTextCompare)
' If valeur = 0 And valeur = -1 Then _
'mott = francais
Loop Until EOF(lfile)
Close #lfile
mott = Trim(mott)
mott = Replace(mott, Chr$(34), "")
mott = Replace(mott, "
", "")
mott = Mid(mott, 2, Len(mott))
If mott = "" Then
mott = "Pas de définition disponible"
End If
mott = Replace(mott, "*", ";")
mott = Replace(mott, "~", ",")
End Function
fctDeflechirHebreu - 1
Public Function DeflechirHebreu(recherche)
If Right(recherche, 1) = "w" Then
recherche = Mid(recherche, 1, Len(recherche) - 1)
End If
End Function
fctDeflechirMot - 1
Option Explicit
Public Function DeflechirMot(motadeflechir, motdeflechi, Resultat, enlever, enleverg) As String
Dim motr$, mott$, verbeenmi As Boolean, msg$
If motadeflechir = "" Then
Exit Function
End If
If Len(motadeflechir) < 4 Then
motdeflechi = motadeflechir
End If
If motadeflechir = "eimi" Or _
motadeflechir = "ei" Or _
motadeflechir = "esti" Or _
motadeflechir = "esmen" Or _
motadeflechir = "este" Or _
motadeflechir = "hn" Or _
motadeflechir = "eisi" Then
motdeflechi = motadeflechir
End If
If motadeflechir = "h" Or _
motadeflechir = "thn" Or _
motadeflechir = "thj" Or _
motadeflechir = "th" Or _
motadeflechir = "ai" Or _
motadeflechir = "tai" Or _
motadeflechir = "twn" Or _
motadeflechir = "taij" Or _
motadeflechir = "o" Or _
motadeflechir = "ton" Or _
motadeflechir = "tou" Or _
motadeflechir = "tw" Or _
motadeflechir = "oi" Or _
motadeflechir = "touj" Or _
motadeflechir = "toij" Or _
motadeflechir = "ta" Then
motdeflechi = motadeflechir
End If
' pour le PQP
If InStr(1, Resultat, "plus-que-parfait", vbTextCompare) <> 0 And _
Left(motadeflechir, 2) = "e)" Then
motdeflechi = Mid(motadeflechir, enleverg + 1, Len(motadeflechir) - (enlever + 4)) + "w"
' pour le parfait
ElseIf InStr(1, Resultat, "Indicatif parfait", vbTextCompare) <> 0 Then
motdeflechi = Mid(motadeflechir, enleverg + 1, Len(motadeflechir) - (enlever + 2)) + "w"
' pour l'aoriste
ElseIf Right(motadeflechir, 2) = "sa" Or _
Right(motadeflechir, 3) = "saj" Or _
Right(motadeflechir, 2) = "se" Or _
Right(motadeflechir, 5) = "samen" Or _
Right(motadeflechir, 4) = "sete" Or _
Right(motadeflechir, 3) = "san" Then
motdeflechi = Mid(motadeflechir, enleverg + 1, Len(motadeflechir))
'motdeflechi = Mid(motdeflechi, 1, Len(motdeflechi) - (enlever)) + "w"
' pour l'imparfait
ElseIf InStr(1, Resultat, "Indicatif imparfait", vbTextCompare) <> 0 And Len(motadeflechir) > 2 The
n
motdeflechi = Mid(motadeflechir, enleverg + 1, Len(motadeflechir) - (enlever + 2)) + "w"
' noms 2eme déclinaison
ElseIf InStr(1, Resultat, "2ème déclinaison", vbTextCompare) <> 0 Then
motdeflechi = (Mid(motadeflechir, 1, Len(motadeflechir) - Val(enlever)) + "oj")
' verbes en -w réguliers : VOIE MOYENNE
ElseIf Right(motadeflechir, 3) = "mai" Or _
Right(motadeflechir, 3) = "sai" Or _
Right(motadeflechir, 3) = "tai" Or _
Right(motadeflechir, 3) = "sai" Then
motdeflechi = (Mid(motadeflechir, 1, Len(motadeflechir) - Val(enlever)) + "w")
fctDeflechirMot - 2
' nom 1ère déclinaison a/as
ElseIf InStr(1, Resultat, "1ère déclinaison", vbTextCompare) <> 0 And _
Right(motadeflechir, 1) = "a" Or _
Right(motadeflechir, 2) = "aj" Or _
Right(motadeflechir, 2) = "a|" Or _
Right(motadeflechir, 2) = "ai" And motadeflechir <> "kai" Or _
Right(motadeflechir, 3) = "w=n" Or _
Right(motadeflechir, 2) = "wn" Or _
Right(motadeflechir, 3) = "aij" Then
motdeflechi = (Mid(motadeflechir, 1, Len(motadeflechir) - Val(enlever)) + "a")
' nom 1ère déclinaison h/hj
ElseIf InStr(1, Resultat, "1ère déclinaison", vbTextCompare) <> 0 And _
Right(motadeflechir, 1) = "h" Or _
Right(motadeflechir, 2) = "hn" And motadeflechir <> "hn" Or _
Right(motadeflechir, 2) = "hj" Or _
Right(motadeflechir, 2) = "h|" Or _
Right(motadeflechir, 3) = "h=|" Or _
Right(motadeflechir, 2) = "h/" Or _
Right(motadeflechir, 3) = "h/n" Or _
Right(motadeflechir, 3) = "h=j" Or _
Right(motadeflechir, 3) = "ai/" Or _
Right(motadeflechir, 3) = "a/j" Or _
Right(motadeflechir, 4) = "ai=j" Then
motdeflechi = (Mid(motadeflechir, 1, Len(motadeflechir) - Val(enlever)) + "h")
' pour le présent des verbes réguliers en -w
ElseIf InStr(1, Resultat, "Indicatif présent", vbTextCompare) <> 0 And verbeenmi = False And InStr(
1, Resultat, "être", vbTextCompare) <> 7 Then
motdeflechi = Mid(motadeflechir, 1, (Len(motadeflechir) - Val(enlever))) + "w"
Else
motdeflechi = motadeflechir
End If
End Function
fctDiaglott - 1
Public Function Diaglott(livre, chapitre, verset)
Dim aouvrir$, lfile, ligne$, livret$
Dim ligne2$, nlivre$
If livre = "Matthieu" Then
nlivre = "Matthew"
ElseIf livre = "Marc" Then
nlivre = "Mark"
ElseIf livre = "Luc" Then
nlivre = "Luke"
ElseIf livre = "Jean" Then
nlivre = "John"
ElseIf livre = "Actes" Then
nlivre = "Acts"
ElseIf livre = "Romains" Then
nlivre = "Romans"
ElseIf livre = "1 Corinthiens" Then
nlivre = "1 Corinthians"
ElseIf livre = "2 Corinthiens" Then
nlivre = "2 Corinthians"
ElseIf livre = "Galates" Then
nlivre = "Galatians"
ElseIf livre = "Ephésiens" Then
nlivre = "Ephesians"
ElseIf livre = "Philippiens" Then
nlivre = "Phillippians"
ElseIf livre = "Colossiens" Then
nlivre = "Colossians"
ElseIf livre = "1 Thessaloniciens" Then
nlivre = "1 Thessalonians"
ElseIf livre = "2 Thessaloniciens" Then
nlivre = "2 Thessalonians"
ElseIf livre = "1 Timothée" Then
nlivre = "1 Timothy"
ElseIf livre = "2 Timothée" Then
nlivre = "2 Timothy"
ElseIf livre = "Tite" Then
nlivre = "Titus"
ElseIf livre = "Philémon" Then
nlivre = "Philemon"
ElseIf livre = "Hébreux" Then
nlivre = "Hebrews"
ElseIf livre = "Jacques" Then
nlivre = "James"
ElseIf livre = "1 Pierre" Then
nlivre = "1 Peter"
ElseIf livre = "2 Pierre" Then
nlivre = "2 Peter"
ElseIf livre = "1 Jean" Then
nlivre = "1 John"
ElseIf livre = "2 Jean" Then
nlivre = "2 John"
fctDiaglott - 2
ElseIf livre = "3 Jean" Then
nlivre = "3 John"
ElseIf livre = "Jude" Then
nlivre = "Jude"
ElseIf livre = "Révélation" Then
nlivre = "Revelation"
End If
If nlivre <> "Jude" Then
recherche = nlivre & " " & chapitre & ":" & verset & " "
ElseIf nlivre = "Jude" Then
recherche = nlivre & " " & verset & " "
End If
aouvrir = App.Path & "\modules\Diaglott\Diaglott.txt"
lfile = FreeFile
frmBible.txtPassage.Text = ""
Open aouvrir For Input As #lfile
On Error GoTo erreur:
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Do
Line Input #lfile, ligne
If InStr(1, ligne, "1:") <> 0 Or _
InStr(1, ligne, "2:") <> 0 Or _
InStr(1, ligne, "3:") <> 0 Or _
InStr(1, ligne, "4:") <> 0 Or _
InStr(1, ligne, "5:") <> 0 Or _
InStr(1, ligne, "6:") <> 0 Or _
InStr(1, ligne, "7:") <> 0 Or _
InStr(1, ligne, "8:") <> 0 Or _
InStr(1, ligne, "9:") <> 0 Or _
InStr(1, ligne, "Jude") <> 0 Then
Exit Do
Else
frmBible.txtPassage.Text = frmBible.txtPassage.Text & " " & ligne
End If
Loop
End If
Loop While Not EOF(lfile)
erreur:
Close
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
frmBible.Caption = "The Emphatic Diaglott, Benjamin Wilson [1942]"
End Function
fctDicoNomsCommunsetPropres - 1
Public Function DicoNomsCommunsetPropres(mot) As String
Dim diconc$, diconp$
Dim ofile
Dim texte$
Dim result$, recherche$
diconc = App.Path & "modules\dictionnaires\dicosfr\diconc.txt"
diconp = App.Path & "modules\dictionnaires\dicosfr\diconp.txt"
lfile = FreeFile
result = ""
recherche = mot & " /"
Open diconc For Input As #lfile
Do
Input #lfile, texte
If Mid(texte, 1, Len(recherche)) = recherche Then
result = texte
End If
Loop While Not EOF(lfile)
MsgBox result
End Function
fctDoubleCliqueMP - 1
Public Function DoubleCliqueMP(mot, livre)
Dim Resultat As Variant, motadeflechir$, msg, motdeflechi$, enlever, enleverg, mott$, motr$, i As I
nteger, ligne2$, code$, origine$, ssdebut$, msg2%, chercher$, nouveau$, un%, deux%, trois%
Dim action, textes$, nombre%, thayer$, motorginal$
motoriginal = mot
' NEG+
If frmBible.cboVersion.Text = "NEG+" Or frmBible.cboVersion.Text = "LSG+" Then
Call LireStrongNEG(mot)
Exit Function
End If
' Texte Massorétique
If frmBible.cboVersion.Text = "TM" Then
Load frmDicoHebreu
valinstr = InStr(1, mot, "-", vbTextCompare)
If valinstr <> 0 Then mot = Mid(mot, 1, valinstr - 1)
If Right(mot, 1) = "w" Then mot = Mid(mot, 1, Len(mot) - 1) ' très très peu de mots hébreux com
mençent par vav, voir DHAB, p.106
frmDicoHebreu.Show
frmDicoHebreu.txtHebreu.Text = mot
Exit Function
End If
'-------------------------------------------------------------------------------------'NA-26
If frmBible.cboVersion.Text = "NA26+" Then
Load frmLexiqueNT
frmLexiqueNT.txtGrec.Text = mot
frmLexiqueNT.Show
frmLexiqueNT.MousePointer = 11 ' ici commence la recherche
If Right(mot, 1) = "j" Then
mot = Mid(mot, 1, Len(mot) - 1) & "s"
End If
mot = UCase(mot)
Call LexiqueNT_Morph(mot)
frmLexiqueNT.MousePointer = 0 ' là se termine la recherche
motr = frmLexiqueNT.txtVientde.Text
If motr <> "" Then
Call DefinirGrec(motr, mott)
Else
mott = "Pas de définition"
End If
frmLexiqueNT.txtFrancais.Text = mott
Exit Function
End If
'-------------------------------------------------------------------------------------'Versions anglaises
If frmBible.cboVersion.Text = "ASV" Or _
frmBible.cboVersion.Text = "KJV" Or _
frmBible.cboVersion.Text = "YLT" Or _
frmBible.cboVersion.Text = "WEB" Or _
frmBible.cboVersion.Text = "BBE" Or _
frmBible.cboVersion.Text = "JPS" Or _
frmBible.cboVersion.Text = "DR" Or _
frmBible.cboVersion.Text = "NET" Or _
frmBible.cboVersion.Text = "NET" Or _
frmBible.cboVersion.Text = "DIAGLOTT" Or _
frmBible.cboVersion.Text = "APF-E" Or _
frmBible.cboVersion.Text = "Lightfoot" Or _
frmBible.cboVersion.Text = "ANF" Or _
frmBible.cboVersion.Text = "WBST" Then
Load frmDictionnaires
frmDictionnaires.txtRecherche = mot
frmDictionnaires.optEaston.Value = True
frmDictionnaires.btnRechercher_Click
frmDictionnaires.Show
Exit Function
End If
fctDoubleCliqueMP - 2
' SEPTANTE
'If frmBible.cboVersion.Text = "Septante" Then
'Call AnalyseSeptante(mot)
'Exit Function
'End If
'WH & STRONG
If frmBible.cboVersion.Text = "W/H & Strong" Then
Call AnalyseWHStrong(mot)
Exit Function
End If
' SEPTANTE
'optspecialise = True
'If optspecialise = True Then
'Call DoubleCliqueSeptante
'Exit Function
'End If
' OPTIONS INTERNET
If frmBible.cboVersion.Text <> "Vulgate" Then
mot = Replace(mot, "\", "")
mot = Replace(mot, "c", "x")
mot = Replace(mot, "j", "s")
mot = Replace(mot, "/", "")
mot = Replace(mot, ")", "")
mot = Replace(mot, "(", "")
mot = Replace(mot, "|", "")
mot = Replace(mot, "=", "")
mot = Replace(mot, ".", "")
mot = Replace(mot, ";", "")
mot = Replace(mot, "$", "")
mot = Replace(mot, ":", "")
langue = "latin"
'frmBrowser.cboAddress.Text = "http://www.unboundbible.org/greek_search/index.cfm?RequestTimeout=50
0&fuseaction=list&lang=French&word=" & mot
End If
erreur:
Exit Function
End Function
fctDoubleCliqueSeptante - 1
Public Function DoubleCliqueSeptante()
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
Dim ofile2 As String, LFile2 As Long
Dim OFile3 As String, LFile3 As Long
ofile = App.Path & "\tools\greeknt.txt"
ofile2 = App.Path & "\tools\analysemorpho.txt"
OFile3 = App.Path & "\tools\packard.txt"
lfile = FreeFile
LFile2 = FreeFile + 1
LFile3 = FreeFile + 2
Dim erreur
mot = UCase(mot) ' mise en majuscules, selon le format adéquat
'MsgBox mot
If Right(mot, 1) = "J" Then ' pb du s final
mot = Mid(mot, 1, Len(mot) - 1) + "S"
End If
'MsgBox mot, , "mot à chercher dans greeknt"
' trouvons le mot double-cliqué dans le fichier greeknt
' ouverture du fichier greeknt, où se trouve le mot, son code et son origine
Open ofile For Input As #lfile
Do 'début de boucle
Input #lfile, ligne
If Mid(ligne, 1, Len(mot)) = mot Then
Open ofile2 For Output As #LFile2
Write #LFile2, ligne
Close #LFile2
'frmParse.txtanalyse.Caption = frmParse.txtanalyse.Caption & vbCrLf & ligne
End If
Loop Until EOF(lfile)
Close #lfile
Open ofile2 For Input As #LFile2
Input #LFile2, ligne
Close #LFile2
'MsgBox ligne, , "ligne"
' >> j'ai ma ligne qui a en elle l'analyse précise du mot
' je dois décortiquer cette ligne
' à tout hasard, je la mets dans un tampon
frmBible.lbltampon.Text = ligne
'la ligne est composée comme suit:
' MOTFLECHI<CODE>MOTORIGINE
'j'appelle ma fonction pour me donner le CODE et le MOTORIGINE
Call ExtraireCode(mot, ligne, code, origine, chercher)
'MsgBox
'MsgBox
'MsgBox
'MsgBox
'MsgBox
mot, , "mot"
ligne, , "ligne"
code, , "code"
origine, , "origine"
chercher, , "chercher"
'maintenant que je l'ai, je consulte le fichier packard pour décrypter mon code
Open OFile3 For Input As #LFile3
Do
Input #LFile3, nouveau
If nouveau = chercher Then
Do
Input #LFile3, nouveau
Open ofile2 For Append As #LFile2
Write #LFile2, nouveau
Close #LFile2
Loop Until nouveau = "" Or nouveau = vbCrLf
'Else
'
Open OFile2 For Output As #LFile2
' Write #LFile2, mot & vbCrLf & origine & "Pas d'analyse"
' Close #LFile2
End If
msg2 = InStr(1, nouveau, chercher, vbTextCompare)
Loop Until EOF(LFile3)
fctDoubleCliqueSeptante - 2
Close #LFile3
msg = ""
'On Error GoTo erreur:
Open ofile2 For Input As #LFile2
Do
Input #LFile2, ligne
'frmParse.txtanalyse.Caption = frmParse.txtanalyse.Caption & ligne & vbCrLf
msg = msg & ligne & vbCrLf
Loop While Not ligne = ""
Close #LFile2
mot = Trim(frmBible.txtPassage.SelText)
If Right(mot, 1) = "." Then
mot = Mid(mot, 1, Len(mot) - 1)
End If
If Right(mot, 1) = "s" Then
mot = Mid(mot, 1, Len(mot) - 1) + "j"
frmParse.lblmot.Caption = mot
End If
Load frmParse
frmParse.Show
frmParse.lblmot = LCase(mot)
If Right(origine, 1) = "S" Then
origine = Mid(origine, 1, Len(origine) - 1) + "J"
End If
frmParse.lblorigine = LCase(origine)
frmParse.txtAnalyse.Caption = msg
'<-enlever = frmBible.lbltampon.Text
enleverg = frmParse.txtAnalyse.Caption
msg = Replace(enleverg, enlever, "")
frmParse.txtAnalyse.Caption = msg
'-->
mot = frmParse.lblmot
origine = frmParse.lblorigine
'MsgBox mot, , "mot"
'MsgBox origine, , "origine"
motr = origine
If Right(motr, 1) = "s" Then
motr = Mid(motr, 1, Len(motr) - 1) + "j"
End If
Call DefinirGrec(motr, mott)
If mott <> "Pas de définition disponible" Then
frmParse.lblDefinition.Visible = True
frmParse.lblDefinition.Caption = "Définition : " & mott
End If
End Function
fcteCatena - 1
Public Function eCatena(livre, chapitre)
'http://www.earlychristianwritings.com/e-catena/
If livre = "Matthieu" Then
nlivre = "Matthew"
ElseIf livre = "Marc" Then
nlivre = "Mark"
ElseIf livre = "Luc" Then
nlivre = "Luke"
ElseIf livre = "Jean" Then
nlivre = "John"
ElseIf livre = "Actes" Then
nlivre = "Acts"
ElseIf livre = "Romains" Then
nlivre = "Romans"
ElseIf livre = "1 Corinthiens" Then
nlivre = "1Corinthians"
ElseIf livre = "2 Corinthiens" Then
nlivre = "2Corinthians"
ElseIf livre = "Galates" Then
nlivre = "Galatians"
ElseIf livre = "Ephésiens" Then
nlivre = "Ephesians"
ElseIf livre = "Philippiens" Then
nlivre = "Phillippians"
ElseIf livre = "Colossiens" Then
nlivre = "Colossians"
ElseIf livre = "1 Thessaloniciens" Then
nlivre = "1Thessalonians"
ElseIf livre = "2 Thessaloniciens" Then
nlivre = "2Thessalonians"
ElseIf livre = "1 Timothée" Then
nlivre = "1Timothy"
ElseIf livre = "2 Timothée" Then
nlivre = "2Timothy"
ElseIf livre = "Tite" Then
nlivre = "Titus"
ElseIf livre = "Philémon" Then
nlivre = "Philemon"
ElseIf livre = "Hébreux" Then
nlivre = "Hebrews"
ElseIf livre = "Jacques" Then
nlivre = "James"
ElseIf livre = "1 Pierre" Then
nlivre = "1Peter"
ElseIf livre = "2 Pierre" Then
nlivre = "2Peter"
ElseIf livre = "1 Jean" Then
nlivre = "1John"
ElseIf livre = "2 Jean" Then
nlivre = "2John"
ElseIf livre = "3 Jean" Then
nlivre = "3john"
ElseIf livre = "Jude" Then
nlivre = "Jude"
ElseIf livre = "Révélation" Then
nlivre = "Revelation"
End If
nlivre = LCase(nlivre)
frmBrowser.cboAddress.Text = "http://www.earlychristianwritings.com/e-catena/" & nlivre & chapitre
& ".html"
End Function
fctEpurerLSG - 1
Public Function EpurerLSG(recherche)
Dim
Dim
Dim
Dim
lfile As String
texte As String
ligne As String
ofile, finligne
' affectation variables
lfile = App.Path & "\tools\corrigerneg.txt"
texte = frmBible.txtPassage
' on enlève la ponctuation dans le verset pour ne pas s'emmêler les pinceaux
'texte = Replace(texte, ",", "")
'texte = Replace(texte, ".", "")
'texte = Replace(texte, ";", "")
'texte = Replace(texte, "!", "")
'texte = Replace(texte, "'", "")
'on commence par la chaîne la plus longue
'* ceci enlève le code de l'analyse du TEMPS du verbe et le met sur une ligne, tout seul
' on remplace " (" par des retours charriot
' on remplace ") " par des retours charriot
' on remplace "> " par des retours charriot
texte
texte
texte
texte
ofile
=
=
=
=
=
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
FreeFile
"(", " " & vbCrLf)
")", " " & vbCrLf)
"> ", ">" & vbCrLf)
", ", "," & vbCrLf)
Open lfile For Output As #ofile
Print #ofile, texte
Close
frmBible.txtPassage.Text = ""
' le texte corrigeneg est maintenant prêt à être relu en tenant
'compte des < qui détermine le début du chiffre
' le but du jeu est de lire ce qu'il y avant
ofile = FreeFile
Open lfile For Input As #ofile
Do
Line Input #ofile, ligne
If InStr(1, ligne, "<") = 0 Then GoTo cuncodedeverbe
finligne = InStr(1, ligne, "<", vbTextCompare)
frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, 1, finligne - 1)
cuncodedeverbe:
Loop While Not EOF(ofile)
Close
End Function
fctEpurerNEG - 1
Public Sub EpurerNEG(recherche)
Dim
Dim
Dim
Dim
lfile As String
texte As String
ligne As String
ofile, finligne
' affectation variables
lfile = App.Path & "\tools\corrigerneg.txt"
texte = frmBible.txtPassage
' on enlève la ponctuation dans le verset pour ne pas s'emmêler les pinceaux
'texte = Replace(texte, ",", "")
'texte = Replace(texte, ".", "")
'texte = Replace(texte, ";", "")
'texte = Replace(texte, "!", "")
'texte = Replace(texte, "'", "")
'on commence par la chaîne la plus longue
'* ceci enlève le code de l'analyse du TEMPS du verbe et le met sur une ligne, tout seul
' on remplace " (" par des retours charriot
' on remplace ") " par des retours charriot
' on remplace "> " par des retours charriot
texte
texte
texte
texte
ofile
=
=
=
=
=
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
FreeFile
"(", " " & vbCrLf)
")", " " & vbCrLf)
"> ", ">" & vbCrLf)
", ", "," & vbCrLf)
Open lfile For Output As #ofile
Print #ofile, texte
Close
frmBible.txtPassage.Text = ""
' le texte corrigeneg est maintenant prêt à être relu en tenant
'compte des < qui détermine le début du chiffre
' le but du jeu est de lire ce qu'il y avant
ofile = FreeFile
Open lfile For Input As #ofile
Do
Line Input #ofile, ligne
If InStr(1, ligne, "<") = 0 Then GoTo cuncodedeverbe
finligne = InStr(1, ligne, "<", vbTextCompare)
frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, 1, finligne - 1)
cuncodedeverbe:
Loop While Not EOF(ofile)
Close
End Sub
fctExtraireCode - 1
Public Function ExtraireCode(mot, ligne, code, origine, chercher) As String
Dim i%, avantcode$, ssdebut$
'j'enlève le début
ssdebut = Mid(ligne, Len(mot) + 2, Len(ligne))
'<-- au cas où...
If Left(ssdebut, 1) = "<" Then
ssdebut = Mid(ssdebut, 2, Len(ssdebut))
ElseIf Right(ssdebut, 1) = ">" Then
ssdebut = Mid(ssdebut, 1, Len(ssdebut) - 1)
End If
'-->
'extraction du code
i = InStr(1, ssdebut, ">", vbTextCompare)
code = Mid(ssdebut, 1, i - 1)
'MsgBox code
' je prends aussi le mot d'origine
'supression des espaces
chercher = Trim(code)
chercher = Replace(chercher, "
", " ", 1)
' définition du terme non fléchi
origine = Mid(ssdebut, Len(code) + 2, Len(ssdebut))
'MsgBox origine, , "origine"
If Right(mot, 1) = "s" Then
mot = Mid(mot, 1, Len(mot) - 1) + "j"
frmParse.lblmot.Caption = mot
ElseIf Right(origine, 1) = "s" Then
origine = Mid(origine, 1, Len(origine) - 1) + "j"
frmParse.lblorigine.Caption = origine
End If
End Function
fctExtraireNumeroNote - 1
Public Function ExtraireNumeroNote(mot, livre)
Dim debut%, chiffre%, fichiernote$, texte$, recherche$
Dim premierenote$, fin$, notesuite, longueur, finnote
Dim lfile
lfile = FreeFile
fichiernote = App.Path & "\modules\DF\notes" + livre + ".rtf"
debut = InStr(1, mot, "<", vbTextCompare)
chiffre = Val(Mid(mot, debut + 1, Len(mot)))
recherche = "-" & chiffre & "-"
i = 0
If chiffre = 0 Then Exit Function
Load frmNotes
frmNotes.Show
frmNotes.RTF.LoadFile (fichiernote)
texte = frmNotes.RTF.Text
'recherche du premier caractère de la recherche -1premierenote = InStr(1, texte, recherche)
'recherche du dernier des trois derniers caractères -2notesuite = "-" & Val(chiffre + 1) & "-"
longueur = InStr(1, texte, notesuite, vbTextCompare)
finnote = Mid$(texte, 1, Len(notesuite) - 3)
finnote = InStr(1, frmNotes.RTF.Text, notesuite, vbTextCompare)
frmNotes.RTF.Text = Mid$(texte, premierenote, longueur - premierenote)
frmNotes.Label1.Caption = "Notes pour " & frmBible.lblchapitre.Caption
End Function
fctFrancaisGrec - 1
Public Function FrancaisGrec(recherche)
End Function
fctFrancaisHebreu - 1
Public Function FrancaisHebreu(recherche)
' Déclarations
Dim lexique$, lfile%
Dim rech1%, rech2%, rech3%, motdeflechi$, analyse$
Dim partiehebreu$, partieprononciation$, partiefrancais$, partienote$
Dim trouve
' Affactations
lexique = App.Path & "\tools\lexiqueheb.dic"
lfile = FreeFile
' Consultation du lexique
Open lexique For Input As #lfile
Do
On Error GoTo err:
Input #lfile, ligne
reue
' cela sert à la fois à la recherche sans la casse,
' et à la répartition du résultat dans les différents
' champs de la feuille DicoHebreu à partir du txtNotes
' sachant que l'hébreu début la ligne et se termine à 1/
' où commence la prononciation
rech1 = InStr(1, ligne, "1/", vbTextCompare)
partiehebreu = Mid(ligne, 1, rech1 - 1)
'analyse = MsgBox(partiehebreu, , "Mot hébreu")
' notes
rech3 = InStr(1, ligne, "3/", vbTextCompare)
' français
rech2 = InStr(1, ligne, "2/", vbTextCompare)
partiefrancais = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
'analyse = MsgBox(partiefrancais, , "Mot français")
If frmDicoHebreu.chkCase.Value = 0 Then
' "Respecter la casse" n'est pas cochée
' je me lance à la recherche d'une partie de la chaîne
Do
' cela concerne la première ligne !
'If InStr(1, partiehebreu, recherche, vbTextCompare) <> 0 Then
'fmDicoHebreu.txtNotes.Text = ligne
'Exit Do
'End If
' pour le reste...
Input #lfile, ligne
partiefrancais = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
' ********
If InStr(1, partiefrancais, recherche, vbTextCompare) <> 0 Then
' j'ai trouvé une partie de la recherche dans la partie héb
frmDicoHebreu.txtNotes.Text = ligne
GoTo trouve
Exit Do
Else
' je n'ai pas trouvé, même une partie
frmDicoHebreu.txtNotes.Text = "Pas de résultat !"
End If
Loop Until EOF(lfile)
ElseIf frmDicoHebreu.chkCase.Value = 1 Then ' il faut chercher le mot EXACT
If Mid(ligne, rech2 + 2, Len(recherche) + 1) = recherche & "3" Then
frmDicoHebreu.txtNotes.Text = ligne
Exit Do
Else
frmDicoHebreu.txtNotes.Text = "Pas de résultat !"
End If
fctFrancaisHebreu - 2
End If
Loop While Not EOF(lfile)
err:
Close
' Le résultat de la recherche est stocké dans txtNotes.text
' pour commodité, on le restocke dans la variable ligne
ligne = frmDicoHebreu.txtNotes.Text
' J'ai trouvé mon mot hébreu, j'affecte les résultats dans les champs
If ligne <> "Pas de résultat !" Then
frmDicoHebreu.txtPrononciation.Text = Mid(ligne, rech1 + 2, rech2 - (rech1 + 2))
frmDicoHebreu.txtFrancais.Text = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
frmDicoHebreu.txtFrancais.Text = Replace(frmDicoHebreu.txtFrancais.Text, "~", ",", 1)
frmDicoHebreu.txtNotes.Text = Mid(ligne, rech3 + 2, Len(ligne))
frmDicoHebreu.txtNotes.Text = Replace(frmDicoHebreu.txtNotes.Text, "~", ",", 1)
frmDicoHebreu.txtHebreu.Text = Mid(ligne, 1, rech1 - 1)
Else
analyse = MsgBox("Pas de résultat pour ce terme !" & vbCrLf & "Souhaitez-vous lancer une recher
che étendue ? (Ne pas respecter la casse)", vbInformation + vbYesNo, "Aucune entrée dans le lexique
")
If analyse = vbYes Then
frmDicoHebreu.chkCase.Value = 0
frmDicoHebreu.txtFrancais.Text = recherche
'frmDicoHebreu.Timer1.Enabled = True
'frmDicoHebreu.mnuConsultation.Checked = True
'Exit Function
Call FrancaisHebreu(recherche)
Else
frmDicoHebreu.Timer1.Enabled = False
frmDicoHebreu.txtNotes.Text = ""
frmDicoHebreu.txtFrancais.Text = recherche
frmDicoHebreu.Timer1.Enabled = False
Exit Function
End If
End If
Exit Function
trouve:
ligne = frmDicoHebreu.txtNotes.Text
'partiehebreu = Mid(ligne, 1, rech1 - 1)
' je dois redéfinir mes rech1/2/3 car ils ont été corrompus par la recherche sans la casse
rech1 = InStr(1, ligne, "1/", vbTextCompare)
rech3 = InStr(1, ligne, "3/", vbTextCompare)
rech2 = InStr(1, ligne, "2/", vbTextCompare)
frmDicoHebreu.txtPrononciation.Text = Mid(ligne, rech1 + 2, rech2 - (rech1 + 2))
frmDicoHebreu.txtFrancais.Text = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
frmDicoHebreu.txtFrancais.Text = Replace(frmDicoHebreu.txtFrancais.Text, "~", ",", 1)
frmDicoHebreu.txtNotes.Text = Mid(ligne, rech3 + 2, Len(ligne))
frmDicoHebreu.txtNotes.Text = Replace(frmDicoHebreu.txtNotes.Text, "~", ",", 1)
frmDicoHebreu.txtHebreu.Text = Mid(ligne, 1, rech1 - 1)
End Function
fctFrancaisLatin - 1
Public Function FrancaisLatin(mot)
Dim ofile, lfile, ligne
ofile = App.Path & "\lex\fralat.raw"
lfile = FreeFile
recherche = ": " & mot & ","
': tour,
recherche2 = ", " & mot & ","
frmDicoLatFr.Text2.Text = ""
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
repere = InStr(1, ligne, ":")
'le mot s'y trouve exactement
If InStr(1, ligne, recherche) <> 0 Then
frmDicoLatFr.Text2.Text = Mid(ligne, 1, repere - 1)
Exit Function
End If
'le mot peut être le deuxième sens du terme latin
If InStr(1, ligne, recherche2) <> 0 Then
frmDicoLatFr.Text2.Text = frmDicoLatFr.Text2.Text & ligne & vbCrLf
End If
Loop While Not EOF(lfile)
Close
End Function
fctGrammaireAbel - 1
Public Sub GrammaireAbel(recherche)
If recherche = "nominatif" Then
recherche = "98"
ElseIf recherche = "vocatif" Then
recherche = "98"
ElseIf recherche = "accusatif" Then
recherche = "100"
ElseIf recherche = "datif" Then
recherche = "132"
ElseIf recherche = "génitif" Then
recherche = "103"
ElseIf recherche = "première déclinaison" Then
recherche = "32"
ElseIf recherche = "deuxième déclinaison" Then
recherche = "33"
ElseIf recherche = "troisième déclinaison" Then
recherche = "35"
ElseIf recherche = "nom propre" Then
recherche = "38"
ElseIf recherche = "adjectif" Then
recherche = "40"
ElseIf recherche = "adverbe" Then
recherche = "40"
ElseIf InStr(1, recherche, "comparaison") <> 0 Then
recherche = "41"
ElseIf InStr(1, recherche, "nombre") <> 0 Then
recherche = "42"
ElseIf InStr(1, recherche, "pronom") <> 0 Then
recherche = "43"
ElseIf InStr(1, recherche, "verbe") <> 0 Then
recherche = "45"
ElseIf InStr(1, recherche, "augment") <> 0 Then
recherche = "45"
ElseIf InStr(1, recherche, "redoublement") <> 0 Then
recherche = "45"
ElseIf recherche = "aoriste second" Then
recherche = "59"
ElseIf recherche = "aoriste premier" Then
recherche = "61"
ElseIf recherche = "futur" Then
recherche = "145"
ElseIf recherche = "parfait" Then
recherche = "144"
ElseIf recherche = "présent" Then
recherche = "141"
ElseIf recherche = "imparfait" Then
recherche = "142"
ElseIf recherche = "aoriste" Then
recherche = "143"
ElseIf InStr(1, recherche, "plus") <> 0 And InStr(1, recherche, "parfait") <> 0 Then
recherche = "145"
ElseIf InStr(1, recherche, "conjugaison") <> 0 And InStr(1, recherche, "périphrastique") <> 0 Then
recherche = "149"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, recherche, "complétive") <> 0 Then
recherche = "154"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, recherche, "subordonnée") <> 0 Then
recherche = "154"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, recherche, "interrogative") <> 0 Then
recherche = "156"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, recherche, "finale") <> 0 Then
recherche = "159"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, conditionnelle, "interrogative") <> 0 T
hen
recherche = "159"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, recherche, "relative") <> 0 Then
recherche = "161"
ElseIf InStr(1, recherche, "proposition") <> 0 And InStr(1, recherche, "adverbiale") <> 0 Or InStr(
1, recherche, "circonstancielle") <> 0 Then
recherche = "163"
fctGrammaireAbel - 2
ElseIf InStr(1, recherche, "irrégulier") <> 0 Then
recherche = "65"
ElseIf recherche = "article" Then
recherche = "75"
ElseIf InStr(1, recherche, "article") <> 0 And InStr(1, recherche, "omission") <> 0 Then
recherche = "78"
ElseIf recherche = "pronom" Then
recherche = "81"
ElseIf recherche = "pronom personnel" Then
recherche = "81"
ElseIf recherche = "pronom réfléchi" Then
recherche = "81"
ElseIf recherche = "pronom démonstratif" Then
recherche = "85"
ElseIf recherche = "pronom relatif" Then
recherche = "86"
ElseIf recherche = "pronom interrogatif" Then
recherche = "86"
ElseIf recherche = "pronom indéfini" Then
recherche = "88"
ElseIf InStr(1, recherche, "degré") <> 0 Or InStr(1, recherche, "comparaison") <> 0 Then
recherche = "90"
ElseIf recherche = "préposition" Then
recherche = "98"
ElseIf recherche = "actif" Then
recherche = "137"
ElseIf recherche = "moyen" Then
recherche = "138"
ElseIf recherche = "passif" Then
recherche = "139"
ElseIf recherche = "indicatif" Then
recherche = "150"
ElseIf recherche = "subjonctif" Then
recherche = "151"
ElseIf recherche = "impératif" Then
recherche = "152"
ElseIf recherche = "optatif" Then
recherche = "153"
ElseIf recherche = "infinitif" Then
recherche = "166"
ElseIf recherche = "participe" Then
recherche = "176"
ElseIf recherche = "particule" Then
recherche = "181"
ElseIf InStr(1, recherche, "négation") <> 0 Then
recherche = "137"
ElseIf recherche = "adverbe" Then
recherche = "184"
ElseIf recherche = "conjonction" Then
recherche = "185"
ElseIf InStr(1, recherche, "coordination") <> 0 Then
recherche = "186"
ElseIf InStr(1, recherche, "subordination") <> 0 Then
recherche = "190"
ElseIf InStr(1, recherche, "style") <> 0 Then
recherche = "194"
ElseIf InStr(1, recherche, "ordre") <> 0 And InStr(1, recherche, "mot") <> 0 Then
recherche = "196"
ElseIf recherche = "rhétorique" Then
recherche = "199"
ElseIf recherche = "koinê" Then
recherche = "9"
ElseIf recherche = "esprit rude" Then
recherche = "29"
ElseIf recherche = "sémitique" Then
recherche = "30"
Else
recherche = ""
End If
End Sub
fctGrammaireBoxus - 1
Public Sub GrammaireBoxus(recherche)
If recherche = "nominatif" Then
recherche = "435"
ElseIf recherche = "vocatif" Then
recherche = "436"
ElseIf recherche = "accusatif" Then
recherche = "226"
ElseIf recherche = "datif" Then
recherche = "449"
ElseIf recherche = "génitif" Then
recherche = "437"
ElseIf recherche = "indicatif" Then
recherche = "140"
ElseIf recherche = "subjonctif" Then
recherche = "180"
ElseIf recherche = "impératif" Then
recherche = "190"
ElseIf recherche = "optatif" Then
recherche = "185"
ElseIf recherche = "infinitif" Then
recherche = "195"
ElseIf recherche = "participe" Then
recherche = "201"
ElseIf recherche = "adjectif verbal" Then
recherche = "494"
ElseIf recherche = "présent" Then
recherche = "142"
ElseIf recherche = "imparfait" Then
recherche = "146"
ElseIf recherche = "futur" Then
recherche = "149"
ElseIf recherche = "aoriste" Then
recherche = "153"
ElseIf recherche = "parfait" Then
recherche = "162"
ElseIf recherche = "plus que parfait" Then
recherche = "167"
ElseIf recherche = "futur du parfait" Then
recherche = "173"
ElseIf InStr(1, recherche, "futur") <> 0 And InStr(1, recherche, "parfait") <> 0 Then
recherche = "173"
Else
recherche = ""
End If
End Sub
fctGrammaireBurnouf - 1
Public Sub GrammaireBurnouf(recherche)
If recherche = "nominatif" Then
recherche = "243"
ElseIf recherche = "vocatif" Then
recherche = "248"
ElseIf recherche = "accusatif" Then
recherche = "247"
ElseIf recherche = "datif" Then
recherche = "246"
ElseIf recherche = "génitif" Then
recherche = "246"
ElseIf recherche = "indicatif" Then
recherche = ""
ElseIf recherche = "subjonctif" Then
recherche = "90"
ElseIf recherche = "impératif" Then
recherche = ""
ElseIf recherche = "optatif" Then
recherche = "90"
ElseIf recherche = "infinitif" Then
recherche = "90"
ElseIf recherche = "participe" Then
recherche = "77"
ElseIf recherche = "préposition" Then
recherche = ""
ElseIf recherche = "singulier" Then
recherche = "74"
ElseIf recherche = "pluriel" Then
recherche = "74"
ElseIf recherche
recherche = "69"
ElseIf recherche
recherche = "34"
ElseIf recherche
recherche = "54"
ElseIf recherche
recherche = "63"
ElseIf recherche
recherche = "65"
= "pronom" Then
= "article" Then
= "adjectif" Then
= "adjectif numéral" Then
= "adjectif démonstratif" Then
ElseIf recherche =
recherche = "76"
ElseIf recherche =
recherche = "101"
ElseIf recherche =
recherche = "76"
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
"actif" Then
"moyen" Then
"passif" Then
"présent" Then
"aoriste" Then
"futur" Then
"plus que parfait" Then
"imparfait" Then
"parfait" Then
ElseIf recherche = "verbe" Then
recherche = "73"
ElseIf recherche
recherche = "35"
ElseIf recherche
recherche = "73"
ElseIf recherche
recherche = "73"
ElseIf recherche
recherche = "73"
ElseIf recherche
= "nom" Then
= "verbe" Then
= "verbe" Then
= "verbe" Then
= "verbe" Then
fctGrammaireBurnouf - 2
recherche = "73"
Else
recherche = ""
End If
End Sub
fctGrammaireBurton - 1
Public Function GrammaireBurton(recherche)
If InStr(1, recherche, "indicatif") <> 0 And InStr(1, recherche, "présent") <> 0 Then
recherche = "20"
ElseIf InStr(1, recherche,
recherche = "73"
ElseIf InStr(1, recherche,
recherche = "80"
ElseIf InStr(1, recherche,
recherche = "93"
ElseIf InStr(1, recherche,
recherche = "95"
"participe") <> 0 And InStr(1, recherche, "présent") <> 0 Then
"participe") <> 0 And InStr(1, recherche, "aoriste") <> 0 Then
"participe") <> 0 And InStr(1, recherche, "futur") <> 0 Then
"participe") <> 0 And InStr(1, recherche, "parfait") <> 0 Then
ElseIf InStr(1, recherche, "négation") <> 0 And InStr(1, recherche, "verbe") <> 0 Then
recherche = "165"
ElseIf recherche =
recherche = "98"
ElseIf recherche =
recherche = "101"
ElseIf recherche =
recherche = "110"
ElseIf recherche =
recherche = "107"
ElseIf recherche =
recherche = "208"
ElseIf recherche =
recherche = "185"
"indicatif" Then
ElseIf recherche =
recherche = "76"
ElseIf recherche =
recherche = "101"
ElseIf recherche =
recherche = "76"
ElseIf recherche =
recherche = "20"
ElseIf recherche =
recherche = "29"
ElseIf recherche =
recherche = "45"
ElseIf recherche =
recherche = "60"
ElseIf recherche =
recherche = "23"
ElseIf recherche =
recherche = "52"
Else
recherche = ""
End If
"actif" Then
End Function
"subjonctif" Then
"impératif" Then
"optatif" Then
"infinitif" Then
"participe" Then
"moyen" Then
"passif" Then
"présent" Then
"aoriste" Then
"futur" Then
"plus que parfait" Then
"imparfait" Then
"parfait" Then
fctGrammaireConybeare - 1
Public Function GrammaireConybeare(recherche)
If InStr(1, recherche, "nominatif") <> 0 And InStr(1, recherche, "vocatif") <> 0 Then
recherche = "48"
ElseIf recherche
recherche = "49"
ElseIf recherche
recherche = "49"
ElseIf recherche
recherche = "16"
ElseIf recherche
recherche = "52"
ElseIf recherche
recherche = "51"
= "nominatif" Then
ElseIf recherche
recherche = "63"
ElseIf recherche
recherche = "57"
ElseIf recherche
recherche = "65"
ElseIf recherche
recherche = "65"
= "optatif" Then
'TYPES DE MOTS
ElseIf recherche
recherche = "25"
ElseIf recherche
recherche = "54"
ElseIf recherche
recherche = "56"
ElseIf recherche
recherche = "59"
ElseIf recherche
recherche = "59"
ElseIf recherche
recherche = "46"
ElseIf recherche
recherche = "47"
ElseIf recherche
recherche = "48"
= "vocatif" Then
= "accusatif" Then
= "datif" Then
= "génitif" Then
= "participe" Then
= "moyen" Then
= "passif" Then
= "nom" Then
= "adjectif" Then
= "nom" Then
= "préposition" Then
= "verbe" Then
= "article" Then
= "masculin" Or recherche = "féminin" Then
= "singulier" Or recherche = "pluriel" Then
ElseIf recherche = "conjonction" Then
recherche = "76"
ElseIf recherche
recherche = "59"
ElseIf recherche
recherche = "50"
ElseIf recherche
recherche = "59"
ElseIf recherche
recherche = "60"
ElseIf recherche
recherche = "60"
ElseIf recherche
recherche = "59"
= "présent" Then
= "aoriste" Then
= "futur" Then
= "plus que parfait" Then
= "imparfait" Then
= "parfait" Then
ElseIf InStr(1, recherche, "futur") <> 0 And InStr(1, recherche, "parfait") <> 0 Then
recherche = "60"
Else
recherche = ""
End If
End Function
fctGrammaireCox - 1
Public Sub GrammaireCox(recherche)
If recherche = "nominatif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=1:f
orm=nom"
ElseIf recherche = "vocatif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=1:f
orm=voc"
ElseIf recherche = "accusatif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=1:f
orm=acc"
ElseIf recherche = "datif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=1:f
orm=dat"
ElseIf recherche = "génitif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=1:f
orm=gen"
ElseIf recherche = "indicatif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=4:f
orm=ind"
ElseIf recherche = "subjonctif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=4:f
orm=subj"
ElseIf recherche = "impératif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=4:f
orm=imperat"
ElseIf recherche = "optatif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=4:f
orm=opt"
ElseIf recherche = "infinitif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=4:f
orm=infin"
ElseIf recherche = "participe" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=4:f
orm=part"
ElseIf recherche = "présent" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=pres"
ElseIf recherche = "imparfait" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=imperf"
ElseIf recherche = "futur" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=fut"
ElseIf recherche = "aoriste" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=aor"
ElseIf recherche = "parfait" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=perf"
ElseIf recherche = "plus que parfait" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=plup"
ElseIf recherche = "futur du parfait" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=futperf"
ElseIf InStr(1, recherche, "futur") <> 0 And InStr(1, recherche, "parfait") <> 0 Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=2:f
orm=futperf"
ElseIf recherche = "actif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=3:f
orm=act"
ElseIf recherche = "moyen" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=3:f
orm=mid"
ElseIf recherche = "passif" Then
recherche = "http://www.perseus.tufts.edu/hopper/text.jsp?doc=Perseus:text:1999.04.0052:chapter=3:f
orm=pass"
fctGrammaireCox - 2
Else
recherche = ""
End If
End Sub
fctGrammaireGildersleeve - 1
Public Sub GrammaireGildersleeve(recherche)
If recherche = "participe présent" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23276"
ElseIf recherche = "participe aoriste" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23286"
ElseIf recherche = "participe parfait" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23295"
ElseIf InStr(1, recherche, "accord") <> 0 And InStr(1, recherche, "adjectif") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23427"
ElseIf InStr(1, recherche, "position") <> 0 And InStr(1, recherche, "adjectif") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23441"
ElseIf InStr(1, recherche, "article") <> 0 And InStr(1, recherche, "omission") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23529"
ElseIf InStr(1, recherche, "position") <> 0 And InStr(1, recherche, "article") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23524"
'
ElseIf recherche = "article" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23448"
ElseIf recherche = "nominatif pour vocatif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2312"
ElseIf InStr(1, recherche, "nominatif") <> 0 And InStr(1, recherche, "vocatif") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2312"
ElseIf recherche = "nominatif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%233"
ElseIf recherche = "vocatif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2314"
ElseIf recherche = "accusatif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2395"
ElseIf recherche = "datif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23424"
ElseIf recherche = "génitif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23423"
ElseIf recherche = "indicatif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23306"
ElseIf recherche = "subjonctif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23314"
ElseIf recherche = "impératif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23347"
ElseIf recherche = "optatif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23333"
ElseIf recherche = "infinitif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23267"
ElseIf recherche = "participe" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23274"
ElseIf recherche = "adjectif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2327"
ElseIf recherche = "adverbe" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
fctGrammaireGildersleeve - 2
d%3D%23426"
ElseIf recherche = "nom" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2336"
ElseIf recherche = "pluriel" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2340"
ElseIf InStr(1, recherche, "copule") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%2340"
ElseIf recherche = "duel" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23103"
'
'http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=head%3D%2355
'
ElseIf recherche = "présent" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23163"
ElseIf recherche = "imparfait" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23179"
ElseIf recherche = "futur" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23225"
ElseIf recherche = "aoriste" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23207"
ElseIf recherche = "parfait" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23196"
ElseIf recherche = "plus que parfait" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23204"
ElseIf recherche = "futur du parfait" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23238"
ElseIf InStr(1, recherche, "futur") <> 0 And InStr(1, recherche, "parfait") <> 0 Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23238"
ElseIf recherche = "actif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23124"
ElseIf recherche = "moyen" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23130"
ElseIf recherche = "passif" Then
recherche = "http://www.perseus.tufts.edu/cgi-bin/ptext?doc=Perseus%3Atext%3A1999.04.0074&query=hea
d%3D%23141"
'
Else
recherche = ""
End If
End Sub
fctGrammaireSmyth - 1
Public Sub GrammaireSmyth(recherche)
If recherche = "nominatif" Then
recherche = "276"
ElseIf recherche = "vocatif" Then
recherche = "327"
ElseIf recherche = "accusatif" Then
recherche = "368"
ElseIf recherche = "datif" Then
recherche = "352"
ElseIf recherche = "génitif" Then
recherche = "328"
ElseIf recherche = "indicatif" Then
recherche = "415"
ElseIf recherche = "subjonctif" Then
recherche = "418"
ElseIf recherche = "impératif" Then
recherche = "424"
ElseIf recherche = "optatif" Then
recherche = "421"
ElseIf recherche = "infinitif" Then
recherche = "426"
ElseIf recherche = "participe" Then
recherche = ""
ElseIf recherche = "préposition" Then
recherche = "436"
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = ""
ElseIf recherche =
recherche = "404"
ElseIf recherche =
recherche = "405"
ElseIf recherche =
recherche = "409"
ElseIf recherche =
recherche = "436"
ElseIf recherche =
recherche = "444"
ElseIf recherche =
recherche = "442"
ElseIf recherche =
recherche = "450"
ElseIf recherche =
recherche = "438"
ElseIf recherche =
recherche = "449"
"pronom" Then
"article" Then
"adjectif" Then
"actif" Then
"moyen" Then
"passif" Then
"présent" Then
"aoriste" Then
"futur" Then
"plus que parfait" Then
"imparfait" Then
"parfait" Then
ElseIf recherche = "verbe" Then
recherche = "404"
Else
recherche = ""
End If
End Sub
fctGrammaireWallace - 1
Public Sub GrammaireWallace(recherche)
If recherche = "nominatif" Then
recherche = "2"
ElseIf recherche = "vocatif" Then
recherche = "4"
ElseIf recherche = "accusatif" Then
recherche = "16"
ElseIf recherche = "datif" Then
recherche = "12"
ElseIf recherche = "génitif" Then
recherche = "5"
ElseIf recherche = "indicatif" Then
recherche = "37"
ElseIf recherche = "subjonctif" Then
recherche = "38"
ElseIf recherche = "impératif" Then
recherche = "5"
ElseIf recherche = "optatif" Then
recherche = "41"
ElseIf recherche = "infinitif" Then
recherche = "54"
ElseIf recherche = "participe" Then
recherche = "57"
ElseIf recherche = "préposition" Then
recherche = "63"
ElseIf recherche
recherche = "29"
ElseIf recherche
recherche = "20"
ElseIf recherche
recherche = "27"
ElseIf recherche
recherche = "32"
ElseIf recherche
recherche = "33"
ElseIf recherche
recherche = "35"
ElseIf recherche
recherche = "44"
ElseIf recherche
recherche = "50"
ElseIf recherche
recherche = "49"
ElseIf recherche
recherche = "52"
ElseIf recherche
recherche = "47"
ElseIf recherche
recherche = "51"
Else
recherche = ""
End If
End Sub
= "pronom" Then
= "article" Then
= "adjectif" Then
= "actif" Then
= "moyen" Then
= "passif" Then
= "présent" Then
= "aoriste" Then
= "futur" Then
= "plus que parfait" Then
= "imparfait" Then
= "parfait" Then
fctGrecFrancais - 1
Public Function GrecFrancais(recherche)
Dim lexique$, lfile%
Dim rech1%, rech2%, analyse$
Dim partiegrec$, partiefrancais$, partienote$
Dim trouve
' Affactations
lexique = App.Path & "\tools\lexiquegr.dic"
lfile = FreeFile
' Consultation du lexique
Open lexique For Input As #lfile
Do
Input #lfile, ligne
' cela sert à la fois à la recherche sans la casse,
' et à la répartition du résultat dans les différents
' champs de la feuille DicoHebreu à partir du txtNotes
' sachant que l'hébreu début la ligne et se termine à 1/
' où commence la prononciation
rech1 = InStr(1, ligne, "3/ ", vbTextCompare)
'partiehebreu = Mid(ligne, 1, rech1 - 1)
'analyse = MsgBox(partiehebreu, , "Mot hébreu")
' notes
'rech3 = InStr(1, ligne, "3/", vbTextCompare)
' français
'rech2 = InStr(1, ligne, "2/", vbTextCompare)
'partiefrancais = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
'analyse = MsgBox(partiefrancais, , "Mot français")
If frmLexiqueNT.chkCase.Value = 0 Then
' "Respecter la casse" n'est pas cochée
' je me lance à la recherche d'une partie de la chaîne
Do
' pour le reste...
Input #lfile, ligne
rech1 = InStr(1, ligne, "<>", vbTextCompare)
partiegrec = Mid(ligne, 1, rech1 - 1)
If InStr(1, partiegrec, recherche, vbTextCompare) <> 0 Then
' j'ai trouvé une partie de la recherche dans la partie héb
reue
frmLexiqueNT.txtNotes.Text = ligne
GoTo trouve
Exit Do
Else
' je n'ai pas trouvé, même une partie
frmLexiqueNT.txtNotes.Text = "Pas de résultat !"
End If
Loop Until EOF(lfile)
ElseIf frmLexiqueNT.chkCase.Value = 1 Then ' il faut chercher le mot EXACT
If Left(ligne, Len(recherche) + 2) = recherche & "<>" Then
frmLexiqueNT.txtNotes.Text = ligne
Exit Do
Else
frmLexiqueNT.txtNotes.Text = "Pas de résultat !"
End If
End If
Loop While Not EOF(lfile)
Close
' Le résultat de la recherche est stocké dans txtNotes.text
' pour commodité, on le restocke dans la variable ligne
ligne = frmLexiqueNT.txtNotes.Text
fctGrecFrancais - 2
' J'ai trouvé mon mot grec, j'affecte les résultats dans les champs
If ligne <> "Pas de résultat !" Then
frmLexiqueNT.txtFrancais = Mid(ligne, Len(recherche) + 3, Len(ligne))
rech1 = InStr(1, ligne, "<>", vbTextCompare)
frmLexiqueNT.txtGrec.Text = Mid(ligne, 1, rech1 - 1)
frmLexiqueNT.txtFrancais.Text = Replace(frmLexiqueNT.txtFrancais.Text, "~", ",", 1)
frmLexiqueNT.txtNotes.Text = ""
End If
frmLexiqueNT.Timer1.Enabled = False
Exit Function
trouve:
ligne = LexiqueNT.txtNotes.Text
rech1 = InStr(1, ligne, "
", vbTextCompare)
frmLexiqueNT.txtGrec.Text = Mid(ligne, 1, rech1 - 1)
frmLexiqueNT.txtFrancais.Text = Mid(ligne, rech + 1, Len(ligne))
frmLexiqueNT.txtFrancais.Text = Replace(frmLexiqueNT.txtFrancais.Text, "~", ",", 1)
frmLexiqueNT.txtNotes.Text = ""
End Function
fctGrenetTOBw - 1
Public Function GrenetTOBw(mot)
mot = Replace(mot, "/", "=")
mot = Replace(mot, "Å", "")
mot = Replace(mot, "v", ")")
mot = Replace(mot, "V", ")")
mot = Replace(mot, ",", "/")
mot = Replace(mot, "~", "(")
mot = Replace(mot, "_", "")
mot = Replace(mot, "+", "")
mot = Replace(mot, "v", "")
mot = Replace(mot, "[", "(")
'mot = Replace(mot, "y", "ps")
mot = Replace(mot, ".", "/")
mot = Replace(mot, "\", "")
mot = Replace(mot, "j", "s")
'mot = Replace(mot, "|", "")
mot = Replace(mot, "c", "x")
mot = Replace(mot, "C", "x")
mot = Replace(mot, "`", "(")
End Function
fctHebreuFrancais - 1
Public Function HebreuFrancais(recherche)
' Déclarations
Dim lexique$, lfile%
Dim rech1%, rech2%, rech3%, motdeflechi$, analyse$
Dim partiehebreu$, partieprononciation$, partiefrancais$, partienote$
Dim trouve
' Affactations
lexique = App.Path & "\tools\lexiqueheb.dic"
lfile = FreeFile
' Consultation du lexique
Open lexique For Input As #lfile
Do
Input #lfile, ligne
On Error GoTo erreur:
' cela sert à la fois à la recherche sans la casse,
' et à la répartition du résultat dans les différents
' champs de la feuille DicoHebreu à partir du txtNotes
' sachant que l'hébreu début la ligne et se termine à 1/
' où commence la prononciation
rech1 = InStr(1, ligne, "1/", vbTextCompare)
partiehebreu = Mid(ligne, 1, rech1 - 1)
'analyse = MsgBox(partiehebreu, , "Mot hébreu")
' notes
rech3 = InStr(1, ligne, "3/", vbTextCompare)
' français
rech2 = InStr(1, ligne, "2/", vbTextCompare)
partiefrancais = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
'analyse = MsgBox(partiefrancais, , "Mot français")
If frmDicoHebreu.chkCase.Value = 0 Then
' "Respecter la casse" n'est pas cochée
' je me lance à la recherche d'une partie de la chaîne
Do
' cela concerne la première ligne !
'If InStr(1, partiehebreu, recherche, vbTextCompare) <> 0 Then
'fmDicoHebreu.txtNotes.Text = ligne
'Exit Do
'End If
' pour le reste...
Input #lfile, ligne
partiehebreu = Mid(ligne, 1, rech1 + 1)
If InStr(1, partiehebreu, recherche, vbTextCompare) <> 0 Then
' j'ai trouvé une partie de la recherche dans la partie héb
reue
frmDicoHebreu.txtNotes.Text = ligne
GoTo trouve
Exit Do
Else
' je n'ai pas trouvé, même une partie
frmDicoHebreu.txtNotes.Text = "Pas de résultat !"
End If
Loop Until EOF(lfile)
ElseIf frmDicoHebreu.chkCase.Value = 1 Then ' il faut chercher le mot EXACT
If Left(ligne, Len(recherche) + 1) = recherche & "1" Then
frmDicoHebreu.txtNotes.Text = ligne
Exit Do
Else
frmDicoHebreu.txtNotes.Text = "Pas de résultat !"
End If
End If
fctHebreuFrancais - 2
Loop While Not EOF(lfile)
erreur:
Close
' Le résultat de la recherche est stocké dans txtNotes.text
' pour commodité, on le restocke dans la variable ligne
ligne = frmDicoHebreu.txtNotes.Text
' J'ai trouvé mon mot hébreu, j'affecte les résultats dans les champs
If ligne <> "Pas de résultat !" Then
frmDicoHebreu.txtPrononciation.Text = Mid(ligne, rech1 + 2, rech2 - (rech1 + 2))
frmDicoHebreu.txtFrancais.Text = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
frmDicoHebreu.txtFrancais.Text = Replace(frmDicoHebreu.txtFrancais.Text, "~", ",", 1)
frmDicoHebreu.txtNotes.Text = Mid(ligne, rech3 + 2, Len(ligne))
frmDicoHebreu.txtNotes.Text = Replace(frmDicoHebreu.txtNotes.Text, "~", ",", 1)
' à voir ; je pourrai aussi mettre, au lieu du mid, la recherche elle-même ?
'frmDicoHebreu.txtHebreu.Text = Mid(ligne, 1, rech1 - 1)
'Else
'analyse = MsgBox("Pas de résultat pour ce terme !" & vbCrLf & "Souhaitez-vous lancer une reche
rche étendue ? (Ne pas respecter la casse)", vbInformation + vbYesNo, "Aucune entrée dans le lexiqu
e")
'If analyse = vbYes Then
'frmDicoHebreu.chkCase.Value = 0
'frmDicoHebreu.txtHebreu.Text = recherche
'frmDicoHebreu.Timer1.Enabled = True
'frmDicoHebreu.mnuConsultation.Checked = True
'Exit Function
'Call HebreuFrancais(recherche)
'Else
'frmDicoHebreu.Timer1.Enabled = False
'frmDicoHebreu.txtNotes.Text = ""
'frmDicoHebreu.txtHebreu.Text = recherche
'frmDicoHebreu.Timer1.Enabled = False
'Exit Function
'End If
End If
Exit Function
trouve:
ligne = frmDicoHebreu.txtNotes.Text
'partiehebreu = Mid(ligne, 1, rech1 - 1)
' je dois redéfinir mes rech1/2/3 car ils ont été corrompus par la recherche sans la casse
rech1 = InStr(1, ligne, "1/", vbTextCompare)
rech3 = InStr(1, ligne, "3/", vbTextCompare)
rech2 = InStr(1, ligne, "2/", vbTextCompare)
frmDicoHebreu.txtPrononciation.Text = Mid(ligne, rech1 + 2, rech2 - (rech1 + 2))
frmDicoHebreu.txtFrancais.Text = Mid(ligne, rech2 + 2, rech3 - (rech2 + 2))
frmDicoHebreu.txtFrancais.Text = Replace(frmDicoHebreu.txtFrancais.Text, "~", ",", 1)
frmDicoHebreu.txtNotes.Text = Mid(ligne, rech3 + 2, Len(ligne))
frmDicoHebreu.txtNotes.Text = Replace(frmDicoHebreu.txtNotes.Text, "~", ",", 1)
frmDicoHebreu.txtHebreu.Text = Mid(ligne, 1, rech1 - 1)
End Function
fctLatinFrancais - 1
Public Function LatinFrancais(mot)
Dim ofile, ofile2, lfile, ligne
Dim repere%
mot = LCase(mot)
ofile = App.Path & "\lex\fralat.raw"
ofile2 = App.Path & "\lex\LVD.raw"
lfile = FreeFile
'
recherche = mot & ","
recherche2 = mot & ":"
recherche3 = mot & " :"
recherche4 = mot & " ("
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche)) = recherche Or _
Mid(ligne, 1, Len(recherche2)) = recherche2 Or _
Mid(ligne, 1, Len(recherche3)) = recherche3 Or _
Mid(ligne, 1, Len(recherche4)) = recherche4 Then
frmDicoLatFr.Text2.Text = ligne
Exit Do
End If
Loop While Not EOF(lfile)
Close
lfile = FreeFile
Open ofile2 For Input As #lfile
mot = "*" & mot
frmDicoLatFr.txtWords.Text = ""
Do
Line Input #lfile, ligne
If ligne = mot Then
frmDicoLatFr.txtWords.Text = frmDicoLatFr.txtWords.Text & ligne
Do
Line Input #lfile, ligne
If Mid(ligne, 1, 1) = "*" Then GoTo fini:
frmDicoLatFr.txtWords.Text = frmDicoLatFr.txtWords.Text & vbCrLf & ligne
Loop
End If
Loop While Not EOF(lfile)
fini:
Close
'maintenant, j'essaie de renseigner le français, si bien sûr il n'est pas renseigné
'If frmDicoLatFr.Text2.Text <> "" Then Exit Function
'repere2 = Mid(mot, 2, 1)
texte = frmDicoLatFr.txtWords.Text
lfile = FreeFile
fichier = App.Path & "\tools\temp.txt"
Open fichier For Output As #lfile
Print #lfile, texte
Close
lfile = FreeFile
Open fichier For Input As #lfile
Do
Line Input #lfile, ligne
If InStr(1, ligne, ",") <> 0 And InStr(1, ligne, "(") = 0 Then
motlatin = Mid(ligne, 1, InStr(1, ligne, ",") - 1)
GoTo unpeuplusloin:
End If
Loop While Not EOF(lfile)
unpeuplusloin:
Close
lfile = FreeFile
recherche = motlatin & ","
recherche2 = motlatin & ":"
fctLatinFrancais - 2
recherche3 = motlatin & " :"
recherche4 = motlatin & " ("
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche)) = recherche Or _
Mid(ligne, 1, Len(recherche2)) = recherche2 Or _
Mid(ligne, 1, Len(recherche3)) = recherche3 Or _
Mid(ligne, 1, Len(recherche4)) = recherche4 Then
frmDicoLatFr.Text2.Text = ligne
Exit Do
End If
Loop While Not EOF(lfile)
Close
If motlatin <> "" And frmDicoLatFr.Text2.Text = "" Then
frmDicoLatFr.Text2.Text = motlatin & ": mot inconnu."
End If
' ANALYSE MORPHOLOGIQUE
lfile = FreeFile
Open fichier For Input As #lfile
Do
Line Input #lfile, ligne
'on récupère la morphologie
' les codes sont renseignés à cette adresse: http://users.erols.com/whitaker/wordsdoc.h
tm
'tous les types de mots possibles
If Left(ligne, 1) <> "*" And _
InStr(1, ligne, "-") <> 0 And _
InStr(1, ligne, ",") = 0 And _
InStr(1, ligne, ";") = 0 Then
If Mid(ligne, 1, 1) = "*" Or ligne = "" Then GoTo suite:
Call AnalyseMorphoLatin(ligne)
frmDicoLatFr.List1.AddItem (ligne)
Do While Not EOF(lfile)
Line Input #lfile, ligne
If Left(ligne, 1) <> "*" And _
InStr(1, ligne, "-") <> 0 And _
InStr(1, ligne, ",") = 0 And _
InStr(1, ligne, ";") = 0 Then
Call AnalyseMorphoLatin(ligne)
frmDicoLatFr.List1.AddItem (ligne)
Else
Loop
End If
suite:
Loop While Not EOF(lfile)
apres:
Close
End Function
GoTo suite:
End If
fctLectureBhsLxx - 1
Public Function LectureBhsLxx(fichier, passage, finverset)
Dim lfile, ligne$, fichiertemp, LFile2, textefinal$, msg$, remplace$
frmBHSLXX.txtGauche.Text = ""
frmBHSLXX.txtDroite.Text = ""
fichiertemp = App.Path & "\modules\parallel\temp.txt"
lfile = FreeFile
LFile2 = FreeFile + 1
Open fichier For Input As #lfile
Open fichiertemp For Output As #LFile2
Do
Input #lfile, ligne
If Left(ligne, Len(passage)) = passage Then
Do
Input #lfile, ligne
tabulation = InStr(1, ligne, " ")
, tabulation)
abulation, Len(ligne))
frmBHSLXX.txtGauche.Text = frmBHSLXX.txtGauche.Text & vbCrLf & Mid(ligne, 1
frmBHSLXX.txtDroite.Text = frmBHSLXX.txtGauche.Text & vbCrLf & Mid(ligne, t
Loop While Not ligne = finverset
Print #LFile2, frmBHSLXX.txtGauche.Text
'MsgBox (frmBHSLXX.txtGauche.Text)
'MsgBox fichiertemp, , "fichiertemp"
Exit Do
End If
Loop While Not EOF(lfile)
Close
remplace = Replace(frmBHSLXX.txtGauche.Text, "
Open fichiertemp For Input As #LFile2
Do
Input #LFile2, ligne
'msg = MsgBox(ligne)
Loop While Not EOF(LFile2)
Close
End Function
", vbCrLf, 1)
fctLexiqueNTMorph - 1
Public Function LexiqueNT_Morph(mot)
Dim ofile$, lfile%, ligne$, rech1%, rech2%, rech3%, code$, msg$, vientde$, packard$, LFile2%
ofile = App.Path & "\tools\greeknt.txt" 'pour la recherche de l'analyse du mot
packard = App.Path & "\tools\packard.txt" 'pour le déchiffrement du code de l'analyse précitée
lfile = FreeFile
LFile2 = FreeFile + 1
'j'efface tout ce qui se trouve actuellement sur la feuille du Lexique
frmLexiqueNT.txtGrec.Text = ""
frmLexiqueNT.txtVientde.Text = ""
frmLexiqueNT.txtFrancais.Text = ""
frmLexiqueNT.txtAnalyse.Text = ""
frmLexiqueNT.txtcode.Text = ""
frmLexiqueNT.txtNotes.Text = ""
' recherche du code
Open ofile For Input As #lfile
Do
Input #lfile, ligne
' les noms propres sont précédés d'un astérix
ligne = Replace(ligne, "*", "", 1)
If Left(ligne, Len(mot) + 1) = mot & "<" Then
frmLexiqueNT.txtcode.Text = ligne
Exit Do
End If
Loop While Not EOF(lfile)
Close
' définitions des variables après trouvaille du code
ligne = frmLexiqueNT.txtcode.Text
rech1% = InStr(1, ligne, "<", vbTextCompare)
rech2% = InStr(1, ligne, ">", vbTextCompare)
vientde = Mid(ligne, rech2 + 1, Len(ligne))
If Right(vientde, 1) = "S" Then
vientde = Mid(vientde, 1, Len(vientde) - 1) & "j"
End If
If Right(mot, 1) = "S" Then
mot = Mid(mot, 1, Len(mot) - 1) & "j"
End If
' affection résultats
frmLexiqueNT.txtVientde.Text = LCase(vientde)
frmLexiqueNT.txtGrec.Text = LCase(mot)
' définition du code packard
code = Mid(ligne, rech1 + 1, Len(ligne))
rech2 = InStr(1, code, ">", vbTextCompare)
If code <> "" Then
code = Left(code, rech2 - 1)
frmLexiqueNT.txtcode.Text = code ' affectation code
code = Replace(code, "
", " ", 1)
code = Replace(code, "
", " ", 1)
code = Replace(code, " ", " ", 1)
' recherche signification code packard
Else
Exit Function
End If
'packard me dit ce que mon code signifie
Open packard For Input As #LFile2
Do
Input #LFile2, ligne
If ligne = code Then
Do
If code = "X" Then
frmLexiqueNT.txtAnalyse.Text = ligne
fctLexiqueNTMorph - 2
f & ligne
Exit Do
End If
Input #LFile2, ligne
If frmLexiqueNT.txtAnalyse.Text = "" Then
frmLexiqueNT.txtAnalyse.Text = ligne
Else
frmLexiqueNT.txtAnalyse.Text = frmLexiqueNT.txtAnalyse.Text & vbCrL
End If
Loop While Not ligne = "" Or ligne = vbCrLf
Exit Do
End If
Loop While Not EOF(LFile2)
Close
End Function
fctLireANF - 1
Public Function LireANF(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\ANF\anf.txt"
lfile = FreeFile
If livre = "Justin - Apologie" Then
chercher = "JAP"
ElseIf livre = "Justin - Dialogue avec Tryphon" Then
chercher = "DJT"
ElseIf livre = "Justin - Discours avec les Grecs" Then
chercher = "JDi"
ElseIf livre = "Justin - Adresse aux Grecs" Then
chercher = "JHG"
ElseIf livre = "Justin - Sur le gouvernement de Dieu" Then
chercher = "JSG"
ElseIf livre = "Justin - Fragments sur la Résurrection" Then
chercher = "FJR"
ElseIf livre = "Irénée - Contre les Hérésies Livre 1" Then
chercher = "IH1"
ElseIf livre = "Irénée - Contre les Hérésies Livre 2" Then
chercher = "IH2"
'IH2 27:3
ElseIf livre = "Irénée - Contre les Hérésies Livre 3" Then
chercher = "IH3"
ElseIf livre = "Irénée - Contre les Hérésies Livre 4" Then
chercher = "IH4"
ElseIf livre = "Irénée - Contre les Hérésies Livre 5" Then
chercher = "IH5"
ElseIf livre = "Tatien - Adresse aux Grecs" Then
chercher = "TAG"
ElseIf livre = "Théophile d'Antioche à Autolycus" Then
chercher = "TAA"
ElseIf livre = "Athénagore - Défense des Chrétiens" Then
chercher = "PCA"
ElseIf livre = "Athénagore - Sur la Résurrections des morts" Then
chercher = "ARD"
ElseIf livre = "Clément d'Alexandrie - Exhoration aux cieux" Then
chercher = "CEH"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 1" Then
chercher = "CI1"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 2" Then
chercher = "CI2"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 3" Then
chercher = "CI3"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 4" Then
chercher = "CI4"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 5" Then
chercher = "CI5"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 6" Then
chercher = "CI6"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 7" Then
chercher = "CI7"
ElseIf livre = "Clément d'Alexandrie - Pédagogue Livre 8" Then
fctLireANF - 2
chercher = "CI8"
ElseIf livre = "Clément
chercher = "CS1"
ElseIf livre = "Clément
chercher = "CS2"
ElseIf livre = "Clément
chercher = "CS3"
ElseIf livre = "Clément
chercher = "CS4"
ElseIf livre = "Clément
chercher = "CS5"
ElseIf livre = "Clément
chercher = "CS6"
ElseIf livre = "Clément
chercher = "CS7"
ElseIf livre = "Clément
chercher = "CS8"
d'Alexandrie - Stromates Livre 1" Then
d'Alexandrie - Stromates Livre 2" Then
d'Alexandrie - Stromates Livre 3" Then
d'Alexandrie - Stromates Livre 4" Then
d'Alexandrie - Stromates Livre 5" Then
d'Alexandrie - Stromates Livre 6" Then
d'Alexandrie - Stromates Livre 8" Then
d'Alexandrie - Stromates Livre 8" Then
ElseIf livre = "Tertullien
chercher = "TAP"
ElseIf livre = "Tertullien
chercher = "TID"
ElseIf livre = "Tertullien
chercher = "TSH"
ElseIf livre = "Tertullien
chercher = "TCH"
ElseIf livre = "Tertullien
chercher = "TTS"
ElseIf livre = "Tertullien
chercher = "TAD"
ElseIf livre = "Tertullien
chercher = "TAJ"
ElseIf livre = "Tertullien
chercher = "TST"
ElseIf livre = "Tertullien
chercher = "TPH"
ElseIf livre = "Tertullien
chercher = "TM1"
ElseIf livre = "Tertullien
chercher = "TM3"
ElseIf livre = "Tertullien
chercher = "TM3"
ElseIf livre = "Tertullien
chercher = "TM4"
ElseIf livre = "Tertullien
chercher = "TM5"
ElseIf livre = "Tertullien
chercher = "TAH"
ElseIf livre = "Tertullien
chercher = "TAV"
ElseIf livre = "Tertullien
chercher = "TFC"
ElseIf livre = "Tertullien
chercher = "TRF"
ElseIf livre = "Tertullien
chercher = "TPR"
ElseIf livre = "Tertullien
chercher = "TSC"
ElseIf livre = "Tertullien
chercher = "AAH"
ElseIf livre = "Tertullien
chercher = "TOR"
ElseIf livre = "Tertullien
chercher = "TBa"
ElseIf livre = "Tertullien
chercher = "TOP"
ElseIf livre = "Tertullien
chercher = "TAM"
ElseIf livre = "Tertullien
chercher = "TPF"
ElseIf livre = "Tertullien
chercher = "TPA"
ElseIf livre = "Tertullien
chercher = "TPl"
ElseIf livre = "Tertullien
- Apologie" Then
- Sur l'idolâtrie" Then
- Sur les spectacles" Then
- Sur le chapelet" Then
- A Scapula" Then
- Ad Nationes" Then
- Réponse aux Juifs" Then
- Le témoignage de l'âme" Then
- Prescription contre les hérétiques" Then
- Contre Marcion Livre 1" Then
- Contre Marcion Livre 2" Then
- Contre Marcion Livre 3" Then
- Contre Marcion Livre 4" Then
- Contre Marcion Livre 5" Then
- Contre Hermogène" Then
- Contre les Valentiniens" Then
- Sur la chair du Christ" Then
- Sur la résurrection de la chair" Then
- Contre Praxeas" Then
- Scorpiace" Then
- Contre toutes les hérésies" Then
- Sur la repentance" Then
- Sur le baptême" Then
- Sur la prière" Then
- Ad martyras" Then
- Martyr de Perpétue et Félécie" Then
- Sur la patience" Then
- Sur le Pallium" Then
- Sur les ornements des femmes" Then
fctLireANF - 3
chercher = "TAW"
ElseIf livre = "Tertullien - Sur le voile des vierges" Then
chercher = "TVV"
ElseIf livre = "Tertullien - A sa femme" Then
chercher = "THW"
ElseIf livre = "Tertullien - Exhortation à la chasteté" Then
chercher = "TEC"
ElseIf livre = "Tertullien - Sur la monogamie" Then
chercher = "TOM"
ElseIf livre = "Tertullien - Sur la modestie" Then
chercher = "TMD"
ElseIf livre = "Tertullien - Sur les fêtes" Then
chercher = "TOF"
ElseIf livre = "Tertullien - De fuga in persecutione" Then
chercher = "TFP"
ElseIf livre = "Munucius Felix - L'Octavius" Then
chercher = "MFO"
ElseIf livre = "Munucius Felix - Instructions de Commodianus" Then
chercher = "MFC"
ElseIf livre = "Origène - Prologue" Then
chercher = "OPP"
ElseIf livre = "Origène - De Principiis Livre 1" Then
chercher = "OP1"
ElseIf livre = "Origène - De Principiis Livre 2" Then
chercher = "OP2"
ElseIf livre = "Origène - De Principiis Livre 3" Then
chercher = "OP3"
ElseIf livre = "Origène - De Principiis Livre 4" Then
chercher = "OP4"
ElseIf livre = "Origène - Lettres" Then
chercher = "OLt"
ElseIf livre = "Origène - Contre Celse" Then
chercher = "OAC"
ElseIf livre = "Origène - Réfutation de toutes les hérésies" Then
chercher = "HRH"
ElseIf livre = "Anonyme - Canon de Muratori" Then
chercher = "TMC"
ElseIf livre = "Hippolyte - Réfutation de toutes les hérésies" Then
chercher = "HRH"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireASV - 1
Public Sub LireASV(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\ASV\asv.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
fctLireASV - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireASV - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Sub
fctLireATFrN - 1
Public Function LireStrongATFrN(mot)
If mot = "" Then Exit Function
Dim cherche$, ofile, lfile, ligne$
ofile = App.Path & "\modules\Strong\shf.dat"
lfile = FreeFile
If Left(mot, 1) = "0" And Len(mot) = 4 Then
mot = "0" & mot
GoTo bonmot:
'0776 > 00776
ElseIf Left(mot, 2) = "00" And Len(mot) = 4 Then
mot = "00" & mot
GoTo bonmot:
'0076 > 00076
ElseIf Left(mot, 3) = "000" And Len(mot) = 4 Then
mot = "000" & mot
GoTo bonmot:
'0006 > 00006
End If
bonmot:
frmParse2.Text1.Text = ""
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
Line Input #lfile, ligne
'ligne = Mid(ligne, Len(mot), Len(ligne))
repere = InStr(1, ligne, " \")
repere2 = InStr(repere + 1, ligne, "\n")
ligne = Mid(ligne, repere, Len(ligne))
repere2 = InStr(2, ligne, "\n")
mothebreu = Mid(ligne, 1, repere2)
mothebreu = Replace(mothebreu, "\", "")
mothebreu = Trim(mothebreu)
Do
Line Input #lfile, ligne
If Left(ligne, 1) = "0" And Len(ligne) < 7 Then GoTo plusloin:
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Loop
End If
Loop While Not EOF(lfile)
plusloin:
Close
'01079
' 1079 \Ggenethv\n genete {ghen-et-ay}
' vient d 'un dérivé présumé de \\1074\\; n f
'LSG - naissance 1; 1
' 1) naissance, depuis la naissance
Load frmResultatStrong
texte = frmParse2.Text1.Text
strong = mot
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
=
=
=
=
=
=
=
=
=
=
Trim(texte)
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
"\\", "")
"#", "")
"1a)", vbCrLf
"1b)", vbCrLf
"1c)", vbCrLf
"1d)", vbCrLf
"1e)", vbCrLf
"1f)", vbCrLf
"2a)", vbCrLf
&
&
&
&
&
&
&
"1a)
"1b)
"1c)
"1d)
"1e)
"1f)
"2a)
")
")
")
")
")
")
")
fctLireATFrN - 2
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
"2b)", vbCrLf & "2b) ")
"2c)", vbCrLf & "2c) ")
"2d)", vbCrLf & "2d) ")
"2e)", vbCrLf & "2e) ")
"2f)", vbCrLf & "2f) ")
"3a)", vbCrLf & "3a) ")
"3b)", vbCrLf & "3b) ")
"3c)", vbCrLf & "3c) ")
"3d)", vbCrLf & "3d) ")
"3e)", vbCrLf & "3e) ")
"3f)", vbCrLf & "3f) ")
"1)", vbCrLf & "1) ")
"2)", vbCrLf & "2) ")
"3)", vbCrLf & "3) ")
"4)", vbCrLf & "4) ")
"5)", vbCrLf & "5) ")
"6)", vbCrLf & "6) ")
texte = Replace(texte, "
", " ")
If Left(strong, 3) = "000" Then strong = Mid(strong, 4, Len(strong))
If Left(strong, 2) = "00" Then strong = Mid(strong, 3, Len(strong))
If Left(strong, 1) = "0" Then strong = Mid(strong, 2, Len(strong))
mothebreu = Replace(mothebreu, "f", "j")
mothebreu = Replace(mothebreu, "c", "f")
mothebreu = Replace(mothebreu, ":", "'")
mothebreu = Replace(mothebreu, ";", "'")
mothebreu = Replace(mothebreu, "Ò", ".")
mothebreu = Replace(mothebreu, "]", ".")
mothebreu = Replace(mothebreu, "x", "c")
mothebreu = Replace(mothebreu, "!", "~")
mothebreu = Replace(mothebreu, "@", "!")
mothebreu = Replace(mothebreu, "$", "#")
mothebreu = Replace(mothebreu, "/", "o")
mothebreu = Replace(mothebreu, ">", "/")
mothebreu = Replace(mothebreu, "¿", "")
'¿
frmResultatStrong.lblNStrong.Caption = "Strong : " & strong
frmResultatStrong.Font = "Bwhebb"
frmResultatStrong.FontSize = 16
frmResultatStrong.lblMotH.Caption = Mid(mothebreu, 2, Len(mothebreu))
texte = Replace(texte, "
", "")
frmResultatStrong.txtStrong.Text = texte
If frmAutomatos.Visible = False Then
frmResultatStrong.Show
End If
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Output As #lfile
Print #lfile, texte
Close
End Function
fctLireBBE - 1
Public Function LireBBE(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\BBE\bbe.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
fctLireBBE - 2
ElseIf livre = "Jérémie" Then
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
fctLireBBE - 3
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireBBE - 4
fctLireBFC - 1
Public Function LireBFC(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\BFC\bfc.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
fctLireBFC - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireBFC - 3
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & "-" & verset & " "
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireBHS - 1
Public Function LireBHS(livre, chapitre, verset)
Dim fichier$, lfile%, passage$, ligne$, inverse$, texte$
lfile = FreeFile
fichier = App.Path & "\modules\bhs\bhs.txt"
frmBible.txtPassage.Font = "OLBHEB"
frmBible.txtPassage.FontSize = "14"
' détermination du passage
If livre = "Genèse" Then
passage = "Gen" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Exode" Then
passage = "Exo" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Lévitique" Then
passage = "Lev" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Nombres" Then
passage = "Nom" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Deutéronome" Then
passage = "Deu" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Josué" Then
passage = "Jos" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Josué" Then
passage = "Jos" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Juges" Then
passage = "Jug" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Ruth" Then
passage = "Rut" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "1 Samuel" Then
passage = "Samun" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "2 Samuel" Then
passage = "Samede" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "1 Rois" Then
passage = "UnRo" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "2 Rois" Then
passage = "DeRo" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "1 Chroniques" Then
passage = "UnCh" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "2 Chroniques" Then
passage = "DeCh" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Esdras" Then
passage = "Esd" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Néhémie" Then
passage = "Neh" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Esther" Then
passage = "Est" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Job" Then
passage = "Job" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Psaumes" Then
passage = "Psa" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Proverbes" Then
passage = "Pro" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Ecclésiaste" Then
passage = "Ecc" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Cantique des cantiques" Then
passage = "Can" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Esaïe" Then
passage = "Esa" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Jérémie" Then
passage = "Jer" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Lamentations" Then
passage = "Lam" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Ezéchiel" Then
passage = "Eze" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Daniel" Then
passage = "Dan" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Osée" Then
passage = "Ose" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Joël" Then
passage = "Joe" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Amos" Then
passage = "Amo" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Abdias" Then
passage = "Oba" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Jonas" Then
passage = "Jon" & "-" & chapitre & "-" & verset & "-"
fctLireBHS - 2
ElseIf livre = "Michée" Then
passage = "Mic" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Nahoum" Then
passage = "Nah" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Habaquq" Then
passage = "Hab" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Sophonie" Then
passage = "Sop" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Aggée" Then
passage = "Agg" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Zacharie" Then
passage = "Zac" & "-" & chapitre & "-" & verset & "-"
ElseIf livre = "Malachie" Then
passage = "Mal" & "-" & chapitre & "-" & verset & "-"
Else
passage = MsgBox("Vous n'avez pas sélectionné de livre !", vbExclamation, "Quel verset désirez-vous
?")
Exit Function
End If
' fin de la détermination du passage
' recherche du verset (le passage)
Open fichier For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(passage)) = passage Then
frmBible.txtPassage.Text = Mid(ligne, Len(passage) + 1, Len(ligne))
Exit Do
End If
Loop While Not EOF(lfile)
Close
' lecture droite à gauche
inverse = StrReverse(frmBible.txtPassage.Text)
frmBible.txtPassage.Text = inverse
' translitération fichier d'origine > format police OLBHEB
passage = frmBible.txtPassage.Text
passage = Replace(passage, ".", " ", 1, , vbTextCompare)
' bien entendu, je commence par la chaîne de caractère la plus longue
' pour le remplacement, puis la plus petite
' Attention : le remplacement d'une lettre finale oblige à l'insertion
' d'un espace supplémentaire, pour faire coupure avec le mot suivant
' vav avec espace
passage = Replace(passage,
'aleph avec espace
passage = Replace(passage,
passage = Replace(passage,
' tsadé final
' tsadé
passage = Replace(passage,
' tsadé
passage = Replace(passage,
' mem final
passage = Replace(passage,
' kaf final
passage = Replace(passage,
' pé final
passage = Replace(passage,
' noun final
passage = Replace(passage,
' ayin
passage = Replace(passage,
' samekh
passage = Replace(passage,
"v ", "w ", , , vbTextCompare)
"` ", "a ", , , vbTextCompare)
" `", " a", , , vbTextCompare)
" &", " U", , , vbTextCompare)
"&", "u", , , vbTextCompare)
" m", " M", , , vbTextCompare)
" k", " K", , , vbTextCompare)
" p", " P", , , vbTextCompare)
" n", " N", , , vbTextCompare)
"j", "e", , , vbTextCompare)
"$", "o", , , vbTextCompare)
fctLireBHS - 3
' tet
passage = Replace(passage, "+", "j", , , vbTextCompare)
' sof passouk (fin du verset...)
passage = Replace(passage, ".", " :", , , vbTextCompare)
' vav
passage = Replace(passage, "v", "w", , , vbTextCompare)
' aleph
passage = Replace(passage, "`", "a", , , vbTextCompare)
' tsadé non final
passage = Replace(passage, "&", "u", , , vbTextCompare)
frmBible.txtPassage.Text = ":" & passage
frmBible.txtPassage.ToolTipText = "Attention, lecture de droite à gauche, et de bas en haut !"
'frmBible.txtPassage.RightToLeft = True
frmBible.txtPassage.Alignment = 1
End Function
fctLireBHSStrongs - 1
Public Function LireBHSStrong(livre, chapitre, verset)
Dim fichier$, lfile%, passage$, ligne$, inverse$, texte$
lfile = FreeFile
fichier = App.Path & "\modules\bhs\olb.txt"
frmBible.txtPassage.Font = "OLBHEB"
frmBible.txtPassage.FontSize = "14"
' détermination du passage
If livre = "Genèse" Then
passage = "Genesis"
ElseIf livre = "Exode" Then
passage = "Exodus"
ElseIf livre = "Lévitique" Then
passage = "Leviticus"
ElseIf livre = "Nombres" Then
passage = "Numbers"
ElseIf livre = "Deutéronome" Then
passage = "Deuteronomus"
ElseIf livre = "Josué" Then
passage = "Joshua"
ElseIf livre = "Juges" Then
passage = "Judges"
ElseIf livre = "Ruth" Then
passage = "Ruth"
ElseIf livre = "1 Samuel" Then
passage = "1 Samuel"
ElseIf livre = "2 Samuel" Then
passage = "1 Samuel"
ElseIf livre = "1 Rois" Then
passage = "1 Kings"
ElseIf livre = "2 Rois" Then
passage = "1 Kings"
ElseIf livre = "1 Chroniques" Then
passage = "1 Chronicles"
ElseIf livre = "2 Chroniques" Then
passage = "2 Chronicles"
ElseIf livre = "Esdras" Then
passage = "Ezra"
ElseIf livre = "Néhémie" Then
passage = "Nehemia"
ElseIf livre = "Esther" Then
passage = "Esther"
ElseIf livre = "Job" Then
passage = "Job"
ElseIf livre = "Psaumes" Then
passage = "Psalms"
ElseIf livre = "Proverbes" Then
passage = "Proverbs"
ElseIf livre = "Ecclésiaste" Then
passage = "Ecclesiastes"
ElseIf livre = "Cantique des cantiques" Then
passage = "Song of Salomon"
ElseIf livre = "Esaïe" Then
passage = "Isaiah "
ElseIf livre = "Jérémie" Then
passage = "Jeremia"
ElseIf livre = "Lamentations" Then
passage = "Lamentations"
ElseIf livre = "Ezéchiel" Then
passage = "Ezekiel"
ElseIf livre = "Daniel" Then
passage = "Daniel"
ElseIf livre = "Osée" Then
passage = "Hosea"
ElseIf livre = "Joël" Then
passage = "Joel"
ElseIf livre = "Amos" Then
passage = "Amos"
ElseIf livre = "Abdias" Then
passage = "Obadiah"
ElseIf livre = "Jonas" Then
passage = "Jonah"
ElseIf livre = "Michée" Then
passage = "Micah "
fctLireBHSStrongs - 2
ElseIf livre = "Nahoum" Then
passage = "Nahum"
ElseIf livre = "Habaquq" Then
passage = "Habakkuk"
ElseIf livre = "Sophonie" Then
passage = "Zephaniah"
ElseIf livre = "Aggée" Then
passage = "Haggai"
ElseIf livre = "Zacharie" Then
passage = "Zechariah"
ElseIf livre = "Malachie" Then
passage = "Malachi"
Else
passage = MsgBox("Vous n'avez pas sélectionné de livre !", vbExclamation, "Quel verset désirez-vous
?")
Exit Function
End If
' fin de la détermination du passage
'passage : Genesis 1
'verset : instr : "(" & chapitre & ":" & verset & ")"
passage = passage & " " & chapitre
verset = "(" & chapitre & ":" & verset & ")"
' recherche du verset (le passage)
Open fichier For Input As #lfile
On Error GoTo apres:
Do
Line Input #lfile, ligne
If ligne = passage Then
If InStr(1, ligne, verset) <> 0 Then
frmParse2.Text1.Text = ligne
Exit Do
Else
Do
Line Input #lfile, ligne
If InStr(1, ligne, verset) <> 0 Then
frmParse2.Text1.Text = ligne
Exit Do
End If
Loop
End If
End If
Loop While Not EOF(lfile)
apres:
Close
texte = frmParse2.Text1.Text
texte = Replace(texte, " <", vbCrLf & "<")
fichier = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open fichier For Output As #lfile
Print #lfile, texte
Close
lfile = FreeFile
texte = ""
Open fichier For Input As #lfile
Do
Line Input #lfile, ligne
If Len(ligne) < 4 Then GoTo suite:
repere = InStr(1, ligne, ">") + 1
texte = texte & Mid(ligne, repere, Len(ligne))
suite:
Loop While Not EOF(lfile)
Close
texte = Replace(texte, verset, "")
frmBible.txtPassage.Text = texte
fctLireBHSStrongs - 3
frmBible.txtPassage.Alignment = 1
verset = frmBible.txtverset.Text
frmBible.lblchapitre.Caption = livre & " " & chapitre & ":" & verset
'frmBible.txtPassage.MultiLine = False
'frmBible.txtPassage.ScrollBars = 2
End Function
fctLireBHSUnicode - 1
Public Function LireBHSUnicode(livre, chapitre, verset)
Dim ofile, lfile, ligne, recherche, textefinal, ofile2, LFile2
ofile = App.Path & "\modules\BHS\text.rtf"
ofile2 = App.Path & "\modules\BHS\WLC.rtf"
lfile = FreeFile
recherche = livre & "--" & chapitre & "-" & verset
Open ofile2 For Input As #lfile
Do
Line Input #lfile, ligne
frmParse.txtBHS.Text = ligne
If Mid(frmParse.txtBHS.Text, 1, Len(recherche)) = recherche Then
frmParse2.Text1.TextRTF = ligne
Exit Do
'LFile2 = FreeFile + 1
'Open ofile For Output As #LFile2
'Write #LFile2, ligne
End If
Loop While Not EOF(lfile)
Close
Load frmParse2
frmParse2.Show
'lfile = FreeFile
'Open ofile For Input As #lfile
'Line Input #lfile, ligne
'textefinal = ligne
'Close
'frmBible.txtPassage.Text = StrConv(textefinal, vbFromUnicode)
'Load frmParse
'frmParse2.Text1.Text = frmParse2.Text1.Text
'frmParse2.Show
'frmParse2.Show
End Function
fctLireBHSV - 1
Public Function LireBHSV(livre, chapitre, verset)
Dim cherche$, ofile$, ofile2$, lfile, LFile2, ligne$, recherhche$, textetrouve$
ofile = App.Path & "\modules\BHSv\wtt.txt"
lfile = FreeFile
LFile2 = FreeFile + 1
frmBible.txtPassage.RightToLeft = True
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
fctLireBHSV - 2
ElseIf livre = "Jérémie" Then
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
End If
recherche2 = chercher & " " & chapitre & ":" & verset
' format de la recherche 'Gen 1:1 '
recherche = chercher & " " & chapitre & ":" & verset & " "
'frmBible.txtPassage.MultiLine = False
'frmBible.txtPassage.ScrollBars = vbHorizontal
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
toto = Replace(frmBible.txtPassage.Text, " ", vbCrLf)
ofile2 = App.Path & "\tools\temp.txt"
LFile2 = FreeFile + 1
Open ofile2 For Output As #LFile2
Print #LFile2, toto
End If
fctLireBHSV - 3
Loop While Not EOF(lfile)
Close
' je configure l'affichage de la feuille principale
frmBible.txtPassage.FontSize = 18
frmBible.txtPassage.Font = "Bwhebb"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctlireCBC - 1
Public Function LireCBC(mot)
Dim fichier$, def$, lfile%
lfile = FreeFile
fichier = App.Path & "\modules\CBC\cbc.txt"
def = App.Path & "\modules\KJV\def.htm"
frmParse2.Text1.Text = ""
mot = UCase(mot)
Open fichier For Input As #lfile
Do
Input #lfile, ligne
If ligne = mot Then
frmParse2.Text1.Text = ligne
Do
On err GoTo suite:
Input #lfile, ligne
frmParse2.Text1.Text = frmParse2.Text1.Text & vbCrLf & ligne
Loop While Not ligne = "" Or ligne = vbCrLf
End If
Loop While Not EOF(lfile)
suite:
Close
lfile = FreeFile + 1
frmParse2.Text1.Text = Replace(frmParse2.Text1.Text, "~", ",")
If frmParse2.Text1.Text = "" Then
frmParse2.Text1.Text = "<b>" & UCase(mot) & "</b>" & "<br>" & "<i>" & "Pas de définition pour ce mo
t." & "</i>"
End If
Open def For Output As #lfile
Print #lfile, frmParse2.Text1.Text
Close
Load frmBrowser
frmBrowser.WindowState = 0
frmBrowser.cboAddress.Text = def
frmBrowser.Show
End Function
fctLireCodeMorph - 1
Public Function LireCodeMorph(code)
If Mid(code, 1, 1) = "n" Then
Call LireCodeMorphNom(code)
Exit Function
ElseIf Mid(code, 1, 1) = "v" Then
Call LireCodeMorphVerbe(code)
Exit Function
ElseIf Mid(code, 1, 1) = "a" Then
Call LireCodeMorphAdjectif(code)
Exit Function
ElseIf Mid(code, 1, 1) = "r" Then
Call LireCodeMorphPronom(code)
Exit Function
ElseIf Mid(code, 1, 1) = "c" Then
Call LireCodeMorphConjonction(code)
Exit Function
ElseIf Mid(code, 1, 1) = "t" Then
Call LireCodeMorphIndeclinable(code)
Exit Function
ElseIf Mid(code, 1, 1) = "x" Then
Call LireCodeMorphParticule(code)
Exit Function
ElseIf Mid(code, 1, 1) = "i" Then
Call LireCodeMorphInterjection(code)
Exit Function
ElseIf Mid(code, 1, 1) = "p" Then
Call LireCodeMorphPreposition(code)
Exit Function
ElseIf Mid(code, 1, 1) = "b" Then
Call LireCodeMorphAdverbe(code)
Exit Function
ElseIf Mid(code, 1, 1) = "d" Then
Call LireCodeMorphArticle(code)
Exit Function
End If
End Function
fctLireCodeMorphAdjectif - 1
Public Function LireCodeMorphAdjectif(code)
ttype = "adjectif (a)"
'les codes morpho de WH présentent une absence de ttype2
'contrairement, apparemment, à ceux de NA27
If Len(code) > 5 Then
ttype2 = Mid(code, 2, 1)
cas = Mid(code, 3, 1)
genre = Mid(code, 4, 1)
nombre = Mid(code, 5, 1)
degre = Mid(code, 6, 1)
ElseIf Len(code) = 5 Then
cas = Mid(code, 2, 1)
genre = Mid(code, 3, 1)
nombre = Mid(code, 4, 1)
degre = Mid(code, 5, 1)
'il y a peut être d'autres cas...
End If
' TTYPE2 = TYPE
If ttype2 =
If ttype2 =
If ttype2 =
If ttype2 =
If ttype2 =
If ttype2 =
If ttype2 =
If ttype2 =
If ttype2 =
' CAS
If
If
If
If
If
cas
cas
cas
cas
cas
=
=
=
=
=
D'ADJECTIF
"n" Then ttype2
"s" Then ttype2
"d" Then ttype2
"q" Then ttype2
"i" Then ttype2
"t" Then ttype2
"c" Then ttype2
"o" Then ttype2
"m" Then ttype2
"n"
"g"
"a"
"d"
"v"
Then
Then
Then
Then
Then
cas
cas
cas
cas
cas
=
=
=
=
=
=
=
=
=
=
=
=
=
=
"normal (n)"
"possessif (s)"
"démonstratif (d)"
"interrogatif (q)"
"indéfini (i)"
"intensif (t)"
"cardinal (c)"
"ordinal (o)"
"nombre (m)"
"nominatif (n)"
"génitif (g)"
"accusatif (a)"
"datif (d)"
"vocatif (v)"
' GENRE
If genre = "f" Then genre = "féminin (f)"
If genre = "m" Then genre = "masculin (m)"
If genre = "n" Then genre = "neutre (n)"
'NOMBRE
If nombre = "s" Then nombre = "singulier (s)"
If nombre = "p" Then nombre = "pluriel (p)"
'DEGRE
If degre = "n" Then degre = "aucun (n)"
If degre = "c" Then degre = "comparatif (c)"
If degre = "s" Then degre = "superlatif (s)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
If ttype2 = "" Then ttype2 = "
"
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(ttype2, 1, Len(tty
pe2) - 3) & Mid(cas, 1, Len(cas) - 3) & Mid(genre, 1, Len(genre) - 3) & Mid(nombre, 1, Len(nombre)
- 3) & Mid(degre, 1, Len(degre) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = ttype2
frmAssistant.cbo3.Text = cas
frmAssistant.cbo4.Text = genre
frmAssistant.cbo5.Text = nombre
If degre = "aucun (n)" Then degre = ""
frmAssistant.cbo6.Text = degre
End Function
fctLireCodeMorphAdverbe - 1
Public Sub LireCodeMorphAdverbe(code)
ttype = "adverbe (b)"
'CAS
If
If
If
If
cas
cas
cas
cas
=
=
=
=
"g"
"a"
"d"
"p"
Then
Then
Then
Then
cas
cas
cas
cas
=
=
=
=
"génitif (g)"
"accusatif (a)"
"datif (d)"
"indéterminé (p)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = ""
frmAssistant.cbo3.Text = ""
frmAssistant.cbo4.Text = ""
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Sub
fctLireCodeMorphArticle - 1
Public Sub LireCodeMorphArticle(code)
ttype = "article défini (d)"
cas = Mid(code, 2, 1)
genre = Mid(code, 3, 1)
nombre = Mid(code, 4, 1)
' CAS
If
If
If
If
If
cas
cas
cas
cas
cas
=
=
=
=
=
"n"
"g"
"a"
"d"
"v"
Then
Then
Then
Then
Then
cas
cas
cas
cas
cas
=
=
=
=
=
"nominatif (n)"
"génitif (g)"
"accusatif (a)"
"datif (d)"
"vocatif (v)"
' GENRE
If genre = "f" Then genre = "féminin (f)"
If genre = "m" Then genre = "masculin (m)"
If genre = "n" Then genre = "neutre (n)"
'NOMBRE
If nombre = "s" Then nombre = "singulier (s)"
If nombre = "p" Then nombre = "pluriel (p)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(cas, 1, Len(cas) 3) & Mid(genre, 1, Len(genre) - 3) & Mid(nombre, 1, Len(nombre) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = cas
frmAssistant.cbo3.Text = genre
frmAssistant.cbo4.Text = nombre
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Sub
fctLireCodeMorphConjonction - 1
Public Function LireCodeMorphConjonction(code)
ttype = "conjonction (c)"
cas = Mid(code, 2, 1)
' CAS
If cas = "c" Then cas = "coordination (c)"
If cas = "s" Then cas = "subordination (s)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & "de " & Mid(cas, 1, Le
n(cas) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = cas
frmAssistant.cbo3.Text = ""
frmAssistant.cbo4.Text = ""
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Function
fctLireCodeMorphIndeclinable - 1
Public Function LireCodeMorphIndeclinable(code)
ttype = "indéclinable (t)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = ""
frmAssistant.cbo3.Text = ""
frmAssistant.cbo4.Text = ""
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Function
fctLireCodeMorphInterjection - 1
Public Sub LireCodeMorphInterjection(code)
ttype = "interjection (i)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = ""
frmAssistant.cbo3.Text = ""
frmAssistant.cbo4.Text = ""
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Sub
fctLireCodeMorphNom - 1
Public Function LireCodeMorphNom(code)
ttype = "nom (n)"
cas = Mid(code, 2, 1)
genre = Mid(code, 3, 1)
nombre = Mid(code, 4, 1)
ttype2 = Mid(code, 5, 1)
' CAS
If cas = "n" Then cas
If cas = "g" Then cas
If cas = "a" Then cas
If cas = "d" Then cas
If cas = "v" Then cas
=
=
=
=
=
"nominatif (n)"
"génitif (g)"
"accusatif (a)"
"datif (d)"
"vocatif (v)"
' GENRE
If genre = "f" Then genre = "féminin (f)"
If genre = "m" Then genre = "masculin (m)"
If genre = "n" Then genre = "neutre (n)"
'NOMBRE
If nombre = "s" Then nombre = "singulier (s)"
If nombre = "p" Then nombre = "pluriel (p)"
' TYPE
If ttype2 = "c" Then ttype2 = "(nom commun) (c)"
If ttype2 = "p" Then ttype2 = "(nom propre) (p)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(cas, 1, Len(cas) 3) & Mid(genre, 1, Len(genre) - 3) & Mid(nombre, 1, Len(nombre) - 3) & Mid(ttype2, 1, Len(ttype2)
- 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = cas
frmAssistant.cbo3.Text = genre
frmAssistant.cbo4.Text = nombre
frmAssistant.cbo5.Text = ttype2
frmAssistant.cbo6.Text = ""
End Function
fctLireCodeMorphParticule - 1
Public Function LireCodeMorphParticule(code)
ttype = "particule (x)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = ""
frmAssistant.cbo3.Text = ""
frmAssistant.cbo4.Text = ""
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Function
fctLireCodeMorphPreposition - 1
Public Sub LireCodeMorphPreposition(code)
ttype = "préposition (p)"
cas = Mid(code, 2, 1)
'CAS
If
If
If
If
cas
cas
cas
cas
=
=
=
=
"g"
"a"
"d"
"p"
Then
Then
Then
Then
cas
cas
cas
cas
=
=
=
=
"génitif (g)"
"accusatif (a)"
"datif (d)"
"indéterminé (p)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(cas, 1, Len(cas) 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = cas
frmAssistant.cbo3.Text = ""
frmAssistant.cbo4.Text = ""
frmAssistant.cbo5.Text = ""
frmAssistant.cbo6.Text = ""
End Sub
fctLireCodeMorphPronom - 1
Public Function LireCodeMorphPronom(code)
ttype = "pronom (r)"
ttype2 = Mid(code, 2, 1)
cas = Mid(code, 3, 1)
genre = Mid(code, 4, 1)
nombre = Mid(code, 5, 1)
'TYPE
If
If
If
If
If
If
If
If
ttype2
ttype2
ttype2
ttype2
ttype2
ttype2
ttype2
ttype2
' CAS
If
If
If
If
If
cas
cas
cas
cas
cas
=
=
=
=
=
=
=
=
=
=
=
=
=
"n"
"g"
"a"
"d"
"v"
"p"
"r"
"d"
"q"
"i"
"t"
"x"
"e"
Then
Then
Then
Then
Then
Then
Then
Then
Then
Then
Then
Then
Then
cas
cas
cas
cas
cas
ttype2
ttype2
ttype2
ttype2
ttype2
ttype2
ttype2
ttype2
=
=
=
=
=
=
=
=
=
=
=
=
=
"personnel (p)"
"relatif (r)"
"démonstratif (d)"
"interrogatif (q)"
"indéfini (i)"
"intensif (t)"
"réfléchi (x)"
"réciproque (e)"
"nominatif (n)"
"génitif (g)"
"accusatif (a)"
"datif (d)"
"vocatif (v)"
' GENRE
If genre = "f" Then genre =
If genre = "m" Then genre =
If genre = "n" Then genre =
If genre = "-" Then genre =
'NOMBRE
If nombre = "s" Then nombre
If nombre = "p" Then nombre
"féminin (f)"
"masculin (m)"
"neutre (n)"
"commun (-)"
= "singulier (s)"
= "pluriel (p)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(ttype2, 1, Len(tty
pe2) - 3) & Mid(cas, 1, Len(cas) - 3) & Mid(genre, 1, Len(genre) - 3) & Mid(nombre, 1, Len(nombre)
- 3)
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = ttype2
frmAssistant.cbo3.Text = cas
frmAssistant.cbo4.Text = genre
frmAssistant.cbo5.Text = nombre
frmAssistant.cbo6.Text = ""
End Function
fctLireCodeMorphVerbe - 1
Public Function LireCodeMorphVerbe(code)
On Error GoTo apres:
ttype = "verbe (v)"
'soit le verbe est NORMAL
If Len(code) = 6 Then
Mode = Mid(code, 2, 1)
temps = Mid(code, 3, 1)
voix = Mid(code, 4, 1)
personne = Mid(code, 5, 1)
nombre = Mid(code, 6, 1)
Else ' soit le verbe est PARTICIPE, dans ce cas il est plus long d'un caractère (le CAS)
Mode = Mid(code, 2, 1)
temps = Mid(code, 3, 1)
voix = Mid(code, 4, 1)
cas = Mid(code, 5, 1)
genre = Mid(code, 6, 1)
nombre = Mid(code, 7, 1)
End If
' MODE
If
If
If
If
If
If
If
Mode
Mode
Mode
Mode
Mode
Mode
Mode
=
=
=
=
=
=
=
"i"
"s"
"o"
"m"
"n"
"p"
"r"
Then
Then
Then
Then
Then
Then
Then
Mode
Mode
Mode
Mode
Mode
Mode
Mode
=
=
=
=
=
=
=
"indicatif (i)"
"subjonctif (s)"
"optatif (o)"
"impératif (m)"
"infinitif (n)"
"participe (p)"
"impératif (r)"
' TEMPS
'If temps = "2f" Then temps
'If temps = "2a" Then temps
'If temps = "2l" Then temps
'If temps = "2r" Then temps
If temps = "p" Then temps =
If temps = "i" Then temps =
If temps = "f" Then temps =
If temps = "a" Then temps =
If temps = "x" Then temps =
If temps = "y" Then temps =
If temps = "z" Then temps =
'VOIX
If
If
If
If
voix
voix
voix
voix
=
=
=
=
"a"
"m"
"p"
"e"
Then
Then
Then
Then
voix
voix
voix
voix
=
=
=
=
= "futur second"
= "aoriste second"
= "pqp second"
= "parfait second"
"présent (p)"
"imparfait (i)"
"futur (f)"
"aoriste (a)"
"parfait (x)"
"plusqueparfait (y)"
"futur du parfait (z)"
"actif (a)"
"moyen (m)"
"passif (p)"
"moyen ou passif (e)"
' CAS (pour les participes)
If cas = "n" Then cas = "nominatif (n)"
If cas = "g" Then cas = "génitif (g)"
If cas = "a" Then cas = "accusatif (a)"
If cas = "d" Then cas = "datif (d)"
If cas = "v" Then cas = "vocatif (v)"
' GENRE (pour les participe)
If genre = "m" Then genre = "masculin (m)"
If genre = "f" Then genre = "féminin (f)"
If genre = "n" Then genre = "neutre (n)"
'PERSONNE
If personne = "1" Then personne = "1ère personne (1)"
If personne = "2" Then personne = "2ème personne (2)"
If personne = "3" Then personne = "3ème personne (3)"
'NOMBRE
If nombre = "s" Then nombre = "singulier (s)"
If nombre = "p" Then nombre = "pluriel (p)"
' AFFECTATIONS
'1) je renseigne la petite fenêtre Analyse Morphologique
'VERBES
fctLireCodeMorphVerbe - 2
If Len(code) = 6 Then
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(Mode, 1, Len(Mode)
- 3) & Mid(temps, 1, Len(temps) - 3) & Mid(voix, 1, Len(voix) - 3) & Mid(personne, 1, Len(personne
) - 3) & Mid(nombre, 1, Len(nombre) - 3)
frmAnalyseMorphologique.Show
frmAnalyseMorphologique.lblanalyse.Caption = Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
", " ")
ElseIf Len(code) = 7 Then
'PARTICIPES
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(Mode, 1, Len(Mode)
- 3) & Mid(temps, 1, Len(temps) - 3) & Mid(voix, 1, Len(voix) - 3) & Mid(cas, 1, Len(cas) - 3) & M
id(genre, 1, Len(genre) - 3) & Mid(nombre, 1, Len(nombre) - 3)
frmAnalyseMorphologique.lblanalyse.Caption = Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
", " ")
'INFINITIFS qui n'ont que quatre caractères : ex. Verbe Infinitif Aaoriste Actif (vnaa)
ElseIf Len(code) = 4 Then
frmAnalyseMorphologique.lblanalyse.Caption = Mid(ttype, 1, Len(ttype) - 3) & Mid(Mode, 1, Len(Mode)
- 3) & Mid(temps, 1, Len(temps) - 3) & Mid(voix, 1, Len(voix) - 3)
frmAnalyseMorphologique.lblanalyse.Caption = Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
", " ")
End If
'2) je renseigne les ComboBox de l'Assistant de recherche morphologique
Load frmAssistant
If Len(code) = 6 Then
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = Mode
frmAssistant.cbo3.Text = temps
frmAssistant.cbo4.Text = voix
frmAssistant.cbo5.Text = personne
frmAssistant.cbo6.Text = nombre
Else
frmAssistant.cbo1.Text = ttype
frmAssistant.cbo2.Text = Mode
frmAssistant.cbo3.Text = temps
frmAssistant.cbo4.Text = voix
frmAssistant.cbo5.Text = cas
frmAssistant.cbo6.Text = genre
frmAssistant.cbo7.Text = nombre
frmAssistant.cbo7.Visible = True
End If
Exit Function
apres:
'msg = MsgBox("Une erreur s'est produite : " & err.Number, vbExclamation, "Erreur")
End Function
fctLireComplement - 1
Public Function LireComplement(complement)
Dim ofile$
Dim lfile%
Dim ligne$
Dim Resultat$
complement = Replace(complement, "{", "")
complement = Replace(complement, "}", "")
ofile = App.Path & "\lex\Robinson.dat"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If ligne = complement Then
Line Input #lfile, ligne
Resultat = LCase(ligne)
Exit Do
End If
Loop While Not EOF(lfile)
Close
'PLUSIEURS
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
MOTS
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
'TYPE DE MOTS
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
' DECLINAISONS DES NOMS
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
' GENRES
Resultat =
Resultat =
Resultat =
' NOMBRE
Resultat =
Resultat =
' VOIX
Resultat =
Resultat =
Resultat =
Resultat =
Resultat =
' TYPES DE
Resultat =
Resultat =
Resultat =
"conjunctive particle", "particule conjonctive")
"proper noun", "nom propre")
"personal pronoun", "pronom personnel")
"relative pronoun", "pronom relatif")
"demonstrative pronoun", "pronom démonstratif")
"reflexive pronoun", "pronom réfléchi")
"personal adjective", "adjectif personnel")
"relative adjective", "adjectif relatif")
"demonstrative adjective", "adjectif démonstratif")
"reflexive adjective", "adjectif réfléchi")
"definite article", "article défini")
"indefinite article", "article indéfini")
"adjective", "adjectif")
"noun", "nom")
"verb", "verbe")
"pronoun", "pronom")
"adverb", "adverbe")
"preposition", "préposition")
"participle", "participe")
"nominative", "nominatif")
"accusative", "accusatif")
"dative", "datif")
"genitive", "genitif")
"vocative", "vocatif")
Replace(Resultat, "masculine", "masculin")
Replace(Resultat, "feminine", "feminin")
Replace(Resultat, "neuter", "neutre")
Replace(Resultat, "singular", "singulier")
Replace(Resultat, "plural", "pluriel")
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
PRONOM
Replace(Resultat,
Replace(Resultat,
Replace(Resultat,
"middle or passive", "moyen ou passif")
"active", "actif")
"passive", "passif")
"middle", "moyen")
"deponent", "déponent")
"relative", "relatif")
"demonstrative", "demonstratif")
"reflexive", "réfléchi")
fctLireComplement - 2
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
' NOMBRE DES CONJUGAISONS
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
' TEMPS DES VERBES
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
' MODES DES VERBES
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
'DEGRE
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
'Autre
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
Resultat = Replace(Resultat,
complement = Resultat
End Function
"personal", "personnel")
"interrogative", "interrogatif")
"first person", "1ère pers.")
"second person", "2ème pers.")
"third person", "3ème pers.")
"present", "présent")
"aorist", "aoriste")
"future", "futur")
"perfect", "parfait")
"pluperfect", "p-q-p")
"indicative", "indicatif")
"imperative", "imperatif")
"subjonctive", "subjonctif")
"infinitive", "infinitif")
"comparative", "comparatif")
"superlative", "superlatif")
"particle", "particule")
"conjunction", "conjonction ")
"indefinite", "indéfini")
"attic form", "(forme attique)")
"contracted", "contracte")
"inpure", "impropre")
"irregular", "irrégulière")
" or ", " ou ")
"form", "forme")
"negative", "négatif")
"indeclinable", "indéclinable")
"definite", "défini")
"indefinite", "indéfini")
"article", "article")
fctLireCRP - 1
Public Function LireCRP(livre, chapitre, verset)
Dim ofile$, lfile%, ligne$
'verset = "1"
ofile = App.Path & "\modules\CRP\Crp.txt"
lfile = FreeFile
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If ligne = livre Then
'j'ai trouvé mon livre; je cherche maintenant mon chapitre
Do
Line Input #lfile, ligne
If ligne = "Chapitre " & chapitre Then
'j'ai trouvé mon chapitre, je cherche mon verset
Do
rset) + 2, Len(ligne))
Line Input #lfile, ligne
If Left(ligne, Len(verset)) = verset Then
frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, Len(ve
Do
Line Input #lfile, ligne
If Left(ligne, 1) = "1" Or Left(ligne, 1) = "2" Or Left(ligne,
1) = "3" _
Or Left(ligne, 1) = "4" Or Left(ligne, 1) = "5" Or Left(lig
ne, 1) = "6" _
Or Left(ligne, 1) = "7" Or Left(ligne, 1) = "8" Or Left(lig
ne, 1) = "9" Then
GoTo apres:
Else
frmBible.txtPassage.Text = frmBible.txtPassage.Text & ligne
End If
Loop
End If
Loop
End If
Loop
apres:
End If
Loop While Not EOF(lfile)
err:
Close
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireDarby - 1
Public Function LireDarby(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\Darby\darby.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
fctLireDarby - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireDarby - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireDR - 1
Public Function LireDR(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\DR\dr.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
fctLireDR - 2
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireDR - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireDR - 4
fctLireFillion - 1
Public Function LireFillion(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\Fillion\Fillion.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gn"
ElseIf livre = "Exode" Then
chercher = "Ex"
ElseIf livre = "Lévitique" Then
chercher = "Lv"
ElseIf livre = "Nombres" Then
chercher = "Nb"
ElseIf livre = "Deutéronome" Then
chercher = "Dt"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jg"
ElseIf livre = "Ruth" Then
chercher = "Rt"
ElseIf livre = "1 Samuel" Then
chercher = "I S"
ElseIf livre = "2 Samuel" Then
chercher = "II S"
ElseIf livre = "1 Rois" Then
chercher = "I R"
ElseIf livre = "2 Rois" Then
chercher = "II R"
ElseIf livre = "1 Chroniques" Then
chercher = "I Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "II Ch"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Ne"
ElseIf livre = "Tobie" Then
chercher = "Tb"
ElseIf livre = "Judith" Then
chercher = "Jdt"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "1 Maccabées" Then
chercher = "I M"
ElseIf livre = "2 Maccabées" Then
chercher = "II M"
ElseIf livre = "Job" Then
chercher = "Jb"
ElseIf livre = "Psaumes" Then
chercher = "Ps"
ElseIf livre = "Proverbes" Then
fctLireFillion - 2
chercher = "Pr"
ElseIf livre = "Ecclésiaste" Then
chercher = "Qo"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Ct"
ElseIf livre = "Sagesse" Then
chercher = "Sg"
ElseIf livre = "Ecclésiastique" Then
chercher = "Si"
ElseIf livre = "Esaïe" Then
chercher = "Is"
ElseIf livre = "Jérémie" Then
chercher = "Jr"
ElseIf livre = "Lamentations" Then
chercher = "Lm"
ElseIf livre = "Baruch" Then
chercher = "Ba"
ElseIf livre = "Ezéchiel" Then
chercher = "Ez"
ElseIf livre = "Daniel" Then
chercher = "Dn"
ElseIf livre = "Osée" Then
chercher = "Os"
ElseIf livre = "Joël" Then
chercher = "Jl"
ElseIf livre = "Amos" Then
chercher = "Am"
ElseIf livre = "Abdias" Then
chercher = "Ab"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mi"
ElseIf livre = "Nahum" Then
chercher = "Na"
ElseIf livre = "Habaquq" Then
chercher = "Ha"
ElseIf livre = "Sophonie" Then
chercher = "So"
ElseIf livre = "Aggée" Then
chercher = "Ag"
ElseIf livre = "Zacharie" Then
chercher = "Za"
ElseIf livre = "Malachie" Then
chercher = "Ml"
ElseIf livre = "Matthieu" Then
chercher = "Mt"
ElseIf livre = "Marc" Then
chercher = "Mc"
ElseIf livre = "Luc" Then
chercher = "Lc"
fctLireFillion - 3
ElseIf livre = "Jean" Then
chercher = "Jn"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "I Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "II Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "I Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "II Th"
ElseIf livre = "1 Timothée" Then
chercher = "I Ti"
ElseIf livre = "2 Timothée" Then
chercher = "II Ti"
ElseIf livre = "Tite" Then
chercher = "Tite"
ElseIf livre = "Philémon" Then
chercher = "Philem"
ElseIf livre = "Hébreux" Then
chercher = "Hébr"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "I Pet"
ElseIf livre = "2 Pierre" Then
chercher = "II Pet"
ElseIf livre = "1 Jean" Then
chercher = "I Jn"
ElseIf livre = "2 Jean" Then
chercher = "II Jn"
ElseIf livre = "3 Jean" Then
chercher = "III Jn"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Apoc"
End If
'Hébr 4,1.
recherche = chercher & " " & chapitre & "," & verset & ". "
fctLireFillion - 4
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Trim(Mid(ligne, Len(recherche), Len(ligne)))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireFlaviusJosephe - 1
Public Function LireFJ(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
If frmBible.cboVersion.Text = "Flavius Josèphe" Then
frmBible.txtPassage.FontSize = 14
frmBible.txtPassage.Font = "Bwgrkn"
Else
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
End If
If frmBible.cboVersion.Text = "Flavius Josèphe" Then
ofile = App.Path & "\modules\JOS\jos.txt"
Else
ofile = App.Path & "\modules\JOS\joe.txt"
End If
lfile = FreeFile
If livre = "Antiquités judaïques" Then
chercher = "Ant"
ElseIf livre = "Guerre des Juifs" Then
chercher = "Jwr"
ElseIf livre = "Vie de FJ" Then
chercher = "Lif"
ElseIf livre = "Contre Apion" Then
chercher = "Apn"
End If
recherche = Trim(chercher & " " & chapitre & ":" & verset & " ")
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(chercher)) = chercher Then Exit Function
frmBible.txtPassage.Text = frmBible.txtPassage.Text & ligne
Loop
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
End Function
fctLireHomere - 1
Public Function LireHomere(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\HHG\hhg.txt"
lfile = FreeFile
If livre = "Iliade" Then
chercher = "ILI"
ElseIf livre = "Odyssée" Then
chercher = "ODY"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "SPIonic"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireJerusalem - 1
Public Function LireJerusalem(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\JER\jer.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
fctLireJerusalem - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireJerusalem - 3
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & "-" & verset & " "
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireKJV - 1
Public Function LireKJV(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\KJV\kjv.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
fctLireKJV - 2
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireKJV - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireKJVD - 1
Public Function LireKJVD(mot)
Dim fichier$, def$, lfile%
lfile = FreeFile
fichier = App.Path & "\modules\KJV\kjvd.dat"
def = App.Path & "\modules\KJV\def.htm"
frmParse2.Text1.Text = ""
mot = UCase(mot)
Open fichier For Input As #lfile
Do
Input #lfile, ligne
If ligne = mot Then
frmParse2.Text1.Text = ligne
Do
Input #lfile, ligne
frmParse2.Text1.Text = frmParse2.Text1.Text & vbCrLf & ligne
Exit Do
Loop
End If
Loop While Not EOF(lfile)
Close
lfile = FreeFile + 1
frmParse2.Text1.Text = Replace(frmParse2.Text1.Text, "~", ",")
If frmParse2.Text1.Text = "" Then
frmParse2.Text1.Text = "<b>" & UCase(mot) & "</b>" & "<br>" & "<i>" & "Pas de définition pour ce mo
t." & "</i>"
End If
Open def For Output As #lfile
Write #lfile, frmParse2.Text1.Text
Close
Load frmBrowser
frmBrowser.WindowState = 0
frmBrowser.cboAddress.Text = def
frmBrowser.Show
End Function
fctLireLSG - 1
Public Function LireLSG(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\lsg1901\lsg.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
fctLireLSG - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireLSG - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireLSGStrong - 1
Public Function LireLSGStrong(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\LSG\lsg.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
fctLireLSGStrong - 2
ElseIf livre = "Jérémie" Then
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
fctLireLSGStrong - 3
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & "-" & verset & " "
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
EpurerLSG (recherche)
End Function
fctLireLSGStrong - 4
fctLireLSGStrong2 - 1
Public Function LireLSGStrong2(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
fichier = App.Path & "\modules\LSG\lsgstrongs.txt"
lfile = FreeFile
If livre = "Révélation" Then livre = "Apocalypse"
passage = livre & " " & chapitre
verset = verset & " "
'Genèse 1
'1 ¶ Au commencement <07225>, Dieu <0430> créa <01254> (8804) <0853> les cieux <08064> <0853> et la
terre <0776>.
' recherche du verset (le passage)
Open fichier For Input As #lfile
On Error GoTo apres:
Do
Line Input #lfile, ligne
If ligne = passage Then
If InStr(1, ligne, verset) <> 0 Then
frmParse2.Text1.Text = ligne
Exit Do
Else
Do
Line Input #lfile, ligne
If InStr(1, ligne, verset) <> 0 Then
frmParse2.Text1.Text = Trim(ligne)
frmParse2.Text1.Text = Mid(ligne, Len(verset) + 1, Len(ligne))
Exit Do
End If
Loop
End If
End If
Loop While Not EOF(lfile)
apres:
Close
texte = frmParse2.Text1.Text
texte = Replace(texte, ")", ")" & vbCrLf)
texte = Replace(texte, ">", ">" & vbCrLf)
fichier = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open fichier For Output As #lfile
Print #lfile, texte
Close
lfile = FreeFile
texte = ""
Open fichier For Input As #lfile
Do
Line Input #lfile, ligne
ligne = Trim(ligne)
If Left(ligne, 1) = "(" Or Left(ligne, 1) = "<" Then GoTo suite:
If Len(ligne) < 2 Then GoTo suite:
'If Len(ligne) < 5 Then GoTo suite:
repere = InStr(1, ligne, "<") + 1
If repere < 2 Then
texte = texte & " " & ligne
GoTo suite:
Else
texte = texte & " " & Mid(ligne, 1, repere - 2)
End If
suite:
If Len(ligne) < 3 Then texte = Trim(texte) & ligne
Loop While Not EOF(lfile)
Close
fctLireLSGStrong2 - 2
texte = Replace(texte, "~", ",")
texte = Replace(texte, "=", ":")
texte = Replace(texte, "@", "!")
texte = Replace(texte, " ", " ")
texte = Replace(texte, " ,", ",")
'texte = Replace(texte, " -", "-")
'frmBible.lblchapitre.Caption = chapitre
frmBible.txtPassage.Text = texte
frmBible.txtPassage.Font = "Times"
frmBible.txtPassage.FontSize = 12
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireLXX - 1
Public Function LireLXX(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$, espace%, texte$
ofile = App.Path & "\modules\LXX\lxx.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
fctLireLXX - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
texte = texte & Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
ofile = App.Path & "\modules\WHpars\morphwh.txt"
Open ofile For Output As #lfile
texte = Trim(texte)
texte = Replace(texte, ") ", ")" & vbCrLf)
Print #lfile, texte
Close
Open ofile For Input As #lfile
Do
fctLireLXX - 3
Line Input #lfile, ligne
espace = InStr(1, ligne, " ")
If ligne <> "" Then frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, 1, esp
ace - 1) & " "
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
'frmBible.txtPassage.FontSize = 14
'frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireMRT - 1
Public Function LireMRT(livre, chapitre, verset)
Dim ofile$, lfile%, ligne$
'verset = "1"
ofile = App.Path & "\modules\MRT\mrt.txt"
lfile = FreeFile
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If ligne = livre Then
'j'ai trouvé mon livre; je cherche maintenant mon chapitre
Do
Line Input #lfile, ligne
If ligne = "Chapitre " & chapitre Then
'j'ai trouvé mon chapitre, je cherche mon verset
Do
rset) + 2, Len(ligne))
Line Input #lfile, ligne
If Left(ligne, Len(verset)) = verset Then
frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, Len(ve
Do
Line Input #lfile, ligne
If Left(ligne, 1) = "1" Or Left(ligne, 1) = "2" Or Left(ligne,
1) = "3" _
Or Left(ligne, 1) = "4" Or Left(ligne, 1) = "5" Or Left(lig
ne, 1) = "6" _
Or Left(ligne, 1) = "7" Or Left(ligne, 1) = "8" Or Left(lig
ne, 1) = "9" Then
GoTo apres:
Else
frmBible.txtPassage.Text = frmBible.txtPassage.Text & ligne
End If
Loop
End If
Loop
End If
Loop
apres:
End If
Loop While Not EOF(lfile)
err:
Close
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireNA26 - 1
Public Function LireNA26(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\NA26\na26.txt"
lfile = FreeFile
If livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
fctLireNA26 - 2
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
chapitre = Val(chapitre)
verset = Val(verset)
If chapitre < 10 Then
chapitre = "0" & chapitre
End If
If verset < 10 Then
verset = "0" & verset
End If
recherche = chercher & "-" & chapitre & "-" & verset & " "
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Exit Do
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = LCase(frmBible.txtPassage.Text)
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Grenet"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
"~", ",", 1)
"s ", "j ", 1)
"s,", "j,", 1)
"s.", "j.", 1)
"s:", "j:", 1)
fctLireNA27 - 1
Public Function LireNA27(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$, espace%, texte$
ofile = App.Path & "\modules\NA27\na27p.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
fctLireNA27 - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireNA27 - 3
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
texte = texte & Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
ofile = App.Path & "\modules\WHpars\morphwh.txt"
Open ofile For Output As #lfile
texte = Trim(texte)
texte = Replace(texte, ") ", ")" & vbCrLf)
Print #lfile, texte
Close
Open ofile For Input As #lfile
fctLireNA27 - 4
Do
Line Input #lfile, ligne
espace = InStr(1, ligne, " ")
If ligne <> "" Then frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, 1, esp
ace - 1) & " "
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
'frmBible.txtPassage.FontSize = 14
'frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
'EpurerWH (recherche)
frmParse2.Text1.Text = recherche
End Function
fctLireNEG - 1
Public Function LireNEG(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\NEG\neg.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
fctLireNEG - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireNEG - 3
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & "-" & verset & " "
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
EpurerNEG (recherche)
End Function
fctLireNET - 1
Public Function LireNET(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
If frmBible.cboVersion.Text = "NET" Then
ofile = App.Path & "\modules\NET\net.txt"
ElseIf frmBible.cboVersion.Text = "JPS" Then
ofile = App.Path & "\modules\JPS\jps.txt"
End If
'ofile = App.Path & "\modules\NET\net.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
fctLireNET - 2
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
fctLireNET - 3
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
fctLireNET - 4
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
'EpurerNEG (recherche)
End Function
fctLireNTDF - 1
Public Function LireNTDF(livre, chapitre, verset)
Dim aouvrir$, recherche$, ligne$
Dim lfile
If livre = "Révélation" Then
livre = "Apocalypse"
ElseIf livre = "Lamentations" Then
livre = "Lamentations de Jérémie"
ElseIf livre = "Nahoum" Then
livre = "Nahum"
ElseIf livre = "Habaquq" Then
livre = "Habakuk"
End If
' affectation variable
aouvrir = App.Path & "\modules\DF\" & livre & ".txt"
recherche = chapitre & "-" & verset & " "
lfile = FreeFile
frmBible.txtPassage.Text = ""
On Error Resume Next
Open aouvrir For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",", 1)
End If
Loop While Not EOF(lfile)
Close
End Function
fctLireOST - 1
Public Function LireOST(livre, chapitre, verset)
Dim ofile$, lfile%, ligne$
'verset = "1"
ofile = App.Path & "\modules\OST\ost.txt"
lfile = FreeFile
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If ligne = livre Then
'j'ai trouvé mon livre; je cherche maintenant mon chapitre
Do
Line Input #lfile, ligne
If ligne = "Chapitre " & chapitre Then
'j'ai trouvé mon chapitre, je cherche mon verset
Do
rset) + 2, Len(ligne))
Line Input #lfile, ligne
If Left(ligne, Len(verset)) = verset Then
frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, Len(ve
Do
Line Input #lfile, ligne
If Left(ligne, 1) = "1" Or Left(ligne, 1) = "2" Or Left(ligne,
1) = "3" _
Or Left(ligne, 1) = "4" Or Left(ligne, 1) = "5" Or Left(lig
ne, 1) = "6" _
Or Left(ligne, 1) = "7" Or Left(ligne, 1) = "8" Or Left(lig
ne, 1) = "9" Then
GoTo apres:
Else
frmBible.txtPassage.Text = frmBible.txtPassage.Text & ligne
End If
Loop
End If
Loop
End If
Loop
apres:
End If
Loop While Not EOF(lfile)
err:
Close
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLirePereGrecs - 1
Public Function LirePeresGrecs(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\APF\apfg.txt"
lfile = FreeFile
If livre = "1ère de Clément" Then
chercher = "1Cl"
ElseIf livre = "2ème de Clément" Then
chercher = "2Cl"
ElseIf livre = "Epître de Barnabé" Then
chercher = "Brn"
ElseIf livre = "Lettre à Diognète" Then
chercher = "Dio"
ElseIf livre = "Ignace - 1ère Ephésiens" Then
chercher = "IEp"
ElseIf livre = "Ignace - 2ème Ephésiens" Then
chercher = "IIEp"
ElseIf livre = "Ignace - aux Magnésiens" Then
chercher = "IMg"
ElseIf livre = "Ignace - aux Tralliens" Then
chercher = "ITr"
ElseIf livre = "Ignace - aux Romains" Then
chercher = "IRo"
ElseIf livre = "Ignace - aux Philadelphiens" Then
chercher = "IPh"
ElseIf livre = "Ignace - aux Smyrniotes" Then
chercher = "ISm"
ElseIf livre = "Ignace - à Polycarpe" Then
chercher = "IPo"
ElseIf livre = "Polycarpe - aux Philippiens" Then
chercher = "Pol"
ElseIf livre = "Martyr de Polycarpe" Then
chercher = "MPo"
ElseIf livre = "La Didachè" Then
chercher = "Did"
ElseIf livre = "Hermas - Vision 1" Then
chercher = "HV1"
ElseIf livre = "Hermas - Vision 2" Then
chercher = "HV2"
ElseIf livre = "Hermas - Vision 3" Then
chercher = "HV3"
ElseIf livre = "Hermas - Vision 4" Then
chercher = "HV4"
ElseIf livre = "Hermas - Vision 5" Then
chercher = "HV5"
ElseIf livre = "Hermas - Précepte 1" Then
chercher = "HMA"
ElseIf livre = "Hermas - Précepte 2" Then
chercher = "HMB"
ElseIf livre = "Hermas - Précepte 3" Then
chercher = "HMC"
fctLirePereGrecs - 2
ElseIf livre = "Hermas
chercher = "HMD"
ElseIf livre = "Hermas
chercher = "HME"
ElseIf livre = "Hermas
chercher = "HMF"
ElseIf livre = "Hermas
chercher = "HMG"
ElseIf livre = "Hermas
chercher = "HMH"
ElseIf livre = "Hermas
chercher = "HMI"
ElseIf livre = "Hermas
chercher = "HMJ"
ElseIf livre = "Hermas
chercher = "HMK"
ElseIf livre = "Hermas
chercher = "HML"
ElseIf livre = "Hermas
chercher = "HSA"
ElseIf livre = "Hermas
chercher = "HSB"
ElseIf livre = "Hermas
chercher = "HSC"
ElseIf livre = "Hermas
chercher = "HSD"
ElseIf livre = "Hermas
chercher = "HSE"
ElseIf livre = "Hermas
chercher = "HSF"
ElseIf livre = "Hermas
chercher = "HSG"
ElseIf livre = "Hermas
chercher = "HSH"
ElseIf livre = "Hermas
chercher = "HSI"
ElseIf livre = "Hermas
chercher = "HSJ"
- Précepte 4" Then
- Précepte 5" Then
- Précepte 6" Then
- Précepte 7" Then
- Précepte 8" Then
- Précepte 9" Then
- Précepte 10" Then
- Précepte 11" Then
- Précepte 12" Then
- Similitudes 1" Then
- Similitudes 2" Then
- Similitudes 3" Then
- Similitudes 4" Then
- Similitudes 5" Then
- Similitudes 6" Then
- Similitudes 7" Then
- Similitudes 8" Then
- Similitudes 9" Then
- Similitudes 10" Then
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Do
On Error GoTo suite:
Line Input #lfile, ligne
If Mid(ligne, 1, 3) = chercher Then Exit Do
frmBible.txtPassage.Text = frmBible.txtPassage.Text & " " & ligne
Loop
End If
Loop While Not EOF(lfile)
suite:
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 14
frmBible.txtPassage.Font = "Bwgrkn"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLirePeresEn - 1
Public Function LirePeresEn(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
If frmBible.cboVersion.Text = "Lightfoot" Then
ofile = App.Path & "\modules\APF\Lightfoot.txt"
Else
ofile = App.Path & "\modules\APF\ape.txt"
End If
lfile = FreeFile
If livre = "1ère de Clément" Then
chercher = "1Cl"
ElseIf livre = "2ème de Clément" Then
chercher = "2Cl"
ElseIf livre = "Epître de Barnabé" Then
chercher = "Brn"
ElseIf livre = "Lettre à Diognète" Then
chercher = "Dio"
ElseIf livre = "Ignace - 1ère Ephésiens" Then
chercher = "IEp"
ElseIf livre = "Ignace - 2ème Ephésiens" Then
chercher = "IIEp"
ElseIf livre = "Ignace - aux Magnésiens" Then
chercher = "IMg"
ElseIf livre = "Ignace - aux Tralliens" Then
chercher = "ITr"
ElseIf livre = "Ignace - aux Romains" Then
chercher = "IRo"
ElseIf livre = "Ignace - aux Philadelphiens" Then
chercher = "IPh"
ElseIf livre = "Ignace - aux Smyrniotes" Then
chercher = "ISm"
ElseIf livre = "Ignace - à Polycarpe" Then
chercher = "IPo"
ElseIf livre = "Polycarpe - aux Philippiens" Then
chercher = "Pol"
ElseIf livre = "Martyr de Polycarpe" Then
chercher = "MPo"
ElseIf livre = "La Didachè" Then
chercher = "Did"
ElseIf livre = "Hermas - Vision 1" Then
chercher = "HV1"
ElseIf livre = "Hermas - Vision 2" Then
chercher = "HV2"
ElseIf livre = "Hermas - Vision 3" Then
chercher = "HV3"
ElseIf livre = "Hermas - Vision 4" Then
chercher = "HV4"
ElseIf livre = "Hermas - Vision 5" Then
chercher = "HV5"
ElseIf livre = "Hermas - Précepte 1" Then
chercher = "HMA"
ElseIf livre = "Hermas - Précepte 2" Then
fctLirePeresEn - 2
chercher = "HMB"
ElseIf livre = "Hermas
chercher = "HMC"
ElseIf livre = "Hermas
chercher = "HMD"
ElseIf livre = "Hermas
chercher = "HME"
ElseIf livre = "Hermas
chercher = "HMF"
ElseIf livre = "Hermas
chercher = "HMG"
ElseIf livre = "Hermas
chercher = "HMH"
ElseIf livre = "Hermas
chercher = "HMI"
ElseIf livre = "Hermas
chercher = "HMJ"
ElseIf livre = "Hermas
chercher = "HMK"
ElseIf livre = "Hermas
chercher = "HML"
ElseIf livre = "Hermas
chercher = "HSA"
ElseIf livre = "Hermas
chercher = "HSB"
ElseIf livre = "Hermas
chercher = "HSC"
ElseIf livre = "Hermas
chercher = "HSD"
ElseIf livre = "Hermas
chercher = "HSE"
ElseIf livre = "Hermas
chercher = "HSF"
ElseIf livre = "Hermas
chercher = "HSG"
ElseIf livre = "Hermas
chercher = "HSH"
ElseIf livre = "Hermas
chercher = "HSI"
ElseIf livre = "Hermas
chercher = "HSJ"
- Précepte 3" Then
- Précepte 4" Then
- Précepte 5" Then
- Précepte 6" Then
- Précepte 7" Then
- Précepte 8" Then
- Précepte 9" Then
- Précepte 10" Then
- Précepte 11" Then
- Précepte 12" Then
- Similitudes 1" Then
- Similitudes 2" Then
- Similitudes 3" Then
- Similitudes 4" Then
- Similitudes 5" Then
- Similitudes 6" Then
- Similitudes 7" Then
- Similitudes 8" Then
- Similitudes 9" Then
- Similitudes 10" Then
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Do
On Error GoTo suite:
Line Input #lfile, ligne
If Mid(ligne, 1, 3) = chercher Then Exit Do
frmBible.txtPassage.Text = frmBible.txtPassage.Text & " " & ligne
Loop
End If
Loop While Not EOF(lfile)
suite:
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLirePeresEn - 3
fctLirePeresFr - 1
Public Function LirePeresFr(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\APF\apff.txt"
lfile = FreeFile
If livre = "1ère de Clément" Then
chercher = "1Cl"
ElseIf livre = "2ème de Clément" Then
chercher = "2Cl"
ElseIf livre = "Epître de Barnabé" Then
chercher = "Brn"
ElseIf livre = "Lettre à Diognète" Then
chercher = "Dio"
ElseIf livre = "Ignace - 1ère Ephésiens" Then
chercher = "IEp"
ElseIf livre = "Ignace - 2ème Ephésiens" Then
chercher = "IIEp"
ElseIf livre = "Ignace - aux Magnésiens" Then
chercher = "IMg"
ElseIf livre = "Ignace - aux Tralliens" Then
chercher = "ITr"
ElseIf livre = "Ignace - aux Romains" Then
chercher = "IRo"
ElseIf livre = "Ignace - aux Philadelphiens" Then
chercher = "IPh"
ElseIf livre = "Ignace - aux Smyrniotes" Then
chercher = "ISm"
ElseIf livre = "Ignace - à Polycarpe" Then
chercher = "IPo"
ElseIf livre = "Polycarpe - aux Philippiens" Then
chercher = "Pol"
ElseIf livre = "Martyr de Polycarpe" Then
chercher = "MPo"
ElseIf livre = "La Didachè" Then
chercher = "Did"
ElseIf livre = "Hermas - Vision 1" Then
chercher = "HV1"
ElseIf livre = "Hermas - Vision 2" Then
chercher = "HV2"
ElseIf livre = "Hermas - Vision 3" Then
chercher = "HV3"
ElseIf livre = "Hermas - Vision 4" Then
chercher = "HV4"
ElseIf livre = "Hermas - Vision 5" Then
chercher = "HV5"
ElseIf livre = "Hermas - Précepte 1" Then
chercher = "HMA"
ElseIf livre = "Hermas - Précepte 2" Then
chercher = "HMB"
ElseIf livre = "Hermas - Précepte 3" Then
chercher = "HMC"
ElseIf livre = "Hermas - Précepte 4" Then
chercher = "HMD"
fctLirePeresFr - 2
ElseIf livre = "Hermas
chercher = "HME"
ElseIf livre = "Hermas
chercher = "HMF"
ElseIf livre = "Hermas
chercher = "HMG"
ElseIf livre = "Hermas
chercher = "HMH"
ElseIf livre = "Hermas
chercher = "HMI"
ElseIf livre = "Hermas
chercher = "HMJ"
ElseIf livre = "Hermas
chercher = "HMK"
ElseIf livre = "Hermas
chercher = "HML"
ElseIf livre = "Hermas
chercher = "HSA"
ElseIf livre = "Hermas
chercher = "HSB"
ElseIf livre = "Hermas
chercher = "HSC"
ElseIf livre = "Hermas
chercher = "HSD"
ElseIf livre = "Hermas
chercher = "HSE"
ElseIf livre = "Hermas
chercher = "HSF"
ElseIf livre = "Hermas
chercher = "HSG"
ElseIf livre = "Hermas
chercher = "HSH"
ElseIf livre = "Hermas
chercher = "HSI"
ElseIf livre = "Hermas
chercher = "HSJ"
- Précepte 5" Then
- Précepte 6" Then
- Précepte 7" Then
- Précepte 8" Then
- Précepte 9" Then
- Précepte 10" Then
- Précepte 11" Then
- Précepte 12" Then
- Similitudes 1" Then
- Similitudes 2" Then
- Similitudes 3" Then
- Similitudes 4" Then
- Similitudes 5" Then
- Similitudes 6" Then
- Similitudes 7" Then
- Similitudes 8" Then
- Similitudes 9" Then
- Similitudes 10" Then
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Do
On Error GoTo suite:
Line Input #lfile, ligne
If Mid(ligne, 1, 3) = chercher Then Exit Do
frmBible.txtPassage.Text = frmBible.txtPassage.Text & " " & ligne
Loop
End If
Loop While Not EOF(lfile)
suite:
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireRWP - 1
Public Function LireRWP(livre, chapitre, verset) As String
Dim repertoire, fichier, fichier2
Dim lfile
lfile = FreeFile
If livre = "Matthieu" Then
repertoire = "mat"
fichier2 = "MT"
End If
fichier = App.Path & "\modules\RWP\" & repertoire & "\" & fichier2 & chapitre & ".RWP"
Open fichier For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(chapitre) + Len(verset) + 4) = chapitre & "~" & verset Then
Do
Input #lfile, ligne
'frmTSK.Text.Text = frmTSK.Text.Text & ligne
If ligne = "" Or ligne = vbCrLf Then
Exit Do
End If
Loop
End If
Loop While Not EOF(lfile)
Close lfile
'Load frmTSK
'frmTSK. Show 1
End Function
fctLireScrivener - 1
Public Function LireScrivener(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\Scrivener\scrivener.txt"
lfile = FreeFile
If livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
fctLireScrivener - 2
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
Else: livre = "Matthieu"
chercher = "Mat"
frmBible.cboLivre.Text = "Matthieu"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Exit Do
End If
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = LCase(frmBible.txtPassage.Text)
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Grenet"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
"c", "x", 1)
"~", ",", 1)
"V", "j", 1)
"V,", "j,", 1)
"V.", "j.", 1)
fctLireSeptante - 1
Public Function LireSeptante(livre, chapitre, verset, fichier, chercher)
Dim
Dim
Dim
Dim
ofile
ligne$, remplacer$
LFile2
nveau$
LFile2 = FreeFile + 1
lfile = FreeFile
nveau = App.Path & "\tools\septante.txt"
frmParse2.Text1.Text = ""
Open nveau For Output As #lfile
Write #lfile, ""
Close #lfile
' définition du passage à rechercher
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exod"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Josué" Then
chercher = "Josh"
ElseIf livre = "Deutéronome" Then
chercher = "Deut"
ElseIf livre = "Juges" Then
chercher = "JudgB"
ElseIf livre = "Ruth" Then
chercher = "Ruth"
ElseIf livre = "1 Samuel" Then
chercher = "1Sam/K"
ElseIf livre = "2 Samuel" Then
chercher = "2Sam/K"
ElseIf livre = "1 Rois" Then
chercher = "1/3Kgs"
ElseIf livre = "2 Rois" Then
chercher = "2/4Kgs"
ElseIf livre = "2 Rois" Then
chercher = "2/4Kgs"
ElseIf livre = "1 Chroniques" Then
chercher = "1Chr"
ElseIf livre = "2 Chroniques" Then
chercher = "2Chr"
ElseIf livre = "Esdras" Then
chercher = "2Esdr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Esth"
ElseIf livre = "Judith" Then
chercher = "Jdt"
ElseIf livre = "Tobie" Then
chercher = "TobBA"
ElseIf livre = "1 Maccabées" Then
chercher = "1Mac"
ElseIf livre = "2 Maccabées" Then
chercher = "2Mac"
ElseIf livre = "3 Maccabées" Then
chercher = "3Mac"
ElseIf livre = "4 Maccabées" Then
chercher = "4Mac"
ElseIf livre = "Psaumes" Then
chercher = "Ps"
ElseIf livre = "Odes" Then
chercher = "Od"
ElseIf livre = "Proverbes" Then
chercher = "Prov"
ElseIf livre = "Ecclésiaste" Then
chercher = "Qoh"
fctLireSeptante - 2
ElseIf livre = "Cantique des cantiques" Then
chercher = "Cant"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Sagesse" Then
chercher = "Wis"
ElseIf livre = "Siracides" Then
chercher = "Sir"
ElseIf livre = "Psaumes de Salomon" Then
chercher = "PsSol"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Amos" Then
chercher = "Amos"
ElseIf livre = "Micah" Then
chercher = "Mic"
ElseIf livre = "Joël" Then
chercher = "Joel"
ElseIf livre = "Jonas" Then
chercher = "Jonah"
ElseIf livre = "Nahum" Then
chercher = "Nah"
ElseIf livre = "Habbacuc" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zeph"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Zacharie" Then
chercher = "Zech"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Isaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
ElseIf livre = "Baruch" Then
chercher = "Bar"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Epître de Jérémie" Then
chercher = "EpJer"
ElseIf livre = "Ezékiel" Then
chercher = "Ezek"
ElseIf livre = "Susanna" Then
chercher = "SusTh"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Bel et Draco" Then
chercher = "Bel"
End If
'On Error GoTo erreur:
If Len(fichier) < 35 Then
fichier = App.Path & fichier
End If
On Error GoTo erreur:
Open fichier For Input As #lfile
Do
Input #lfile, ligne
If ligne = chercher & " " & chapitre & "-" & verset Then
Do While Not ligne = chercher & " " & chapitre & "-" & Val(verset) + 1
Input #lfile, ligne
frmParse2.Text1.Text = frmParse2.Text1.Text & vbCrLf & ligne
Loop
Open nveau For Append As #LFile2
Write #LFile2, ligne
Close #LFile2
fctLireSeptante - 3
End If
Loop Until EOF(lfile)
Close #lfile
'remplacer = Replace(frmParse2.Text1.Text, vbCrLf, " ")
'remplacer = Replace(frmParse2.Text1.Text, " ", "")
'frmBible.txtPassage.Text = remplacer
Open nveau For Input As #LFile2
Do
Input #LFile2, ligne
frmBible.txtPassage.Text = frmBible.txtPassage.Text & ligne & vbCrLf
Loop While Not EOF(LFile2)
Close #LFile2
frmBible.txtPassage.Text = frmParse2.Text1.Text
frmBible.lblchapitre.Caption = frmBible.cboLivre.Text & " " & frmBible.txtChapitre & " : " & frmBib
le.txtverset.Text
Call CorrigerLectureSeptante(chercher)
'Open nveau For Output As #LFile2
'Write #LFile2, frmParse2.Text1.Text
'Close #LFile2
Exit Function
erreur:
MsgBox "Une erreur s'est produite...", vbInformation, "Bible Parser : Erreur"
frmBible.cboVersion.Text = "Septante"
frmBible.cboLivre.Text = "Genèse"
frmBible.txtChapitre.Text = "1"
frmBible.txtverset.Text = "1"
frmBible.txtPassage.Font = "Grenet"
End Function
fctLireStephanos - 1
Public Function LireStephanos(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\TR1550\stephanos.txt"
lfile = FreeFile
If livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
fctLireStephanos - 2
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
Else: livre = "Matthieu"
chercher = "Mat"
frmBible.cboLivre.Text = "Matthieu"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Exit Do
End If
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = LCase(frmBible.txtPassage.Text)
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text,
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Grenet"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
"c", "x", 1)
"~", ",", 1)
"V", "j", 1)
"V,", "j,", 1)
"V.", "j.", 1)
fctLireStrong - 1
Public Function LireStrong(mot) As String
frmParse2.Text1.Text = ""
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
ofile = App.Path & "\modules\StrongGr\strgr.txt"
lfile = FreeFile
Dim chercher$, reference$
If Len(mot) = 1 Then
chercher = "$$T000000" & mot
ElseIf Len(mot) = 2 Then
chercher = "$$T00000" & mot
ElseIf Len(mot) = 3 Then
chercher = "$$T0000" & mot
ElseIf Len(mot) = 4 Then
chercher = "$$T000" & mot
End If
reference = chercher
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If ligne = reference Then ' pour que le verset recherché soit exact
'affectation du verset du fichier à la variable
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Do
Input #lfile, ligne
If Left(ligne, 2) = "$$" Then
GoTo apres:
Else
frmParse2.Text1.Text = frmParse2.Text1.Text & " " & vbCrLf & ligne
'MsgBox ligne
' MsgBox frmParse2.text1.Text, , "lbltampon"
End If
Loop 'While Left(ligne, Len(chercher)) <> "mat" & chapitre & "-" & Val(verset) + 1
End If
Loop While Not EOF(lfile) 'While Left(ligne, Len(chercher)) <> "mat" & chapitre & "-" & Val(verset)
+ 1
apres:
'MsgBox frmParse2.Text1.Text
'mot = frmParse2.Text1.Text
Close #lfile
End Function
fctLireStrongC - 1
Public Function LireStrongC(mot)
Dim ofile
ofile = FreeFile
Dim lfile
lfile = App.Path & "\tools\corrigerneg.txt"
Dim ligne As String
Dim premierRepere As Integer
Dim secondrepere As Integer
Dim nstrong As String
Open lfile For Input As #ofile
Do
Line Input #ofile, ligne
If InStr(1, ligne, mot & " <") <> 0 Then
premierRepere = InStr(1, ligne, "<")
secondrepere = InStr(1, ligne, ">")
nstrong = Mid(ligne, premierRepere + 1, (secondrepere - premierRepere) - 1)
End If
Loop While Not EOF(ofile)
Close
'MsgBox (nstrong)
mot = nstrong
'Call AvantLireStrong(mot)
'Call LireStrongFr(mot)
End Function
fctLireStrongFr - 1
Public Function LireStrongFr(mot)
Dim cherche$, ofile, lfile, ligne$
If frmBible.cboLivre.Text
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
GoTo suite:
'Else
'Call LireStrongFrAT(mot)
'Exit Function
End If
= "Matthieu" Or _
"Marc" Or _
"Luc" Or _
"Jean" Or _
"Actes" Or _
"Romains" Or _
"1 Corinthiens" Then
If frmBible.cboLivre.Text = "2 Corinthiens" Or _
frmBible.cboLivre.Text = "Galates" Or _
frmBible.cboLivre.Text = "Ephésiens" Or _
frmBible.cboLivre.Text = "Philippiens" Or _
frmBible.cboLivre.Text = "Colossiens" Or _
frmBible.cboLivre.Text = "1 Thessaloniciens" Or _
frmBible.cboLivre.Text = "2 Thessaloniciens" Or _
frmBible.cboLivre.Text = "1 Timothée" Then
GoTo suite:
'Else
'Call LireStrongFrAT(mot)
'Exit Function
End If
If frmBible.cboLivre.Text = "2 Timothée" Or _
frmBible.cboLivre.Text = "Tite" Or _
frmBible.cboLivre.Text = "Philémon" Or _
frmBible.cboLivre.Text = "Hébreux" Or _
frmBible.cboLivre.Text = "Jacques" Or _
frmBible.cboLivre.Text = "1 Pierre" Or _
frmBible.cboLivre.Text = "2 Pierre" Then
GoTo suite:
'Else
'Call LireStrongFrAT(mot)
'Exit Function
End If
If frmBible.cboLivre.Text = "1 Jean" Or _
frmBible.cboLivre.Text = "2 Jean" Or _
frmBible.cboLivre.Text = "3 Jean" Or _
frmBible.cboLivre.Text = "Jude" Or _
frmBible.cboLivre.Text = "Révélation" Then
GoTo suite:
Else
Call LireStrongFrAT(mot)
Exit Function
End If
suite:
ofile = App.Path & "\modules\Strong\ntfr.txt"
lfile = FreeFile
If Val(mot) < 10 Then
mot = "0000" & mot
ElseIf Val(mot) > 10 And Val(mot) < 99 Then
mot = "000" & mot
ElseIf Val(mot) > 100 And Val(mot) < 999 Then
mot = "00" & mot
ElseIf Val(mot) > 1000 And Val(mot) < 9999 Then
mot = "0" & mot
fctLireStrongFr - 2
End If
frmParse2.Text1.Text = ""
Open ofile For Input As #lfile
Do
On Error GoTo err:
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Do While Not EOF(lfile)
Line Input #lfile, ligne
If Mid(ligne, 1, 1) = "0" Then
GoTo apres:
End If
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Loop
End If
Loop While Not EOF(lfile)
err:
apres:
Close
Load frmResultatStrong
'commenc = 2 * Len(mot) + 1
texte = Trim(Mid(frmParse2.Text1.Text, Len(mot) + 1, Len(frmParse2.Text1.Text)))
espace = InStr(1, texte, " ")
texte = Mid(texte, espace + 1, Len(texte))
repere = InStr(1, texte, "\~")
strong = mot
If repere <> 0 Then
mot = Trim(Mid(texte, 1, repere - 1))
texte = Mid(texte, Len(mot) + 1, Len(texte))
repere2 = InStr(1, texte, "\~ ")
mot = Mid(texte, 1, repere2)
mot = Trim(mot)
mot = Mid(mot, 3, Len(mot) - 1)
mot = Replace(mot, "\", "")
If Right(mot, 1) = "v" Then mot = Mid(mot, 1, Len(mot) - 1) & "j"
mot = Replace(mot, "y", "q")
mot = Replace(mot, "c", "x")
mot = Replace(mot, "Ioa", "Iwa")
mot = Replace(mot, "pho", "fw")
mot = Replace(mot, "-", "")
If Left(mot, 3) = "Ies" And mot <> "Iessai" Then mot = Replace(mot, "Ies", "Ihs")
Else
espace = InStr(1, texte, " ")
mot = Trim(Mid(texte, 1, espace))
mot = Replace(mot, "ch", "x")
mot = Replace(mot, "Ch", "x")
mot = Replace(mot, "Ioa", "Iwa")
mot = Replace(mot, "pho", "fw")
mot = Replace(mot, "ph", "f")
mot = Replace(mot, "Ph", "f")
mot = Replace(mot, "-", "")
mot = Replace(mot, "s ", "j")
mot = Replace(mot, "y", "q")
mot = Replace(mot, "c", "x")
If Left(mot, 3) = "Ies" And mot <> "Iessai" Then mot = Replace(mot, "Ies", "Ihs")
If Right(mot, 1) = "s" Then mot = Mid(mot, 1, Len(mot) - 1) & "j"
If Right(mot, 1) = "o" Then mot = Mid(mot, 1, Len(mot) - 1) & "w"
If Left(mot, 1) = "h" Then mot = Mid(mot, 2, Len(mot))
End If
fctLireStrongFr - 3
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Trim(texte)
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
"\~", vbCrLf & "\~")
"\&", vbCrLf & "\&")
"1a)", vbCrLf & "1a) ")
"1b)", vbCrLf & "1b) ")
"1c)", vbCrLf & "1c) ")
"1d)", vbCrLf & "1d) ")
"1e)", vbCrLf & "1e) ")
"1f)", vbCrLf & "1f) ")
"2a)", vbCrLf & "2a) ")
"2b)", vbCrLf & "2b) ")
"2c)", vbCrLf & "2c) ")
"2d)", vbCrLf & "2d) ")
"2e)", vbCrLf & "2e) ")
"2f)", vbCrLf & "2f) ")
"3a)", vbCrLf & "3a) ")
"3b)", vbCrLf & "3b) ")
"3c)", vbCrLf & "3c) ")
"3d)", vbCrLf & "3d) ")
"3e)", vbCrLf & "3e) ")
"3f)", vbCrLf & "3f) ")
"1)", vbCrLf & "1) ")
"2)", vbCrLf & "2) ")
"3)", vbCrLf & "3) ")
"4)", vbCrLf & "4) ")
"
", " ")
"\\", "")
"\", "")
"#", "")
"~", "")
"
", " ")
" ", " ")
If Left(strong, 3) = "000" Then strong = Mid(strong, 4, Len(strong))
If Left(strong, 2) = "00" Then strong = Mid(strong, 3, Len(strong))
If Left(strong, 1) = "0" Then strong = Mid(strong, 2, Len(strong))
frmResultatStrong.lblNStrong.Caption = "Strong : " & strong
frmResultatStrong.lblmot.Caption = mot
frmResultatStrong.txtStrong.Text = texte
frmResultatStrong.Show
End Function
fctLireStrongFrAT - 1
Public Function LireStrongFrAT(mot)
Dim cherche$, ofile, lfile, ligne$
ofile = App.Path & "\modules\Strong\aten.txt"
lfile = FreeFile
If Left(mot, 1) = "0" Then mot = Mid(mot, 2, Len(mot))
mot = "SH" & mot
frmParse2.Text1.Text = ""
Open ofile For Input As #lfile
Do
On Error GoTo err:
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
'frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Do While Not EOF(lfile)
Line Input #lfile, ligne
If Mid(ligne, 1, 2) = "SH" And Len(ligne) < 6 Then
GoTo apres:
End If
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Loop
End If
Loop While Not EOF(lfile)
err:
apres:
Close
If frmAutomatos.Visible = False Then
frmResultatStrong.Show
End If
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Output As #lfile
Print #lfile, texte
Close
frmResultatStrong.txtStrong.Text = frmParse2.Text1.Text
frmResultatStrong.txtStrong.Text = Replace(frmResultatStrong.txtStrong.Text, "
frmResultatStrong.txtStrong.Text = Replace(frmResultatStrong.txtStrong.Text, "
frmResultatStrong.Show
End Function
", vbCrLf)
", vbCrLf)
fctLireStrongFrN - 1
Public Function LireStrongFrN(mot)
'ancien Strong Petrakian : LireStrongFrN
Dim cherche$, ofile, lfile, ligne$
If frmBible.cboLivre.Text
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
frmBible.cboLivre.Text =
GoTo suite:
'Else
'Call LireStrongFrAT(mot)
'Exit Function
End If
= "Matthieu" Or _
"Marc" Or _
"Luc" Or _
"Jean" Or _
"Actes" Or _
"Romains" Or _
"1 Corinthiens" Then
If frmBible.cboLivre.Text = "2 Corinthiens" Or _
frmBible.cboLivre.Text = "Galates" Or _
frmBible.cboLivre.Text = "Ephésiens" Or _
frmBible.cboLivre.Text = "Philippiens" Or _
frmBible.cboLivre.Text = "Colossiens" Or _
frmBible.cboLivre.Text = "1 Thessaloniciens" Or _
frmBible.cboLivre.Text = "2 Thessaloniciens" Or _
frmBible.cboLivre.Text = "1 Timothée" Then
GoTo suite:
'Else
'Call LireStrongFrAT(mot)
'Exit Function
End If
If frmBible.cboLivre.Text = "2 Timothée" Or _
frmBible.cboLivre.Text = "Tite" Or _
frmBible.cboLivre.Text = "Philémon" Or _
frmBible.cboLivre.Text = "Hébreux" Or _
frmBible.cboLivre.Text = "Jacques" Or _
frmBible.cboLivre.Text = "1 Pierre" Or _
frmBible.cboLivre.Text = "2 Pierre" Then
GoTo suite:
'Else
'Call LireStrongFrAT(mot)
'Exit Function
End If
If frmBible.cboLivre.Text = "1 Jean" Or _
frmBible.cboLivre.Text = "2 Jean" Or _
frmBible.cboLivre.Text = "3 Jean" Or _
frmBible.cboLivre.Text = "Jude" Or _
frmBible.cboLivre.Text = "Révélation" Then
GoTo suite:
Else
Call LireStrongATFrN(mot)
Exit Function
End If
suite:
ofile = App.Path & "\modules\Strong\sgf.dat"
lfile = FreeFile
If Val(mot) < 10 Then
mot = "0000" & mot
GoTo bonmot:
ElseIf Val(mot) < 99 Then
mot = "000" & mot
fctLireStrongFrN - 2
GoTo bonmot:
ElseIf Val(mot) < 999 Then
mot = "00" & mot
GoTo bonmot:
ElseIf Val(mot) < 9999 Then
mot = "0" & mot
GoTo bonmot:
End If
bonmot:
frmParse2.Text1.Text = ""
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
Line Input #lfile, ligne
'ligne = Mid(ligne, Len(mot), Len(ligne))
repere = InStr(1, ligne, " \")
repere2 = InStr(repere + 1, ligne, "\n")
ligne = Mid(ligne, repere, Len(ligne))
repere2 = InStr(2, ligne, "\n")
motgrec = Mid(ligne, 1, repere2)
motgrec = Replace(motgrec, "\", "")
motgrec = Trim(motgrec)
Do
Line Input #lfile, ligne
If Left(ligne, 1) = "0" And Len(ligne) < 7 Then GoTo plusloin:
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Loop
End If
Loop While Not EOF(lfile)
plusloin:
Close
'01079
' 1079 \Ggenethv\n genete {ghen-et-ay}
' vient d 'un dérivé présumé de \\1074\\; n f
'LSG - naissance 1; 1
' 1) naissance, depuis la naissance
Load frmResultatStrong
texte = frmParse2.Text1.Text
strong = mot
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
texte
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
Trim(texte)
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
"\\", "")
"#", "")
"1a)", vbCrLf
"1b)", vbCrLf
"1c)", vbCrLf
"1d)", vbCrLf
"1e)", vbCrLf
"1f)", vbCrLf
"2a)", vbCrLf
"2b)", vbCrLf
"2c)", vbCrLf
"2d)", vbCrLf
"2e)", vbCrLf
"2f)", vbCrLf
"3a)", vbCrLf
"3b)", vbCrLf
"3c)", vbCrLf
"3d)", vbCrLf
"3e)", vbCrLf
"3f)", vbCrLf
&
&
&
&
&
&
&
&
&
&
&
&
&
&
&
&
&
&
"1a)
"1b)
"1c)
"1d)
"1e)
"1f)
"2a)
"2b)
"2c)
"2d)
"2e)
"2f)
"3a)
"3b)
"3c)
"3d)
"3e)
"3f)
")
")
")
")
")
")
")
")
")
")
")
")
")
")
")
")
")
")
fctLireStrongFrN - 3
texte
texte
texte
texte
texte
texte
=
=
=
=
=
=
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
Replace(texte,
"1)",
"2)",
"3)",
"4)",
"5)",
"6)",
vbCrLf
vbCrLf
vbCrLf
vbCrLf
vbCrLf
vbCrLf
&
&
&
&
&
&
"1)
"2)
"3)
"4)
"5)
"6)
")
")
")
")
")
")
texte = Replace(texte, " ", " ")
'texte = Replace(texte, "\\", "")
'texte = Replace(texte, "\", "")
'texte = Replace(texte, "#", "")
'texte = Replace(texte, "~", "")
'texte = Replace(texte, "
", " ")
'texte = Replace(texte, " ", " ")
If Left(strong, 3) = "000" Then strong = Mid(strong, 4, Len(strong))
If Left(strong, 2) = "00" Then strong = Mid(strong, 3, Len(strong))
If Left(strong, 1) = "0" Then strong = Mid(strong, 2, Len(strong))
ofile = App.Path & "\tools\temp.txt"
lfile = FreeFile
Open ofile For Output As #lfile
Print #lfile, motgrec
Close
lfile = FreeFile
Open ofile For Input As #lfile
Input #lfile, motgrec
Close
'guillemet = Chr$(34)
'If Left(motgrec, 1) = guillemet Then motgrec = Mid(motgrec, 2, Len(motgrec))
'If Right(motgrec, 2) = guillemet & guillement Then motgrec = Mid(motgrec, 1, Len(motgrec) - 2)
'If Right(motgrec, 1) = guillemet Then motgrec = Mid(motgrec, 1, Len(motgrec) - 1)
If motgrec <> "" Then
motgrec = Mid(motgrec, 2, Len(motgrec) - 1)
motgrec = Replace(motgrec, "j", "~")
motgrec = Replace(motgrec, "J", "~,")
motgrec = Replace(motgrec, "~i", "i~")
motgrec = Replace(motgrec, "~o", "o~")
motgrec = Replace(motgrec, "i~,o", "~io,")
motgrec = Replace(motgrec, "!", "v")
motgrec = Replace(motgrec, "a{", "{a")
motgrec = Replace(motgrec, "o{", "{o")
motgrec = Replace(motgrec, "i{", "{i")
motgrec = Replace(motgrec, "u{", "{u")
motgrec = Replace(motgrec, "w{", "{w")
motgrec = Replace(motgrec, "h{", "{h")
motgrec
motgrec
motgrec
motgrec
motgrec
motgrec
=
=
=
=
=
=
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
"a}",
"o}",
"i}",
"u}",
"w}",
"h}",
"}a")
"}o")
"}i")
"}u")
"}w")
"}h")
motgrec
motgrec
motgrec
motgrec
motgrec
motgrec
=
=
=
=
=
=
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
"a[",
"o[",
"i[",
"u[",
"w[",
"h[",
"[a")
"[o")
"[i")
"[u")
"[w")
"[w")
motgrec
motgrec
motgrec
motgrec
motgrec
motgrec
=
=
=
=
=
=
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
"a]",
"o]",
"i]",
"u]",
"w]",
"h]",
"]a")
"]o")
"]i")
"]u")
"]w")
"]h")
motgrec = Replace(motgrec, "a~", "~a")
motgrec = Replace(motgrec, "o~", "~o")
'motgrec = Replace(motgrec, "i~", "~i")
motgrec = Replace(motgrec, "e~", "~e")
fctLireStrongFrN - 4
motgrec
motgrec
motgrec
motgrec
=
=
=
=
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
Replace(motgrec,
"w~", "~w")
"h~", "~h")
"~h,", "h~")
"~o,", "~o")
motgrec = Replace(motgrec, Chr$(34), "j")
motgrec = Replace(motgrec, "v", ",")
motgrec = Replace(motgrec, "'", "/")
'motgrec = Replace(motgrec, "j", "~")
'motgrec = Replace(motgrec, "j", "~")
End If
frmResultatStrong.lblNStrong.Caption = "Strong : " & strong
frmResultatStrong.Font = "Bwgrkn"
frmResultatStrong.FontSize = 14
frmResultatStrong.lblmot.Caption = motgrec
texte = Replace(texte, "
", "")
frmResultatStrong.txtStrong.Text = texte
If frmAutomatos.Visible = False Then
frmResultatStrong.Show
End If
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Output As #lfile
Print #lfile, texte
Close
End Function
fctLireStrongHebreuEn - 1
Public Function LireStrongHebreuEn(mot)
If Len(mot) = 4 Then
mot = "0" & mot
ElseIf Len(mot) = 3 Then
mot = "00" & mot
ElseIf Len(mot) = 2 Then
mot = "000" & mot
ElseIf Len(mot) = 1 Then
mot = "0000" & mot
End If
Dim ofile$, lfile%, ligne$, secondeligne$, mothebreu$, espace%, repere%
ofile = App.Path & "\modules\Strong\Stronghebrew.dat"
lfile = FreeFile
recherche = "\" & mot & "\"
frmResultatStrong.txtStrong.Text = ""
Open ofile For Input As #lfile
Load frmResultatStrong
Do
Input #lfile, ligne
If ligne = recherche Then
frmResultatStrong.txtStrong.Text = frmResultatStrong.txtStrong.Text & ligne
Do
Line Input #lfile, ligne
If Left(ligne, 2) = "$$" Then Exit Do
frmResultatStrong.txtStrong.Text = frmResultatStrong.txtStrong.Text & ligne
Loop
End If
Loop While Not EOF(lfile)
Close
'repere = InStr(1, secondeligne, " ")
'espace = InStr(repere + 1, secondeligne, " ")
'mothebreu = Mid(secondeligne, repere + 1, espace - 1)
texte = Trim(frmResultatStrong.txtStrong.Text)
texte = Replace(texte, "~", ",")
repere = InStr(1, texte, " ")
frmResultatStrong.txtStrong.Text = texte
'mot = Mid(texte, 1, repere - 1)
frmResultatStrong.txtStrong.Text = Mid(texte, Len(recherche) + 1 + Len(mot) + 1, Len(texte))
If Left(mot, 1) = "0" Then mot = Mid(mot, 2, Len(mot))
recherche = Replace(recherche, "\", "")
frmResultatStrong.lblNStrong = "Strong : " & recherche & " [cliquez ici -> déf. en français]*"
frmResultatStrong.Show
End Function
fctLireStrongLSG2 - 1
Public Sub LireStrongLSG2(mot)
Dim ofile, lfile, ligne, strong, trouve
If Right(mot, 1) = "," Then mot = Mid(mot, 1, Len(mot) - 1)
If Right(mot, 1) = ":" Then mot = Mid(mot, 1, Len(mot) - 1)
If Right(mot, 1) = "!" Then mot = Mid(mot, 1, Len(mot) - 1)
'If Right(mot, 1) = "-" Then mot = Mid(mot, 1, Len(mot) - 1)
If Right(mot, 1) = ";" Then mot = Mid(mot, 1, Len(mot) - 1)
If Right(mot, 1) = "." Then mot = Mid(mot, 1, Len(mot) - 1)
If Left(mot, 1) = "-" Then mot = Mid(mot, 2, Len(mot))
'If Right(mot, 1) = "," Then mot = Mid(mot, 1, Len(mot) - 1)
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Input As #lfile
strong = ""
Do
Line Input #lfile, ligne
If InStr(1, ligne, mot) <> 0 Then
trouve = ligne
repere = InStr(1, ligne, "<")
strong = Mid(ligne, repere, Len(ligne))
Exit Do
End If
Loop While Not EOF(lfile)
Close
mot = strong
mot = Replace(mot, "<", "")
mot = Replace(mot, ">", "")
If mot = "" Then
msg = MsgBox("Mot inconnu", vbInformation)
Exit Sub
End If
If Left(mot, 1) = "0" Then
Call LireStrongATFrN(mot)
Else
Call LireStrongFrN(mot)
End If
End Sub
fctLireStrongNEG - 1
Public Function LireStrongNEG(mot)
Dim ofile
ofile = FreeFile
Dim lfile
lfile = App.Path & "\tools\corrigerneg.txt"
Dim ligne As String
Dim premierRepere As Integer
Dim secondrepere As Integer
Dim nstrong As String
Open lfile For Input As #ofile
Do
Line Input #ofile, ligne
If InStr(1, ligne, mot & " <") <> 0 Then
premierRepere = InStr(1, ligne, "<")
secondrepere = InStr(1, ligne, ">")
nstrong = Mid(ligne, premierRepere + 1, (secondrepere - premierRepere) - 1)
End If
Loop While Not EOF(ofile)
Close
'MsgBox (nstrong)
mot = nstrong
'Call AvantLireStrong(mot)
'pour l'instant, pas de strong français pour l'AT; donc on consulte Gesenius sur BlueLetter
If Mid(mot, 1, 1) = "0" Then
'Load frmBrowser
'frmBrowser.cboAddress.Text = "http://www.blueletterbible.org/cgi-bin/words.pl?Strong=" & m
ot & "&page=1&flag_full=1"
Call LireStrongATFrN(mot)
'ancien strong en anglais : Call LireStrongHebreuEn(mot)
Exit Function
End If
If mot = "" Then
msg = MsgBox("Ce mot n'est pas apparenté à un numéro Strong", vbInformation)
Exit Function
End If
Call LireStrongFrN(mot)
End Function
fctLireThayer - 1
Public Function LireThayer(mot, reference) As String
mot = Replace(mot, "0", "O")
'If Len(mot) = 4 Then
'mot = "g" & mot
'End If
frmParse2.Text1.Text = ""
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
ofile = App.Path & "\modules\Thayer\thayer.txt"
lfile = FreeFile
Dim chercher$
ligne = ""
If Len(mot) = 1 Then
chercher = "OOOO" & mot
ElseIf Len(mot) = 2 Then
chercher = "OOO" & mot
ElseIf Len(mot) = 3 Then
chercher = "OO" & mot
ElseIf Len(mot) = 4 Then
chercher = "O" & mot
End If
reference = chercher
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If ligne = reference Then ' pour que le verset recherché soit exact
'affectation du verset du fichier à la variable
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Do While Not EOF(lfile)
Input #lfile, ligne
If Left(ligne, 1) = "O" Then
GoTo apres:
Else
'If IsNumeric(ligne) = True Then
'frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
'Else
frmParse2.Text1.Text = frmParse2.Text1.Text & " " & vbCrLf & ligne
'MsgBox ligne
'End If
Loop
End If
End If
Loop While Not EOF(lfile)
apres:
Close #lfile
End Function
fctLireTIS - 1
Public Function LireTIS(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\TIS\tis.txt"
lfile = FreeFile
If livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
fctLireTIS - 2
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
Exit Do
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 14
frmBible.txtPassage.Font = "Bwgrkn"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireTMN - 1
Public Function LireTMN(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\TMN\TMN.txt"
lfile = FreeFile
frmBible.txtPassage.Text = ""
frmParse2.Text1.Text = ""
Open ofile For Input As #lfile
en
Do
Line Input #lfile, ligne
' j'ai trouvé le livre
If ligne = livre Then
Do
On Error GoTo apres:
Line Input #lfile, ligne
'j'ai trouvé le chapitre
If Left(ligne, 8) = "chapitre" And _
Mid(ligne, 9, Len(chapitre) + 1 + Len(verset)) = chapitre & ">" & verset Th
frmParse2.Text1.Text = frmParse2.Text1.Text & Mid(ligne, 9 + Len(chapitre)
+ Len(verset), Len(ligne))
GoTo suite:
Else
Do While Not EOF(lfile)
Line Input #lfile, ligne
If InStr(1, ligne, verset & " ") <> 0 Then
frmParse2.Text1.Text = Mid(ligne, InStr(1, ligne, verset & " ")
, Len(ligne))
GoTo suite:
End If
Loop
suite:
Do While Not EOF(lfile)
Line Input #lfile, ligne
If InStr(1, ligne, "1 ") = 0 And _
InStr(1, ligne, "2 ") = 0 And _
InStr(1, ligne, "3 ") = 0 And _
InStr(1, ligne, "4 ") = 0 And _
InStr(1, ligne, "5 ") = 0 And _
InStr(1, ligne, "6 ") = 0 And _
InStr(1, ligne, "7 ") = 0 And _
InStr(1, ligne, "8 ") = 0 And _
InStr(1, ligne, "9 ") = 0 Then
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Else
repere = InStr(1, ligne, "1 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "2 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "3 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "4 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "5 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "6 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "7 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "8 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
repere = InStr(1, ligne, "9 ")
If repere <> 0 Then ligne = Mid(ligne, 1, repere - 2)
frmParse2.Text1.Text = frmParse2.Text1.Text & " " & ligne
Exit Do
End If
Loop
Loop
End If
fctLireTMN - 2
End If
Loop While Not EOF(lfile)
apres:
Close
frmBible.txtPassage.Text = ""
texte = frmParse2.Text1.Text
texte = Replace(texte, "0", "")
texte = Replace(texte, "1", "")
texte = Replace(texte, "2", "")
texte = Replace(texte, "3", "")
texte = Replace(texte, "4", "")
texte = Replace(texte, "5", "")
texte = Replace(texte, "6", "")
texte = Replace(texte, "7", "")
texte = Replace(texte, "8", "")
texte = Replace(texte, "9", "")
frmBible.txtPassage.Text = texte
'ofile = App.Path & "\tools\temp.txt"
'lfile = FreeFile
'Open ofile For Output As #lfile
'Print #lfile, frmParse2.Text.Text
'Close
'lfile = FreeFile
'Open ofile For Input As #lfile
'frmBible.txtPassage.Text = ""
' Do
' On Error GoTo suite:
'
Input #lfile, ligne
'
If InStr(1, ligne, verset) <> 0 Then
'
debut = InStr(1, ligne, " " & verset)
'
'versetsuivant = " " & Str(Val(verset) + 1)
'
fin = InStr(1, ligne, Str(Val(verset) + 1))
'
If fin = 0 Then fin = InStr(1, ligne, "fin du chapitre") - 1
' frmBible.txtPassage.Text = Mid(ligne, debut + 3, (fin - debut) - 2)
' Exit Do
'
'End If
'Loop While Not EOF(lfile)
'suite:
'Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireTOB - 1
Public Function LireTOB(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\TOB\tob.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
fctLireTOB - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireTOB - 3
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & "-" & verset & " "
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireTSK - 1
Public Function LireTSK(livre, chapitre, verset) As String
frmParse2.Text1.Text = ""
Dim lfile As Long 'Lecture
Dim ofile As String 'Fichier à ouvrir
lfile = FreeFile
Dim fichier$, chercherverset$, texte$
If livre = "1 Corinthiens" Then
fichier = "essaico.txt"
End If
ofile = App.Path & "\modules\dictionnaires\tsk\" & fichier
'chercherverset = Trim(chapitre) & "v" & Trim(verset)
If Val(chapitre) < "10" Then
chapitre = "0" & chapitre
End If
If Val(verset) < "10" Then
verset = "0" & verset
End If
chercherverset = Trim(chapitre) & ":" & Trim(verset) & ":00"
On Error GoTo erreur:
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If ligne = chercherverset Then
' pour que le verset recherché soit exact
Do
Input #lfile, ligne
If IsEmpty(ligne) = True Then
'If Len(ligne) = "" Then
Loop
End If
GoTo apres:
Else
frmParse2.Text1.Text = frmParse2.Text1.Text & " " & ligne
End If
Loop Until EOF(lfile)
Close #lfile
erreur:
Exit Function
apres:
texte = frmParse2.Text1.Text
Close #lfile
'Load frmTSK
'frmTSK.Show
'frmTSK.lblpassage = livre & " " & chapitre & " : " & verset & " - références "
'frmTSK.Text.Text = texte
End Function
fctLireVulgate - 1
Public Function LireVulgate(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\Vg\vulgate.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
fctLireVulgate - 2
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireVulgate - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireWEB - 1
Public Function LireWEB(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\WEB\web.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
fctLireWEB - 2
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireWEB - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireWebster - 1
Public Function LireWebster(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\Webster\webster.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
fctLireWebster - 2
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireWebster - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireWebster - 4
fctLireWestcottHortParsed - 1
Public Function LireWestcottHortParsed(livre, chapitre, verset)
Dim ofile$
Dim lfile%
Dim ligne$
ofile = App.Path & "\modules\WHpars\whpar.whp"
lfile = FreeFile
ref = chapitre & ":" & verset
frmParse2.Text1.Text = ""
Open ofile For Input As #lfile
Do
fin:
Close
Line Input #lfile, ligne
If LCase(ligne) = LCase(livre) Then
'j'ai trouvé le livre
Do While Not EOF(lfile)
Line Input #lfile, ligne
'j'ai trouvé le chapitre et le verset
If InStr(1, ligne, ref & " ") <> 0 Then
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Do
Line Input #lfile, ligne
'c'est le verset suivant
If InStr(1, ligne, ":") <> 0 Then GoTo fin:
frmParse2.Text1.Text = frmParse2.Text1.Text & ligne
Loop
End If
Loop
End If
Loop While Not EOF(lfile)
texte = Trim(frmParse2.Text1.Text)
'le texte est maintenant trouvé
'il faut mettre d'un côté le texte : txtpassage
' de l'autre les codes, dans le tampon
Call CorrigerWH(texte)
texte = Replace(texte, "v ", "V ")
texte = Replace(texte, "y", "q")
texte = Replace(texte, "§", "y")
'MsgBox (texte)
frmBible.txtPassage.Text = texte
frmBible.txtPassage.Font = "Symbol"
frmBible.txtPassage.FontSize = 14
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctLireWHPlus - 1
Public Function LireWHPlus(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$, espace%, texte$
ofile = App.Path & "\modules\WHpars\whm.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
fctLireWHPlus - 2
chercher = "Isa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luk"
ElseIf livre = "Jean" Then
chercher = "Joh"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "1Co"
ElseIf livre = "2 Corinthiens" Then
chercher = "2Co"
ElseIf livre = "Galates" Then
chercher = "Gal"
fctLireWHPlus - 3
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
ElseIf livre = "Philippiens" Then
chercher = "Phi"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "1Th"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "2Th"
ElseIf livre = "1 Timothée" Then
chercher = "1Ti"
ElseIf livre = "2 Timothée" Then
chercher = "2Ti"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jam"
ElseIf livre = "1 Pierre" Then
chercher = "1Pe"
ElseIf livre = "2 Pierre" Then
chercher = "2Pe"
ElseIf livre = "1 Jean" Then
chercher = "1Jo"
ElseIf livre = "2 Jean" Then
chercher = "2Jo"
ElseIf livre = "3 Jean" Then
chercher = "3Jo"
ElseIf livre = "Jude" Then
chercher = "Jud"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
texte = texte & Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
ofile = App.Path & "\modules\WHpars\morphwh.txt"
Open ofile For Output As #lfile
texte = Trim(texte)
texte = Replace(texte, ") ", ")" & vbCrLf)
Print #lfile, texte
Close
fctLireWHPlus - 4
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
espace = InStr(1, ligne, " ")
If ligne <> "" Then frmBible.txtPassage.Text = frmBible.txtPassage.Text & Mid(ligne, 1, esp
ace - 1) & " "
Loop While Not EOF(lfile)
Close
'frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
'frmBible.txtPassage.FontSize = 14
'frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
'EpurerWH (recherche)
End Function
fctLireWTM - 1
Public Function LireWTM(livre, chapitre, verset, mot)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Num"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jdg"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "1Sa"
ElseIf livre = "2 Samuel" Then
chercher = "2Sa"
ElseIf livre = "1 Rois" Then
chercher = "1Ki"
ElseIf livre = "2 Rois" Then
chercher = "2Ki"
ElseIf livre = "1 Chroniques" Then
chercher = "1Ch"
ElseIf livre = "2 Chroniques" Then
chercher = "2Ch"
ElseIf livre = "Esdras" Then
chercher = "Ezr"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Sol"
ElseIf livre = "Esaïe" Then
chercher = "Isa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
fctLireWTM - 2
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Hos"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Zep"
ElseIf livre = "Aggée" Then
chercher = "Hag"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zec"
ElseIf livre = "Malachie" Then
chercher = "Mal"
End If
recherche2 = chercher & " " & chapitre & ":" & verset
'étape 1 : mettre le verset dans un fichier
ofile = App.Path & "\modules\BHSv\wtm.txt"
lfile = FreeFile
Open ofile For Input As #lfile
frmParse2.Text.Text = ""
Do
Input #lfile, ligne
If Mid(ligne, 1, Len(recherche2)) = recherche2 Then
frmParse2.Text.Text = frmParse2.Text.Text & Mid(ligne, Len(recherche) + 1, Len(lign
e))
Do
Input #lfile, ligne
If InStr(1, ligne, " ") <> 0 Then Exit Do
frmParse2.Text.Text = frmParse2.Text.Text & ligne
Loop
'Exit Do
End If
Loop While Not EOF(lfile)
Close
frmParse2.Text.Text = Replace(frmParse2.Text.Text, ") ", ")" & vbCrLf)
ofile = App.Path & "\modules\BHSv\corrbhs.txt"
lfile = FreeFile
Open ofile For Output As #lfile
fctLireWTM - 3
Print #lfile, frmParse2.Text.Text
Close
' étape 2 : lire e
recherche = chercher & " " & chapitre & ":" & verset & " "
Open ofile For Input As #lfile
End Function
fctLireYLT - 1
Public Function LireYLT(livre, chapitre, verset)
Dim cherche$, ofile$, lfile%, ligne$, recherhche$
ofile = App.Path & "\modules\YLT\ylt.txt"
lfile = FreeFile
If livre = "Genèse" Then
chercher = "Gen"
ElseIf livre = "Exode" Then
chercher = "Exo"
ElseIf livre = "Lévitique" Then
chercher = "Lev"
ElseIf livre = "Nombres" Then
chercher = "Nom"
ElseIf livre = "Deutéronome" Then
chercher = "Deu"
ElseIf livre = "Josué" Then
chercher = "Jos"
ElseIf livre = "Juges" Then
chercher = "Jug"
ElseIf livre = "Ruth" Then
chercher = "Rut"
ElseIf livre = "1 Samuel" Then
chercher = "Samun"
ElseIf livre = "2 Samuel" Then
chercher = "Samde"
ElseIf livre = "1 Rois" Then
chercher = "UnRo"
ElseIf livre = "2 Rois" Then
chercher = "DeRo"
ElseIf livre = "1 Chroniques" Then
chercher = "UnCr"
ElseIf livre = "2 Chroniques" Then
chercher = "DeCr"
ElseIf livre = "Esdras" Then
chercher = "Esd"
ElseIf livre = "Néhémie" Then
chercher = "Neh"
ElseIf livre = "Esther" Then
chercher = "Est"
ElseIf livre = "Job" Then
chercher = "Job"
ElseIf livre = "Psaumes" Then
chercher = "Psa"
ElseIf livre = "Proverbes" Then
chercher = "Pro"
ElseIf livre = "Ecclésiaste" Then
chercher = "Ecc"
ElseIf livre = "Cantique des cantiques" Then
chercher = "Can"
ElseIf livre = "Esaïe" Then
chercher = "Esa"
ElseIf livre = "Jérémie" Then
chercher = "Jer"
fctLireYLT - 2
ElseIf livre = "Lamentations" Then
chercher = "Lam"
ElseIf livre = "Ezéchiel" Then
chercher = "Eze"
ElseIf livre = "Daniel" Then
chercher = "Dan"
ElseIf livre = "Osée" Then
chercher = "Ose"
ElseIf livre = "Joël" Then
chercher = "Joe"
ElseIf livre = "Amos" Then
chercher = "Amo"
ElseIf livre = "Abdias" Then
chercher = "Oba"
ElseIf livre = "Jonas" Then
chercher = "Jon"
ElseIf livre = "Michée" Then
chercher = "Mic"
ElseIf livre = "Habaquq" Then
chercher = "Hab"
ElseIf livre = "Sophonie" Then
chercher = "Sop"
ElseIf livre = "Aggée" Then
chercher = "Agg"
ElseIf livre = "Nahoum" Then
chercher = "Nah"
ElseIf livre = "Zacharie" Then
chercher = "Zac"
ElseIf livre = "Malachie" Then
chercher = "Mal"
ElseIf livre = "Matthieu" Then
chercher = "Mat"
ElseIf livre = "Marc" Then
chercher = "Mar"
ElseIf livre = "Luc" Then
chercher = "Luc"
ElseIf livre = "Jean" Then
chercher = "Jea"
ElseIf livre = "Actes" Then
chercher = "Act"
ElseIf livre = "Romains" Then
chercher = "Rom"
ElseIf livre = "1 Corinthiens" Then
chercher = "UnCo"
ElseIf livre = "2 Corinthiens" Then
chercher = "DeCo"
ElseIf livre = "Galates" Then
chercher = "Gal"
ElseIf livre = "Ephésiens" Then
chercher = "Eph"
fctLireYLT - 3
ElseIf livre = "Philippiens" Then
chercher = "Php"
ElseIf livre = "Colossiens" Then
chercher = "Col"
ElseIf livre = "1 Thessaloniciens" Then
chercher = "UnTh"
ElseIf livre = "2 Thessaloniciens" Then
chercher = "DeTh"
ElseIf livre = "1 Timothée" Then
chercher = "UnTi"
ElseIf livre = "2 Timothée" Then
chercher = "DeTi"
ElseIf livre = "Tite" Then
chercher = "Tit"
ElseIf livre = "Philémon" Then
chercher = "Phi"
ElseIf livre = "Hébreux" Then
chercher = "Heb"
ElseIf livre = "Jacques" Then
chercher = "Jac"
ElseIf livre = "1 Pierre" Then
chercher = "UnPi"
ElseIf livre = "2 Pierre" Then
chercher = "DePi"
ElseIf livre = "1 Jean" Then
chercher = "UnJn"
ElseIf livre = "2 Jean" Then
chercher = "DeJn"
ElseIf livre = "3 Jean" Then
chercher = "TrJn"
ElseIf livre = "Jude" Then
chercher = "Jude"
ElseIf livre = "Révélation" Then
chercher = "Rev"
End If
recherche = chercher & "-" & chapitre & "-" & verset & "-"
Open ofile For Input As #lfile
Do
Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
End If
Loop While Not EOF(lfile)
Close
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
End Function
fctMorphContextuelle - 1
Public Function MorphContextuelle(mot, code, vientde)
ancienmot = mot
Dim ofile$, lfile%, ligne$, premierespace%, deuxiemeespace%, parenthese%, nouvelespace%
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
'petit tour de passe passe...
code = StrReverse(ligne)
espace = InStr(1, code, "(")
code = Mid(code, 1, espace)
code = StrReverse(code)
code = Mid(code, 2, Len(code) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
If Right(code, 1) = ")" Then code = Mid(code, 1, Len(code) - 1)
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
=
=
=
=
=
=
=
=
=
=
=
=
=
vientde
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
"/",
"\",
"v",
"~",
".",
"_",
"+",
"[",
"]",
";",
"'",
",",
"=")
"|")
")")
"(")
"\")
"(=")
")=")
"(/")
"(\")
")/")
")\")
"/")
' je renseigne la définition du mot grec
motr = definir
'je dois maintenant retransformer le fort Bwgrkn en Grenet/SPIonic
motr = Replace(motr, "-", ")")
motr = Replace(motr, "`", "(")
motr = Replace(motr, "V", ")")
If Mid(motr, 1, 2) = ")A" Then mot = "a)" & Mid(mot, 3, Len(mot))
If Mid(motr, 1, 2) = ")E" Then mot = "e)" & Mid(mot, 3, Len(mot))
Call DefinirGrec(motr, mott)
Load frmAnalyseMorphologique
frmAnalyseMorphologique.lblDefinition.Caption = mott
' je m'occupe à décrypter le code morphologique
frmAnalyseMorphologique.lblmot.Caption = ancienmot
frmAnalyseMorphologique.lblvientde.Caption = vientde
frmAnalyseMorphologique.lblanalyse2.Caption = code
Call LireCodeMorph(code)
'Load frmRechercheMorphologique
fctMorphContextuelle - 2
'frmAnalyseMorphologique.lblanalyse.Caption
1s", "1ère personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
2s", "2ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
3s", "3ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
1p", "1ère personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
2p", "2ème personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
3p", "3ème personne du pluriel")
'Unload frmRechercheMorphologique
'frmAnalyseMorphologique.Show
End Function
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
fctMorphLXX - 1
Public Function MorphLXX(mot)
Dim ofile$, lfile%, ligne$, vientde$, code$, premierespace%, deuxiemeespace%, parenthese%, nouveles
pace%, definir$
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
code = Mid(ligne, parenthese + 1, Len(ligne) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
If Right(code, 1) = ")" Then code = Mid(code, 1, Len(code) - 1)
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
=
=
=
=
=
=
=
=
=
=
=
=
=
=
vientde
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
"/",
"\",
"`",
"v",
"~",
".",
"_",
"+",
"[",
"]",
";",
"'",
",",
"=")
"|")
"(")
")")
"(")
"\")
"(=")
")=")
"(/")
"(\")
")/")
")\")
"/")
' je renseigne la définition du mot grec
motr = definir
Call DefinirGrec(motr, mott)
Load frmAnalyseMorphologique
frmAnalyseMorphologique.lblDefinition.Caption = mott
' je m'occupe à décrypter le code morphologique
frmAnalyseMorphologique.lblmot.Caption = mot
frmAnalyseMorphologique.lblvientde.Caption = vientde
frmAnalyseMorphologique.lblanalyse2.Caption = code
Call LireCodeMorph(code)
Load frmAnalyseMorphologique
frmAnalyseMorphologique.lblmot.Caption = mot
frmAnalyseMorphologique.lblvientde.Caption = vientde
frmAnalyseMorphologique.lblDefinition.Caption = mott
frmAnalyseMorphologique.Show
End Function
fctMorphNA27Plus - 1
Public Function MorphNA27Plus(mot)
ancienmot = mot
Dim ofile$, lfile%, ligne$, vientde$, code$, premierespace%, deuxiemeespace%, parenthese%, nouveles
pace%
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
'petit tour de passe passe...
code = StrReverse(ligne)
espace = InStr(1, code, "(")
code = Mid(code, 1, espace)
code = StrReverse(code)
code = Mid(code, 2, Len(code) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
If Right(code, 1) = ")" Then code = Mid(code, 1, Len(code) - 1)
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
=
=
=
=
=
=
=
=
=
=
=
=
=
vientde
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
"/",
"\",
"v",
"~",
".",
"_",
"+",
"[",
"]",
";",
"'",
",",
"=")
"|")
")")
"(")
"\")
"(=")
")=")
"(/")
"(\")
")/")
")\")
"/")
' je renseigne la définition du mot grec
motr = definir
'je dois maintenant retransformer le fort Bwgrkn en Grenet/SPIonic
motr = Replace(motr, "-", ")")
motr = Replace(motr, "`", "(")
motr = Replace(motr, "V", ")")
If Mid(motr, 1, 2) = ")A" Then mot = "a)" & Mid(mot, 3, Len(mot))
If Mid(motr, 1, 2) = ")E" Then mot = "e)" & Mid(mot, 3, Len(mot))
Call DefinirGrec(motr, mott)
Load frmAnalyseMorphologique
frmAnalyseMorphologique.lblDefinition.Caption = mott
' je m'occupe à décrypter le code morphologique
frmAnalyseMorphologique.lblmot.Caption = ancienmot
frmAnalyseMorphologique.lblvientde.Caption = vientde
frmAnalyseMorphologique.lblanalyse2.Caption = code
Call LireCodeMorph(code)
'Load frmRechercheMorphologique
fctMorphNA27Plus - 2
'frmAnalyseMorphologique.lblanalyse.Caption
1s", "1ère personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
2s", "2ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
3s", "3ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
1p", "1ère personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
2p", "2ème personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
3p", "3ème personne du pluriel")
'Unload frmRechercheMorphologique
frmAnalyseMorphologique.Show
End Function
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
fctMorphWHPlus - 1
Public Function MorphWHPlus(mot)
Dim ofile$, lfile%, ligne$, vientde$, code$, premierespace%, deuxiemeespace%, parenthese%, nouveles
pace%, definir$
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
code = Mid(ligne, parenthese + 1, Len(ligne) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
If Right(code, 1) = ")" Then code = Mid(code, 1, Len(code) - 1)
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
=
=
=
=
=
=
=
=
=
=
=
=
=
=
vientde
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
"/",
"\",
"`",
"v",
"~",
".",
"_",
"+",
"[",
"]",
";",
"'",
",",
"=")
"|")
"(")
")")
"(")
"\")
"(=")
")=")
"(/")
"(\")
")/")
")\")
"/")
motr = definir
Call DefinirGrec(motr, mott)
Load frmAnalyseMorphologique
frmAnalyseMorphologique.lblmot.Caption = mot
frmAnalyseMorphologique.lblvientde.Caption = vientde
frmAnalyseMorphologique.lblanalyse2.Caption = code
Call LireCodeMorph(code)
'Load frmRechercheMorphologique
'frmAnalyseMorphologique.lblanalyse.Caption = frmRechercheMorphologique.cboType.Text & " " & frmRec
hercheMorphologique.cboTempsCas.Text & " " & frmRechercheMorphologique.cboGenre.Text & " " & frmRec
hercheMorphologique.cboNombre.Text & " " & frmRechercheMorphologique.cboPersonne.Text
'frmAnalyseMorphologique.lblanalyse.Caption
1s", "1ère personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
2s", "2ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
3s", "3ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
1p", "1ère personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
2p", "2ème personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
3p", "3ème personne du pluriel")
'Unload frmRechercheMorphologique
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
fctMorphWHPlus - 2
frmAnalyseMorphologique.lblDefinition.Caption = mott
frmAnalyseMorphologique.Show
End Function
fctRechercheLemmatiqueLXX - 1
Public Function RechercheLemmatiqueLXX(mot)
Dim ofile$, lfile%, ligne$, vientde$, code$, premierespace%, deuxiemeespace%, parenthese%, nouveles
pace%
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
'petit tour de passe passe...
code = StrReverse(ligne)
espace = InStr(1, code, "(")
code = Mid(code, 1, espace)
code = StrReverse(code)
code = Mid(code, 2, Len(code) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
'maintenant je recherche vraiment toutes les formes du mots
recherche = vientde & " " & "("
ofile = App.Path & "\modules\LXX\lxx.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Load frmZetoGraphe
frmZetoGraphe.cboVersion.Text = "NA27"
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
deuxpoints = InStr(1, ligne, ":")
espace = InStr(deuxpoints, ligne, " ")
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & vbCrLf & Mid(ligne, 1, espace)
i = i + 1
End If
Loop While Not EOF(lfile)
frmZetoGraphe.Show
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.Text1.Text = Mid(frmZetoGraphe.Text1.Text, 3, Len(frmZetoGraphe.Text1.Text))
End Function
fctRechercheLemmatiqueNA27 - 1
Public Function RechercheLemmatiqueNA27(mot)
Dim ofile$, lfile%, ligne$, vientde$, code$, premierespace%, deuxiemeespace%, parenthese%, nouveles
pace%
ofile = App.Path & "\modules\WHpars\morphwh.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
'petit tour de passe passe...
code = StrReverse(ligne)
espace = InStr(1, code, "(")
code = Mid(code, 1, espace)
code = StrReverse(code)
code = Mid(code, 2, Len(code) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
'maintenant je recherche vraiment toutes les formes du mots
recherche = vientde & " " & "("
ofile = App.Path & "\modules\NA27\na27p.txt"
lfile = FreeFile
Open ofile For Input As #lfile
Load frmZetoGraphe
frmZetoGraphe.cboVersion.Text = "NA27"
i = 0
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
deuxpoints = InStr(1, ligne, ":")
espace = InStr(deuxpoints, ligne, " ")
frmZetoGraphe.Text1.Text = frmZetoGraphe.Text1.Text & vbCrLf & Mid(ligne, 1, espace)
i = i + 1
End If
Loop While Not EOF(lfile)
frmZetoGraphe.Show
frmZetoGraphe.lblResultat.Caption = i & " passages trouvés."
frmZetoGraphe.Text1.Text = Mid(frmZetoGraphe.Text1.Text, 3, Len(frmZetoGraphe.Text1.Text))
End Function
fctRechercheMorphAPFG - 1
Public Function RechercheMorphAPFG(mot)
Dim ofile$, lfile%, ligne$, vientde$, code$, premierespace%, deuxiemeespace%, parenthese%, nouveles
pace%
ofile = App.Path & "\modules\LXX\lxx.txt"
lfile = FreeFile
ofile2 = App.Path & "\tools\temp.txt"
mot = mot & " "
Open ofile For Input As #lfile
Do
Line Input #lfile, ligne
If InStr(1, ligne, mot) <> 0 Then
LFile2 = FreeFile
Open ofile2 For Output As #LFile2
ligne = Replace(ligne, ") ", ")" & vbCrLf)
Print #LFile2, ligne
Exit Do
'Close
End If
Loop While Not EOF(lfile)
Close
lfile = FreeFile
Open ofile2 For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(mot)) = mot Then
premiereespace = InStr(1, ligne, " ")
deuxiemeespace = InStr(premiereespace, ligne, " ")
parenthese = InStr(1, ligne, "(")
vientde = Trim(Mid(ligne, premiereespace, Len(ligne)))
nouvelespace = InStr(1, vientde, " ")
vientde = Left(vientde, nouvelespace - 1)
'petit tour de passe passe...
code = StrReverse(ligne)
espace = InStr(1, code, "(")
code = Mid(code, 1, espace)
code = StrReverse(code)
code = Mid(code, 2, Len(code) - 1)
Exit Do
End If
Loop While Not EOF(lfile)
Close
If Right(code, 1) = ")" Then code = Mid(code, 1, Len(code) - 1)
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
definir
=
=
=
=
=
=
=
=
=
=
=
=
=
vientde
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
Replace(definir,
"/",
"\",
"v",
"~",
".",
"_",
"+",
"[",
"]",
";",
"'",
",",
"=")
"|")
")")
"(")
"\")
"(=")
")=")
"(/")
"(\")
")/")
")\")
"/")
' je renseigne la définition du mot grec
motr = definir
fctRechercheMorphAPFG - 2
Call DefinirGrec(motr, mott)
Load frmAnalyseMorphologique
frmAnalyseMorphologique.lblDefinition.Caption = mott
' je m'occupe à décrypter le code morphologique
frmAnalyseMorphologique.lblmot.Caption = mot
frmAnalyseMorphologique.lblvientde.Caption = vientde
frmAnalyseMorphologique.lblanalyse2.Caption = code
Call LireCodeMorph(code)
'Load frmRechercheMorphologique
'frmAnalyseMorphologique.lblanalyse.Caption
1s", "1ère personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
2s", "2ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
3s", "3ème personne du singulier")
'frmAnalyseMorphologique.lblanalyse.Caption
1p", "1ère personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
2p", "2ème personne du pluriel")
'frmAnalyseMorphologique.lblanalyse.Caption
3p", "3ème personne du pluriel")
'Unload frmRechercheMorphologique
frmAnalyseMorphologique.Show
End Function
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
= Replace(frmAnalyseMorphologique.lblanalyse.Caption, "
fctRechercheMorphologique - 1
Public Function RechercheMorphologique(recherche, nveaucode)
Dim ofile$, lfile%, ligne$, verset$, premierespace$, marge$, i%
If frmBible.cboVersion.Text = "WH+" Then
ofile = App.Path & "\modules\WHpars\whm.txt"
ElseIf frmBible.cboVersion.Text = "NA27" Then
ofile = App.Path & "\modules\NA27\na27p.txt"
ElseIf frmBible.cboVersion.Text = "LXX" Then
ofile = App.Path & "\modules\LXX\lxx.txt"
End If
lfile = FreeFile
'frmRechercheMorphologique.lstPassages.Clear
frmAssistant.lstPassages.Clear
i = 0
'If frmRechercheMorphologique.Option1.Value = True Then GoTo formeexacte:
'If frmRechercheMorphologique.Option2.Value = True Then GoTo touteforme:
If ofile <> "" Then Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If InStr(1, ligne, recherche) <> 0 Then
marge = InStr(1, ligne, recherche)
premierespace = InStr(1, ligne, " ")
' deuxiemeespace = InStr(premierespace, ligne, " ")
verset = Mid(ligne, 1, premierespace)
i = i + 1
frmAssistant.lstPassages.AddItem (verset)
'frmRechercheMorphologique.lstPassages.AddItem (verset)
'frmRechercheMorphologique.lstFormes.AddItem (Mid(ligne, marge - 20, 20))
End If
Loop While Not EOF(lfile)
err:
Close
If i = 0 Then
frmAssistant.lblOcc.Caption = "0 passages"
frmAssistant.Label1.Caption = ""
ElseIf i = 1 Then
frmAssistant.lblOcc.Caption = "Une seule occurrence."
'frmAssistant.lstPassages.Selected(1) = True
'frmAssistant.lstPassages_Click
Else
frmAssistant.lblOcc.Caption = i & " passages."
'frmAssistant.lstPassages.Selected(1) = True
'frmAssistant.lstPassages_Click
End If
'formeexacte:
'recherche = frmRechercheMorphologique.txtMot.Text
'ofile = App.Path & "\modules\WHpars\whm.txt"
'Open ofile For Input As #lfile
'On Error GoTo err:
'Do
'Line Input #lfile, ligne
'If InStr(1, ligne, recherche) <> 0 Then
'marge = InStr(1, ligne, recherche)
'premierespace = InStr(1, ligne, " ")
'deuxiemeespace = InStr(premierespace, ligne, " ")
'verset = Mid(ligne, 1, premierespace)
'i = i + 1
'frmRechercheMorphologique.lstPassages.AddItem (verset)
fctRechercheMorphologique - 2
'frmRechercheMorphologique.lstFormes.AddItem (Mid(ligne, marge - 20, 20))
'
' End If
Loop While Not EOF(lfile)
'err:
'Close
'If i = 0 Then
'frmRechercheMorphologique.lblOcc.Caption = "Ce mot n'apparaît pas à cette forme !"
'ElseIf i = 1 Then
'frmRechercheMorphologique.lblOcc.Caption = "Une seule occurrence."
'Else
'frmRechercheMorphologique.lblOcc.Caption = i & " passages."
'End If
'touteforme:
'recherche = frmAnalyseMorphologique.lblvientde.Caption & " (" & nveaucode & ")"
'ofile = App.Path & "\modules\WHpars\whm.txt"
'Open ofile For Input As #lfile
'On Error GoTo err:
' Do
' Line Input #lfile, ligne
'
If InStr(1, ligne, recherche) <> 0 Then
'marge = InStr(1, ligne, recherche)
'premierespace = InStr(1, ligne, " ")
'deuxiemeespace = InStr(premierespace, ligne, " ")
'verset = Mid(ligne, 1, premierespace)
'i = i + 1
'frmRechercheMorphologique.lstPassages.AddItem (verset)
'frmRechercheMorphologique.lstFormes.AddItem (Mid(ligne, marge - 20, 20))
'End If
'Loop While Not EOF(lfile)
'err:
'Close
'If i = 0 Then
'frmRechercheMorphologique.lblOcc.Caption = "Ce mot n'apparaît pas à cette forme !"
'ElseIf i = 1 Then
'frmRechercheMorphologique.lblOcc.Caption = "Une seule occurrence."
'Else
'frmRechercheMorphologique.lblOcc.Caption = i & " passages."
'End If
End Function
fctRechercherATSBD - 1
Public Function RechercherATSBD(mot)
Dim ofile$, lfile%, ligne$
ofile = App.Path & "\modules\dictionnaires\ATSBD.txt"
lfile = FreeFile
recherche = mot
recherche = UCase(recherche)
frmDictionnaires.txtResultat.Text = ""
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If ligne = recherche Then
":" & vbCrLf
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text & recherche &
Do
ligne
Line Input #lfile, ligne
If Len(ligne) < 30 And ligne <> "" And ligne <> recherche Then Exit Do
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text &
Loop
End If
Loop While Not EOF(lfile)
err:
Close
End Function
fctRechercherNuttall - 1
Public Function RechercherNuttall(mot)
Dim ofile$, lfile%, ligne$
ofile = App.Path & "\modules\dictionnaires\nuttall.txt"
lfile = FreeFile
recherche = mot
recherche = UCase(recherche)
frmDictionnaires.txtResultat.Text = ""
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche) + 1) = recherche & "," Then
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text & " " & ligne
Do
ligne
Line Input #lfile, ligne
If ligne = "" Then Exit Do
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text &
Loop
End If
Loop While Not EOF(lfile)
err:
Close
End Function
fctRechercherWace - 1
Public Function RechercherWace(mot)
Dim ofile$, lfile%, ligne$
ofile = App.Path & "\modules\dictionnaires\wace.txt"
lfile = FreeFile
recherche = mot
recherche = "
" & recherche & ","
frmDictionnaires.txtResultat.Text = ""
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche)) = recherche Then
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text & " " & ligne
Do
ligne
Line Input #lfile, ligne
If Len(ligne) < 35 And ligne <> "" Then Exit Do
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text &
Loop
End If
Loop While Not EOF(lfile)
err:
Close
frmDictionnaires.txtResultat.Text = Replace(frmDictionnaires.txtResultat.Text, "
frmDictionnaires.txtResultat.Text = Replace(frmDictionnaires.txtResultat.Text, "
' "
"
End Function
", " ")
", "")
fctRechercherWebster - 1
Public Function RechercherWebster(mot)
Dim ofile$, lfile%, ligne$, fichier$
mot = LCase(mot)
If Left(mot, 1) = "a" Then
fichier = "a.txt"
ElseIf Left(mot, 1) = "b" Then
fichier = "b.txt"
ElseIf Left(mot, 1) = "c" Then
fichier = "c.txt"
ElseIf Left(mot, 1) = "d" Then
fichier = "d.txt"
ElseIf Left(mot, 1) = "e" Then
fichier = "e.txt"
ElseIf Left(mot, 1) = "f" Then
fichier = "f.txt"
ElseIf Left(mot, 1) = "g" Then
fichier = "g.txt"
ElseIf Left(mot, 1) = "h" Then
fichier = "h.txt"
ElseIf Left(mot, 1) = "i" Then
fichier = "i.txt"
ElseIf Left(mot, 1) = "j" Then
fichier = "j.txt"
ElseIf Left(mot, 1) = "k" Then
fichier = "k.txt"
ElseIf Left(mot, 1) = "l" Then
fichier = "l.txt"
ElseIf Left(mot, 1) = "m" Then
fichier = "m.txt"
ElseIf Left(mot, 1) = "n" Then
fichier = "n.txt"
ElseIf Left(mot, 1) = "o" Then
fichier = "o.txt"
ElseIf Left(mot, 1) = "p" Then
fichier = "p.txt"
ElseIf Left(mot, 1) = "q" Then
fichier = "q.txt"
ElseIf Left(mot, 1) = "r" Then
fichier = "r.txt"
ElseIf Left(mot, 1) = "s" Then
fichier = "s.txt"
ElseIf Left(mot, 1) = "t" Then
fichier = "t.txt"
ElseIf Left(mot, 1) = "u" Then
fichier = "u.txt"
ElseIf Left(mot, 1) = "v" Then
fichier = "v.txt"
ElseIf Left(mot, 1) = "w" Then
fichier = "w.txt"
ElseIf Left(mot, 1) = "x" Then
fichier = "x.txt"
ElseIf Left(mot, 1) = "y" Then
fichier = "y.txt"
ElseIf Left(mot, 1) = "z" Then
fichier = "z.txt"
End If
ofile = App.Path & "\modules\dictionnaires\WBST\" & fichier
lfile = FreeFile
mot = UCase(Mid(mot, 1, 1)) & Mid(mot, 2, Len(mot))
recherche = mot
'recherche = UCase(recherche)
frmDictionnaires.txtResultat.Text = ""
Open ofile For Input As #lfile
On Error GoTo err:
Do
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche) + 1) = recherche & " " Then
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text & ligne
fctRechercherWebster - 2
Do
même mot
Line Input #lfile, ligne
If Mid(ligne, 1, Len(recherche) + 1) = recherche & " " Then
'le webster peut présenter plusieurs entrées pour les différents sens d'un
frmDictionnaires.txtResultat.Text = frmDictionnaires.txtResultat.Text & vbC
" & ligne
Else
Exit Do
End If
rLf & vbCrLf & "
Loop
'Do
& ligne
'Line Input #lfile, ligne
'If ligne = "" Then Exit Do
'frmDictionnaires.txtresultat.Text = frmDictionnaires.txtresultat.Text
'Loop
End If
Loop While Not EOF(lfile)
err:
Close
End Function
fctStrongBHSPlus - 1
Public Sub StrongBHSPlus(mot)
Dim ofile, lfile, ligne, strong, trouve
ofile = App.Path & "\tools\temp2.txt"
lfile = FreeFile
Open ofile For Input As #lfile
strong = ""
Do
Line Input #lfile, ligne
If InStr(1, ligne, mot) <> 0 Then
trouve = ligne
repere = InStr(1, ligne, ">")
strong = Mid(ligne, 2, repere - 2)
Exit Do
End If
Loop While Not EOF(lfile)
Close
mot = strong
Call LireStrongATFrN(mot)
End Sub
fctVersetNBS - 1
Public Function VersetNBS(livre, chapitre, verset)
Dim aouvrir$, recherche$, ligne$
Dim lfile
If livre = "Révélation" Then
livre = "Apocalypse"
ElseIf livre = "Lamentations" Then
livre = "Lamentations de Jérémie"
ElseIf livre = "Nahoum" Then
livre = "Nahum"
ElseIf livre = "Habaquq" Then
livre = "Habakuk"
End If
' affectation variable
aouvrir = App.Path & "\modules\NBS\" & livre & ".txt"
recherche = chapitre & "-" & verset & " "
lfile = FreeFile
frmBible.txtPassage.Text = ""
Open aouvrir For Input As #lfile
Do
Line Input #lfile, ligne
If Left(ligne, Len(recherche)) = recherche Then
frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))
frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",", 1)
Do
hen Exit Do
Line Input #lfile, ligne
If Mid(ligne, 2, 1) = "-" Or Mid(ligne, 3, 1) = "-" Or Mid(ligne, 4, 1) = "-" T
frmBible.txtPassage.Text = frmBible.txtPassage.Text & vbCrLf & ligne
Loop
End If
Loop While Not EOF(lfile)
frmBible.txtPassage.FontSize = 12
frmBible.txtPassage.Font = "Times"
frmBible.lblchapitre = livre & " " & chapitre & ":" & verset
Close
End Function