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.

fctAutomatosWH - 2<br />

Close<br />

Line Input #lfile, ligne<br />

If InStr(1, ligne, "LSG -") 0 Then<br />

Resultat = ligne<br />

Exit Do<br />

End If<br />

Loop While Not EOF(lfile)<br />

On Error Resume Next<br />

mot = Replace(mot, "1)", "")<br />

f tempstrong "" Then<br />

frmAutomatos.lblStrong.Caption = strong & ", temps : " & tempstrong<br />

Else<br />

frmAutomatos.lblStrong.Caption = strong<br />

nd If<br />

epere = InStr(1, Resultat, "LSG -")<br />

esultat = Mid(Resultat, repere + 6, Len(Resultat))<br />

epere2 = InStr(1, Resultat, ";")<br />

esultat = Mid(Resultat, 1, repere2 - 1)<br />

esultat = Replace(Resultat, ";", "")<br />

esultat = Replace(Resultat, "0", "")<br />

esultat = Replace(Resultat, "1", "")<br />

esultat = Replace(Resultat, "2", "")<br />

esultat = Replace(Resultat, "3", "")<br />

esultat = Replace(Resultat, "4", "")<br />

esultat = Replace(Resultat, "5", "")<br />

esultat = Replace(Resultat, "6", "")<br />

esultat = Replace(Resultat, "7", "")<br />

esultat = Replace(Resultat, "8", "")<br />

esultat = Replace(Resultat, "9", "")<br />

rmAutomatos.lblResultat.Caption = Mid(Resultat, 1, 20) & "..."<br />

If Len(Resultat) > 30 Then<br />

Resultat = Mid(frmAutomatos.lblResultat.Caption, 1, 30) & "..."<br />

frmAutomatos.RichTextBox1.ToolTipText = Resultat<br />

End If<br />

rmAutomatos.lblanalyse.Visible = False<br />

omplement = Replace(complement, "0", "")<br />

omplement = Replace(complement, "1", "")<br />

omplement = Replace(complement, "2", "")<br />

omplement = Replace(complement, "3", "")<br />

omplement = Replace(complement, "4", "")<br />

omplement = Replace(complement, "5", "")<br />

omplement = Replace(complement, "6", "")<br />

omplement = Replace(complement, "7", "")<br />

omplement = Replace(complement, "8", "")<br />

omplement = Replace(complement, "9", "")<br />

veaucomplement = complement<br />

all LireComplement(complement)<br />

f complement = "" Then complement = nveaucomplement & "- ??"<br />

rmAutomatos.Line5.Visible = True<br />

rmAutomatos.Label3.Visible = True<br />

rmAutomatos.lblMorpho.Visible = True<br />

rmAutomatos.lblMorpho.Caption = complement<br />

f InStr(1, complement, "- ??") = 0 Then<br />

rmAutomatos.RichTextBox1.ToolTipText = Mid(Resultat, 1, 20) & "..." & "-" & complement<br />

nd If<br />

nd Function

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

Saved successfully!

Ooh no, something went wrong!