

, you'll need to match iamge with image.. although some ases there are exception, but in this case theres not.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Me.BackgroundImage = GetImage("C:\Users\Jorndel\Desktop\LoL BattleCon", "Annie_E")
End Sub
Function GetImage(ByVal Path As String, ByVal FileName As String) As Image
For Each Fi As String In System****.Directory.GetFiles(Path)
If Fi.Contains(FileName) Then
Return Image.FromFile(Fi)
End If
Next
End Function