15.07.2013 Views

Microsoft Visual Basic - Encyclopaedia Gentium Boni

Microsoft Visual Basic - Encyclopaedia Gentium Boni

Microsoft Visual Basic - Encyclopaedia Gentium Boni

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

fctLirePeresEn - 2<br />

chercher = "HMB"<br />

ElseIf livre = "Hermas - Précepte 3" Then<br />

chercher = "HMC"<br />

ElseIf livre = "Hermas - Précepte 4" Then<br />

chercher = "HMD"<br />

ElseIf livre = "Hermas - Précepte 5" Then<br />

chercher = "HME"<br />

ElseIf livre = "Hermas - Précepte 6" Then<br />

chercher = "HMF"<br />

ElseIf livre = "Hermas - Précepte 7" Then<br />

chercher = "HMG"<br />

ElseIf livre = "Hermas - Précepte 8" Then<br />

chercher = "HMH"<br />

ElseIf livre = "Hermas - Précepte 9" Then<br />

chercher = "HMI"<br />

ElseIf livre = "Hermas - Précepte 10" Then<br />

chercher = "HMJ"<br />

ElseIf livre = "Hermas - Précepte 11" Then<br />

chercher = "HMK"<br />

ElseIf livre = "Hermas - Précepte 12" Then<br />

chercher = "HML"<br />

ElseIf livre = "Hermas - Similitudes 1" Then<br />

chercher = "HSA"<br />

ElseIf livre = "Hermas - Similitudes 2" Then<br />

chercher = "HSB"<br />

ElseIf livre = "Hermas - Similitudes 3" Then<br />

chercher = "HSC"<br />

ElseIf livre = "Hermas - Similitudes 4" Then<br />

chercher = "HSD"<br />

ElseIf livre = "Hermas - Similitudes 5" Then<br />

chercher = "HSE"<br />

ElseIf livre = "Hermas - Similitudes 6" Then<br />

chercher = "HSF"<br />

ElseIf livre = "Hermas - Similitudes 7" Then<br />

chercher = "HSG"<br />

ElseIf livre = "Hermas - Similitudes 8" Then<br />

chercher = "HSH"<br />

ElseIf livre = "Hermas - Similitudes 9" Then<br />

chercher = "HSI"<br />

ElseIf livre = "Hermas - Similitudes 10" Then<br />

chercher = "HSJ"<br />

End If<br />

recherche = chercher & " " & chapitre & ":" & verset & " "<br />

Open ofile For Input As #lfile<br />

Do<br />

Line Input #lfile, ligne<br />

If Left(ligne, Len(recherche)) = recherche Then<br />

frmBible.txtPassage.Text = Mid(ligne, Len(recherche) + 1, Len(ligne))<br />

Do<br />

On Error GoTo suite:<br />

Line Input #lfile, ligne<br />

If Mid(ligne, 1, 3) = chercher Then Exit Do<br />

frmBible.txtPassage.Text = frmBible.txtPassage.Text & " " & ligne<br />

Loop<br />

End If<br />

Loop While Not EOF(lfile)<br />

uite:<br />

lose<br />

frmBible.txtPassage.Text = Replace(frmBible.txtPassage.Text, "~", ",")<br />

rmBible.txtPassage.FontSize = 12<br />

rmBible.txtPassage.Font = "Times"<br />

rmBible.lblchapitre = livre & " " & chapitre & ":" & verset<br />

nd Function

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!