Imports System.IO Imports System.Net Public Class Form194 Private Sub Form194_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim lines1a() As String = File.ReadAllLines(théme) If lines1a(0) = 2 Then Me.BackColor = Color.FromArgb(64, 64, 64) Label1.BackColor = Color.FromArgb(64, 64, 64) Label1.ForeColor = Color.White ElseIf lines1a(0) = 3 Then Me.BackColor = Color.FromArgb(Form1.colorbackA, Form1.colorbackR, Form1.colorbackG, Form1.colorbackB) Label1.BackColor = Color.FromArgb(Form1.colorbackA, Form1.colorbackR, Form1.colorbackG, Form1.colorbackB) Label1.ForeColor = Color.FromArgb(Form1.themeforecoloA, Form1.themeforecoloR, Form1.themeforecoloG, Form1.themeforecoloB) Else End If Try Text = "Information de: " & playliststore.ListBox8.SelectedItem Dim lines4() As String = File.ReadAllLines(compteco) Dim maj As New WebClient Dim vri As String = maj.DownloadString(ipsite & "/utilisateur/" & lines4(0) & "/playlist/" & playliststore.ListBox8.SelectedItem & "/info2.txt") Label1.Text = vri Catch ex As Exception Timer1.Start() End Try End Sub Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick Timer1.Stop() Try Dim lines4() As String = File.ReadAllLines(compteco) Dim maj As New WebClient Dim vri As String = maj.DownloadString(ipsite & "/utilisateur/" & lines4(0) & "/playlist/" & playliststore.ListBox8.SelectedItem & "/info2.txt") Label1.Text = vri Catch ex As Exception Timer1.Start() End Try End Sub Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click MsgBox(Label1.Text, MsgBoxStyle.Information, "information de: " & playliststore.ListBox8.SelectedItem) End Sub End Class