Link to home
Start Free TrialLog in
Avatar of servodude
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:\Graphics\AnimatedArrow.gif")
        PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage

In CE I get an error:  'From File' is not a member of 'System.Drawing.Image'

Any suggestions?

Avatar of tsay
tsay

Are you sure that fromfile path is correct? On your smart device you can go to "c:\graphics\" ?
ASKER CERTIFIED SOLUTION
Avatar of tsay
tsay

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of servodude

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.