"pascal" a écrit dans le message de news:uqj%23OJ$
j'ai un soucis,
je lis un tableau avec ce code :
Text1.Text = " " Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes"
For Each elements In Tableau
Text1.Text = Text1.Text & elements & vbLf
Next
au lieu d' obtenir :
Il y a actuellement 3 antidotes AMOXINE AMOXICILLINE PENICILLINUM
j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM
que faire ?
pascal
j'ai essayé mais idem, pareil avec avec les Chr... "marc.portella" a écrit dans le message de news:c9vo7s$mtl$
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" a écrit dans le message de news:uqj%23OJ$ > j'ai un soucis, > > je lis un tableau avec ce code : > > > Text1.Text = " " > Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes" > > For Each elements In Tableau > > Text1.Text = Text1.Text & elements & vbLf > > Next > > au lieu d' obtenir : > > Il y a actuellement 3 antidotes > AMOXINE > AMOXICILLINE > PENICILLINUM > > j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM > > que faire ? > >
j'ai essayé mais idem, pareil avec avec les Chr...
"marc.portella" <marc.portella@wanadoo.fr> a écrit dans le message de
news:c9vo7s$mtl$1@news-reader1.wanadoo.fr...
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" <d.pascal@wanadoo.fr> a écrit dans le message de
news:uqj%23OJ$SEHA.3872@TK2MSFTNGP10.phx.gbl...
> j'ai un soucis,
>
> je lis un tableau avec ce code :
>
>
> Text1.Text = " "
> Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes"
>
> For Each elements In Tableau
>
> Text1.Text = Text1.Text & elements & vbLf
>
> Next
>
> au lieu d' obtenir :
>
> Il y a actuellement 3 antidotes
> AMOXINE
> AMOXICILLINE
> PENICILLINUM
>
> j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM
>
> que faire ?
>
>
j'ai essayé mais idem, pareil avec avec les Chr... "marc.portella" a écrit dans le message de news:c9vo7s$mtl$
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" a écrit dans le message de news:uqj%23OJ$ > j'ai un soucis, > > je lis un tableau avec ce code : > > > Text1.Text = " " > Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes" > > For Each elements In Tableau > > Text1.Text = Text1.Text & elements & vbLf > > Next > > au lieu d' obtenir : > > Il y a actuellement 3 antidotes > AMOXINE > AMOXICILLINE > PENICILLINUM > > j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM > > que faire ? > >
David
Bonjour,
Et en +, mettre MultiLine à TRUE.
a+ Jean-Pol DAVID www.peintures-david.com ICQ 28394733 -- Quis ? Quid ? Ubi ? Quibus auxiliis ? Cur ? Quomodo ? Quando ? "marc.portella" a écrit dans le message de news: c9vo7s$mtl$
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" a écrit dans le message de news:uqj%23OJ$ > j'ai un soucis, > > je lis un tableau avec ce code : > > > Text1.Text = " " > Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes" > > For Each elements In Tableau > > Text1.Text = Text1.Text & elements & vbLf > > Next > > au lieu d' obtenir : > > Il y a actuellement 3 antidotes > AMOXINE > AMOXICILLINE > PENICILLINUM > > j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM > > que faire ? > >
Bonjour,
Et en +, mettre MultiLine à TRUE.
a+
Jean-Pol DAVID
www.peintures-david.com
ICQ 28394733
--
Quis ? Quid ? Ubi ? Quibus auxiliis ? Cur ? Quomodo ? Quando ?
"marc.portella" <marc.portella@wanadoo.fr> a écrit dans le message de news:
c9vo7s$mtl$1@news-reader1.wanadoo.fr...
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" <d.pascal@wanadoo.fr> a écrit dans le message de
news:uqj%23OJ$SEHA.3872@TK2MSFTNGP10.phx.gbl...
> j'ai un soucis,
>
> je lis un tableau avec ce code :
>
>
> Text1.Text = " "
> Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes"
>
> For Each elements In Tableau
>
> Text1.Text = Text1.Text & elements & vbLf
>
> Next
>
> au lieu d' obtenir :
>
> Il y a actuellement 3 antidotes
> AMOXINE
> AMOXICILLINE
> PENICILLINUM
>
> j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM
>
> que faire ?
>
>
a+ Jean-Pol DAVID www.peintures-david.com ICQ 28394733 -- Quis ? Quid ? Ubi ? Quibus auxiliis ? Cur ? Quomodo ? Quando ? "marc.portella" a écrit dans le message de news: c9vo7s$mtl$
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" a écrit dans le message de news:uqj%23OJ$ > j'ai un soucis, > > je lis un tableau avec ce code : > > > Text1.Text = " " > Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes" > > For Each elements In Tableau > > Text1.Text = Text1.Text & elements & vbLf > > Next > > au lieu d' obtenir : > > Il y a actuellement 3 antidotes > AMOXINE > AMOXICILLINE > PENICILLINUM > > j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM > > que faire ? > >
ng
Salut,
Verifie ton Multiline = True, de plus on n'est pas sous Unix, sous Windows le retour à la ligne c'est vbCrLf (Chr$(13) & Chr$(10))
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/ http://apisvb.europe.webmatrixhosting.net/
marc.portella a écrit :
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" a écrit dans le message de news:uqj%23OJ$
j'ai un soucis,
je lis un tableau avec ce code :
Text1.Text = " " Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes"
For Each elements In Tableau
Text1.Text = Text1.Text & elements & vbLf
Next
au lieu d' obtenir :
Il y a actuellement 3 antidotes AMOXINE AMOXICILLINE PENICILLINUM
j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM
que faire ?
Salut,
Verifie ton Multiline = True, de plus on n'est pas sous Unix, sous Windows
le retour à la ligne c'est vbCrLf (Chr$(13) & Chr$(10))
--
Nicolas G.
FAQ VB : http://faq.vb.free.fr
API Guide : http://www.allapi.net
Google Groups : http://groups.google.fr/
MZ-Tools : http://www.mztools.com/
http://apisvb.europe.webmatrixhosting.net/
marc.portella <marc.portella@wanadoo.fr> a écrit :
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" <d.pascal@wanadoo.fr> a écrit dans le message de
news:uqj%23OJ$SEHA.3872@TK2MSFTNGP10.phx.gbl...
j'ai un soucis,
je lis un tableau avec ce code :
Text1.Text = " "
Text1.Text = "Il y a actuellement " & UBound(Tableau) & "
antidotes"
For Each elements In Tableau
Text1.Text = Text1.Text & elements & vbLf
Next
au lieu d' obtenir :
Il y a actuellement 3 antidotes
AMOXINE
AMOXICILLINE
PENICILLINUM
j'ai Il y a actuellement 3
antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM
Verifie ton Multiline = True, de plus on n'est pas sous Unix, sous Windows le retour à la ligne c'est vbCrLf (Chr$(13) & Chr$(10))
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/ http://apisvb.europe.webmatrixhosting.net/
marc.portella a écrit :
Bonsoir,
A la place de vbLf, je mettrais plutôt vbCrLf..
Bonne soirée.
"pascal" a écrit dans le message de news:uqj%23OJ$
j'ai un soucis,
je lis un tableau avec ce code :
Text1.Text = " " Text1.Text = "Il y a actuellement " & UBound(Tableau) & " antidotes"
For Each elements In Tableau
Text1.Text = Text1.Text & elements & vbLf
Next
au lieu d' obtenir :
Il y a actuellement 3 antidotes AMOXINE AMOXICILLINE PENICILLINUM
j'ai Il y a actuellement 3 antidotes|AMOXINE|AMOXICILLINE|PENICILLINUM