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.

frmDicoHebreu - 2<br />

recherche = txtHebreu.Text<br />

Call HebreuFrancais(recherche)<br />

Exit Sub<br />

' je cherche un mot FRANCAIS<br />

ElseIf txtHebreu.Text = "" Then 'And _<br />

'txtPrononciation.Text = "" And _<br />

'txtNotes.Text = "" Then<br />

recherche = txtFrancais.Text<br />

Call FrancaisHebreu(recherche)<br />

Exit Sub<br />

' C'est du français que je cherche !<br />

End If<br />

End Sub<br />

Private Sub btnGo2_Click()<br />

End Sub<br />

Private Sub BtnGraphic1_Click()<br />

txtHebreu.Text = ""<br />

txtPrononciation.Text = ""<br />

txtFrancais.Text = ""<br />

txtNotes.Text = ""<br />

Timer1.Enabled = False<br />

End Sub<br />

Private Sub btnRechercher_Click()<br />

btnGo_Click<br />

End Sub<br />

Private Sub Command1_Click()<br />

Dim mothebreu$<br />

mothebreu = txtHebreu.Text<br />

mothebreu = StrReverse(mothebreu)<br />

If Left(mothebreu, 1) = "m" Then<br />

mothebreu = "M" & Mid(mothebreu, 2, Len(mothebreu))<br />

ElseIf Left(mothebreu, 1) = "k" Then<br />

mothebreu = "n" & Mid(mothebreu, 2, Len(mothebreu))<br />

ElseIf Left(mothebreu, 1) = "k" Then<br />

mothebreu = "N" & Mid(mothebreu, 2, Len(mothebreu))<br />

ElseIf Left(mothebreu, 1) = "p" Then<br />

mothebreu = "P" & Mid(mothebreu, 2, Len(mothebreu))<br />

ElseIf Left(mothebreu, 1) = "u" Then<br />

mothebreu = "U" & Mid(mothebreu, 2, Len(mothebreu))<br />

End If<br />

txtHebreu.Text = mothebreu<br />

End Sub<br />

Private Sub Form_Load()<br />

Command1.Visible = False<br />

btnAjouter.Visible = False<br />

mnuConsultation.Checked = True<br />

'<strong>Microsoft</strong> Agent robby<br />

'Agent.Characters.Load "robby", DATAPATH<br />

'Set robby = Agent.Characters("robby")<br />

'robby.LanguageID = &H40C<br />

'Dim c<br />

'c = robby.MoveTo(640, 200)<br />

'robby.Show<br />

'robby.Play ("GetAttention")<br />

'robby.Think ("Bonjour, Je suis Robby. Je vous lirai les passages que vous souhaitez. Pour<br />

cela, cliquez moi, ou pressez F2")<br />

End Sub<br />

Private Sub Image2_Click()<br />

Dim erreur<br />

'If txtPrononciation.Text "" Then

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

Saved successfully!

Ooh no, something went wrong!