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.

fctDoubleCliqueSeptante - 2<br />

Close #LFile3<br />

msg = ""<br />

'On Error GoTo erreur:<br />

Open ofile2 For Input As #LFile2<br />

Do<br />

Input #LFile2, ligne<br />

'frmParse.txtanalyse.Caption = frmParse.txtanalyse.Caption & ligne & vbCrLf<br />

msg = msg & ligne & vbCrLf<br />

Loop While Not ligne = ""<br />

Close #LFile2<br />

mot = Trim(frmBible.txtPassage.SelText)<br />

If Right(mot, 1) = "." Then<br />

mot = Mid(mot, 1, Len(mot) - 1)<br />

End If<br />

If Right(mot, 1) = "s" Then<br />

mot = Mid(mot, 1, Len(mot) - 1) + "j"<br />

frmParse.lblmot.Caption = mot<br />

End If<br />

Load frmParse<br />

frmParse.Show<br />

frmParse.lblmot = LCase(mot)<br />

If Right(origine, 1) = "S" Then<br />

origine = Mid(origine, 1, Len(origine) - 1) + "J"<br />

End If<br />

frmParse.lblorigine = LCase(origine)<br />

frmParse.txtAnalyse.Caption = msg<br />

'

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

Saved successfully!

Ooh no, something went wrong!