Bonjour,
je voudrais récupérer l'image par rapport un list de jeux nds, il y a certains qui sont pas encore image. mon problème c'est la langue qui change par rapport de ID du jeu.
exemple dans gametdb.com : https://www.gametdb.com/DS/A22E
dans l'image à droite la langue change par rapport ID du jeu : https://art.gametdb.com/ds/box/US/A22E.png
je voudrais savoir par rapport quel langue qui correspond avec ID du jeux?
mon code :
voici en image ce que ça donne :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 Private langue As String() = New String() {"US", "ES", "JA", "EN", "KO"} If PictureBox1 IsNot Nothing Then For Each s As String In langue Dim data As String = "https://art.gametdb.com/ds/box/" & s & "/" & ID & ".png" If data.Length > 0 Then PictureBox1.LoadAsync("https://art.gametdb.com/ds/box/" & s & "/" & ID & ".png") Exit For Else PictureBox1.Image = My.Resources._error Exit For End If Next End If
merci ' avance pour votre aide![]()
Partager