Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
ng
Salut,
Soit 3 TextBoxes Text1, Text2, Text3 et un CommandButton Command1.
Private Sub Command1_Click() If Right$(Text1.Text, 1) = "" Then Text3.Text = Text1.Text & Text2.Text Else Text3.Text = Text1.Text & "" & Text2.Text End If End Sub
-- 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/
PHIL wrote:
Bonjour,
j'ai une zone de texte ou j'ai le chemin d'un fichier, et une autre zone de texte ou j'ai le fichier.
c'est a dire, dans lapremière zone de texte,j'ai c:winntdossier et dans la second zone de texte j'ai: test1.xls
je voudrai créer une troisième zone de texte ou j'aurai: C:winntdossiertest1.xls
assembler les deux au fait.
quelqu'un pourrait t'il me dire comment faire.?
merci
Salut,
Soit 3 TextBoxes Text1, Text2, Text3 et un CommandButton Command1.
Private Sub Command1_Click()
If Right$(Text1.Text, 1) = "" Then
Text3.Text = Text1.Text & Text2.Text
Else
Text3.Text = Text1.Text & "" & Text2.Text
End If
End Sub
--
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/
PHIL wrote:
Bonjour,
j'ai une zone de texte ou j'ai le chemin d'un fichier,
et une autre zone de texte ou j'ai le fichier.
c'est a dire, dans lapremière zone de texte,j'ai c:winntdossier
et dans la second zone de texte j'ai: test1.xls
je voudrai créer une troisième zone de texte ou j'aurai:
C:winntdossiertest1.xls
Soit 3 TextBoxes Text1, Text2, Text3 et un CommandButton Command1.
Private Sub Command1_Click() If Right$(Text1.Text, 1) = "" Then Text3.Text = Text1.Text & Text2.Text Else Text3.Text = Text1.Text & "" & Text2.Text End If End Sub
-- 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/
PHIL wrote:
Bonjour,
j'ai une zone de texte ou j'ai le chemin d'un fichier, et une autre zone de texte ou j'ai le fichier.
c'est a dire, dans lapremière zone de texte,j'ai c:winntdossier et dans la second zone de texte j'ai: test1.xls
je voudrai créer une troisième zone de texte ou j'aurai: C:winntdossiertest1.xls