Thank you for this video, really well done! I'm in school for software development and this video expertly explains the steps needed to create a slideshow of images while using a timer. Thank you so much!
@notforyou3122 Жыл бұрын
He is not disposing the image which is causing a memory leak, this will lead to a memory overflow exception. Make sure you dispose the picturebox image before you update it.
@stairwayblue79474 жыл бұрын
You're a genius! Thank you so much!
@LROYAIRSOFT Жыл бұрын
Just Click the picturbox and set image to zoom
@mmaranta7853 жыл бұрын
Great tip about hitting Tab for if statements
@tempname40394 жыл бұрын
Very clear and useful - thanks.
@dr.jagdishthacker60853 жыл бұрын
very nice Thanks a lot
@nefgeu2 жыл бұрын
Whats happening with the process memory there?
@tirolocomcleod4 жыл бұрын
How would I make the program loop only 3 times and then stop?
@oleksandrkravets37572 жыл бұрын
Hello, this is interesting. I wonder why the Memory increases while the program is running?
@MrHVids2 жыл бұрын
Add if (pictureBox1.Image != null) { pictureBox1.Image.Dispose(); } at the start of the code to stop the memory leak
@karolinabadzioch17884 жыл бұрын
Can you help me? I did everything like you on this video and I think that my code is correct, but I have an error: An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll. I don't know what should I do in this situation :(
@eugenesmirnov8068 ай бұрын
How do you stop a timer?Everything I tried does not stop it.
@MrHVids7 ай бұрын
See 3:25 Timers have an enable property. If you set Timer1.enabled=False then the timer will stop
@studio.teiba14 жыл бұрын
How would i stop it from looping? So it only goes through the list once?
@MrHVids4 жыл бұрын
Line 26 - Instead of setting the intImgNum back to 0, you would stop the timer
@kimberlysg73744 жыл бұрын
Me estas salvando el parcial :)
@vechl2 жыл бұрын
Thank you so much
@holaquetal04115 жыл бұрын
thank you so much for the video.
@iampro_grammer59174 жыл бұрын
How To display that images randomly in the picturebox ??
@TonyHall714 жыл бұрын
You could generate a random number between 0 and the number of images inside of the tmrChangeImage_tick and just show that image
@DavidTeixeirasin5 жыл бұрын
add if (pictureBox1.Image != null) { pictureBox1.Image.Dispose(); } at the begin of all his code under the tick otherwise you memory will leak