Hi Kruti_Shukla,
Base on my understanding of your post, you want to compile all these files into a single EXE file. The EXE file can be copied to different computer and run immediately. I don’t know how you create the ImageList. If you create all the image in your ImageList using Image.FromFile, you cannot build these image files into EXE. If you do that, the path is invalid and the image won’t be found.
I think you don’t need to make a single EXE file. What you want to do is make a normal EXE and put all the image files in the same folder as EXE file’s. Using
to create each image in your ImageList. When you copy the folder to another computer, it can be run immediately without being installated.
If I misunderstood something, please feel free to tell me.
Sincerely,
Kira Qian