mayusconverter by al-haker
Publicado: 16 Ago 2009, 23:51
es una tontera que se me ocurrió hacer ,hace un rato me avia puesto como sub nick esto :
saludos
y ami me gusta poner esas frases para msn asi :"c q 1 dia t dig q ja+ iva a olvidart pro no,no kreo n el amor,simplmnt asi soy y s q + q curar stas drogas solo logran nfermar"
y para no estar cambiando mayúscula/minúscula hice este programita y lo comparto con ustedes . tan bien les dejo el source :C Q 1 DiA T DiG Q Ja+ IvA A OlViDaRt pRo nO,No kReO N El aMoR,SiMpLmNt aSi sOy y s q + q cUrAr sTaS DrOgAs sOlO LoGrAn nFeRmAr
Código: Seleccionar todo
Private Sub Command1_Click()
Dim i As Integer, temp As String, total As String
Dim texto As String, si As Boolean
texto = Trim(Text1.Text)
si = True
For i = 1 To Len(texto)
temp = Mid(texto, i, 1)
If si = True Then
si = False
If UCase(temp) = temp Then
temp = LCase(temp)
Else
temp = UCase(temp)
End If
Else
si = True
End If
total = total & temp
temp = ""
Next i
Text1.Text = total
End Sub