Comment avoir le chemin d'un fichier dans un text box
Résolu/Fermé
r4944
Messages postés
122
Date d'inscription
vendredi 2 octobre 2015
Statut
Membre
Dernière intervention
3 mars 2017
-
Modifié par r4944 le 29/02/2016 à 22:38
r4944 Messages postés 122 Date d'inscription vendredi 2 octobre 2015 Statut Membre Dernière intervention 3 mars 2017 - 1 mars 2016 à 15:35
r4944 Messages postés 122 Date d'inscription vendredi 2 octobre 2015 Statut Membre Dernière intervention 3 mars 2017 - 1 mars 2016 à 15:35
A voir également:
- Comment avoir le chemin d'un fichier dans un text box
- Fichier rar - Guide
- Comment réduire la taille d'un fichier - Guide
- Comment ouvrir un fichier epub ? - Guide
- Comment ouvrir un fichier docx ? - Guide
- Fichier host - Guide
1 réponse
Pllugy
Messages postés
4
Date d'inscription
mardi 1 mars 2016
Statut
Membre
Dernière intervention
1 mars 2016
1 mars 2016 à 04:22
1 mars 2016 à 04:22
Bonjour,
Je crois ne pas très bien avoir compris, mais j'ai réaliser ceci.
Aaron.
Je crois ne pas très bien avoir compris, mais j'ai réaliser ceci.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Excel As New OpenFileDialog
Excel.Filter = "Excel Filer .xls|*.xls"
If Excel.ShowDialog() = 1 Then
TextBox1.Text = Excel.FileName
Else
End If
End Sub
End Class
Aaron.
1 mars 2016 à 15:18
je l'ai essayé j'ai eu un erreur type mismatch
1 mars 2016 à 15:31
Tu as une erreur à quelle niveau ?
Aaron
1 mars 2016 à 15:35