servodude
asked on
Animated Gif in VB.Net for a Windows CE Application
Okay, now I know how to put in an animated gif into a Windows application. Now how do I go about putting it in a CE application?
PictureBox1.Image = Image.FromFile("C:\Graphic s\Animated Arrow.gif" )
PictureBox1.SizeMode = PictureBoxSizeMode.Stretch Image
In CE I get an error: 'From File' is not a member of 'System.Drawing.Image'
Any suggestions?
PictureBox1.Image = Image.FromFile("C:\Graphic
PictureBox1.SizeMode = PictureBoxSizeMode.Stretch
In CE I get an error: 'From File' is not a member of 'System.Drawing.Image'
Any suggestions?
Are you sure that fromfile path is correct? On your smart device you can go to "c:\graphics\" ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had to leave for a while; sorry for the delay in getting back to you.
I will try the above soon. Even though it doesn't specifically name animated gifs (just images), this should work for all images -- including animated images.
Thank you for the link. It sounds promising. I will close this question now.
I will try the above soon. Even though it doesn't specifically name animated gifs (just images), this should work for all images -- including animated images.
Thank you for the link. It sounds promising. I will close this question now.