Thanks, but another problem came up:
it tells me that I need ti initialize my ImageList.