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.

frmHebreuGrec - 2<br />

End If<br />

Close<br />

ofile = App.Path & "\tools\corrwh.txt"<br />

lfile = FreeFile + 1<br />

Open ofile For Output As #lfile<br />

rint #lfile, txtResultat.Text<br />

lose<br />

xtResultat.Text = ""<br />

Open ofile For Input As #lfile<br />

o<br />

Input #lfile, texte<br />

i = i + 1<br />

If texte "" Then<br />

premiereespace = InStr(1, texte, " ", vbTextCompare)<br />

texte = Trim(Mid(texte, premiereespace, Len(texte)))<br />

deuxiemeespace = InStr(1, texte, " ", vbTextCompare)<br />

'texte = Mid(texte, deuxiemeespace, Len(texte))<br />

End If<br />

If texte "" Then<br />

txtResultat.Text = txtResultat.Text & vbCrLf & i - 1 & ") " & texte<br />

'frmTSK.Text.Text = frmTSK.Text.Text & vbCrLf & i - 1 & "-" & StrReverse(texte)<br />

'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "a", "")<br />

'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "e", "")<br />

'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "i", "")<br />

'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "o", "")<br />

'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "u", "")<br />

'frmTSK.Text.Text = Replace(frmTSK.Text.Text, "v", "b")<br />

End If<br />

oop While Not EOF(lfile)<br />

MsgBox strong<br />

MsgBox numéro<br />

nd Sub<br />

rivate Sub Command2_Click()<br />

nload Me<br />

nd Sub<br />

rivate Sub txtStrong_KeyPress(KeyAscii As Integer)<br />

f KeyAscii < 47 Or KeyAscii > 57 Then<br />

uméro = True<br />

nd If<br />

nd Sub

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

Saved successfully!

Ooh no, something went wrong!