Bonjour,
mon code :
mon erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 Dim regex As New Regex("\[download\] +([^%]+)%", (RegexOptions.Singleline Or RegexOptions.Compiled)) Dim match As String = regex.Match(Me.TextBox_Info.Text).Value.Replace("[download] ", "") If TextBox_Info.Text.Contains("%") Then 'ProgressBar1.Value = match.ToString ProgressBar1.Value = CType(match.ToString.Replace("%", ""), Integer) Me.Label4.Text = match.ToString End If
comment on fait pour associer les pourcentages avec progressbar1?
Merci de votre compréhension,
Partager