LE + SIMPLE, DES CONVERTISSEUR TEXTE VERS ASCII (EN 12 LIGNES !)
cs_Kirua
Messages postés3006Date d'inscriptiondimanche 14 avril 2002StatutMembreDernière intervention31 décembre 2008
-
7 déc. 2002 à 02:16
cs_Urgo
Messages postés780Date d'inscriptionlundi 16 décembre 2002StatutMembreDernière intervention16 avril 2009
-
2 mai 2003 à 19:00
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
cs_Urgo
Messages postés780Date d'inscriptionlundi 16 décembre 2002StatutMembreDernière intervention16 avril 20091 2 mai 2003 à 19:00
lol le menteur ! Y'a au moins 20 lignes !
Pour avoir menti : 1/10
cs_Kirua
Messages postés3006Date d'inscriptiondimanche 14 avril 2002StatutMembreDernière intervention31 décembre 2008 8 déc. 2002 à 14:41
hmmm, pas convaincu ;)
OverDarck
Messages postés116Date d'inscriptionjeudi 12 juillet 2001StatutMembreDernière intervention23 juin 2005 7 déc. 2002 à 18:13
12lignes :
1 Dim I As Long
2 Text2.Text = vbNullString
3 If Check1.Value = 1 Then
4 For I = 0 To Len(Text1.Text) - 2
5 Text2.Text = Text2.Text & "Chr(" & Asc(Mid(Text1.Text, I + 1, 1)) & ") "
6 Next I
7 Text2.Text = Text2.Text & "Chr(" & Asc(Right(Text1.Text, 1)) & ")"
8Else
9 For I = 0 To Len(Text1.Text) - 1
10 Text2.Text = Text2.Text & Asc(Mid(Text1.Text, I + 1, 1)) & " "
11 Next I
12 End If
celle la ne compte pas....
13 End
14 If KeyAscii = vbKeyReturn Then Call Command1_Click
et le reste c'est lheader.
ca qui nous fait bien 12 ligne
et si tu le simpli + tu peut faire sa en juste 3 ligne
cs_blabla
Messages postés112Date d'inscriptionmercredi 28 août 2002StatutMembreDernière intervention13 mars 2004 7 déc. 2002 à 11:32
arf .. pk pas metre un .zip ?
cs_Kirua
Messages postés3006Date d'inscriptiondimanche 14 avril 2002StatutMembreDernière intervention31 décembre 2008 7 déc. 2002 à 02:16
2 mai 2003 à 19:00
Pour avoir menti : 1/10
8 déc. 2002 à 14:41
7 déc. 2002 à 18:13
1 Dim I As Long
2 Text2.Text = vbNullString
3 If Check1.Value = 1 Then
4 For I = 0 To Len(Text1.Text) - 2
5 Text2.Text = Text2.Text & "Chr(" & Asc(Mid(Text1.Text, I + 1, 1)) & ") "
6 Next I
7 Text2.Text = Text2.Text & "Chr(" & Asc(Right(Text1.Text, 1)) & ")"
8Else
9 For I = 0 To Len(Text1.Text) - 1
10 Text2.Text = Text2.Text & Asc(Mid(Text1.Text, I + 1, 1)) & " "
11 Next I
12 End If
celle la ne compte pas....
13 End
14 If KeyAscii = vbKeyReturn Then Call Command1_Click
et le reste c'est lheader.
ca qui nous fait bien 12 ligne
et si tu le simpli + tu peut faire sa en juste 3 ligne
7 déc. 2002 à 11:32
7 déc. 2002 à 02:16