Buenas, bueno tengo una pequeña duda, la cosa és, hacer la tabla entera de las CHR , todo el abecedario, y hacer un sofware, que lea sílaba por sílaba el texbox, y la balla combirtiendo en CHR, ahora bien, como hago para averiguar el número de sílabas escritas en el texbox, luego, me imagino que será un bucle que lea todas las letras en plan:
Next i To text1.numerodesílabas
If text1.text = a Then
Text2.text = Chr(97)
End if
if text1.text = b Then.....
next i
y así con toda la palabra, pero no tengo ni idea de cómo hacer sílaba por sílaba el texbox....
Saludos
PD: Una solución temporal es:
Private Sub Text1_KeyPress(KeyAscii As Integer)
Label1.Caption = Label1.Caption + 1
End Sub
y el label1.caption será el numero de sílabas escritas.. claro que si borras pues ya no funciona, pero como dije, es temporal !
Pero siguo sin saber, como dividir la palabra en ese numero de sílabas
PS2: Solución temporal
Private Sub Text1_KeyPress(KeyAscii As Integer)
If Text1.Text = "a" Then
Text2.Text = "ESCRIBIO A"
End If
If Text1.Text = "b" Then
Text2.Text = "ESCRIBIO B "
End If
End Sub
Saludos
Última edición por Xpro el 12 Jul 2009, 20:21, editado 1 vez en total.

http://img844.imageshack.us/img844/8088/mujerrara.jpg
http://img715.imageshack.us/img715/5813/tigree.png
http://img830.imageshack.us/img830/6484/camaleon.png
http://img839.imageshack.us/img839/4944/tigrev2.jpg
http://img843.imageshack.us/img843/443/spidermanxn.png
http://www.youtube.com/watch?v=wHYYkciIKE0